From b79043d141b6ae9f2d108a946630f3594a5f25c9 Mon Sep 17 00:00:00 2001 From: Matt Dietz Date: Tue, 1 May 2012 17:36:46 +0000 Subject: [PATCH] A previous patch decoupled the RPC drivers from the nova.flags, breaking instance audit usage in the process. This configures the instance audit usage to configure the RPC drivers properly with FLAGS so that the job can run. Change-Id: Ia189d18d7b25a839de67439ccd363103c5af2f8f --- bin/instance-usage-audit | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bin/instance-usage-audit b/bin/instance-usage-audit index d40faa3e..48ded73c 100755 --- a/bin/instance-usage-audit +++ b/bin/instance-usage-audit @@ -55,6 +55,7 @@ from nova import db from nova import exception from nova import flags from nova import log as logging +from nova import rpc from nova import utils import nova.compute.utils @@ -62,6 +63,7 @@ import nova.compute.utils FLAGS = flags.FLAGS if __name__ == '__main__': + rpc.register_opts(FLAGS) admin_context = context.get_admin_context() utils.default_flagfile() flags.FLAGS(sys.argv)