Fix nova config parsing
Change-Id: Iafa3cdc2a83ccc5deb13a0718c96cf1a876d5e96 Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
d78e202b58
commit
5009e425f3
@ -20,6 +20,7 @@
|
|||||||
import os
|
import os
|
||||||
|
|
||||||
from nova import flags
|
from nova import flags
|
||||||
|
from nova import config
|
||||||
|
|
||||||
from ceilometer.openstack.common import cfg
|
from ceilometer.openstack.common import cfg
|
||||||
from ceilometer.openstack.common import context
|
from ceilometer.openstack.common import context
|
||||||
@ -78,5 +79,5 @@ def prepare_service(argv=[]):
|
|||||||
# to have the RPC and DB access work correctly because we are
|
# to have the RPC and DB access work correctly because we are
|
||||||
# still using the Service object out of nova directly. We need to
|
# still using the Service object out of nova directly. We need to
|
||||||
# move that into openstack.common.
|
# move that into openstack.common.
|
||||||
flags.parse_args(_sanitize_cmd_line(argv))
|
config.parse_args(_sanitize_cmd_line(argv))
|
||||||
log.setup('ceilometer')
|
log.setup('ceilometer')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user