Fix nova flag parsing

We need to use parse_args() so the default config file is used.

Change-Id: I7af19d77477e98b8181b1bce3d9cea1e86fca160
Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
Julien Danjou 2012-09-18 21:24:14 +02:00
parent 8229941dcf
commit 0e9518e9a9

View File

@ -35,5 +35,5 @@ def prepare_service(argv=[]):
# to have the RPC and DB access work correctly because we are
# still using the Service object out of nova directly. We need to
# move that into openstack.common.
flags.FLAGS(argv[1:])
flags.parse_args(argv)
log.setup('ceilometer')