From 0e9518e9a9ce46602a3aeae228f1df3ce94c4d65 Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 18 Sep 2012 21:24:14 +0200 Subject: [PATCH] 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 --- ceilometer/service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ceilometer/service.py b/ceilometer/service.py index 628fd45a5..4d16880c0 100644 --- a/ceilometer/service.py +++ b/ceilometer/service.py @@ -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')