From 995235ac26585b5160bd0ab10cfb5db3fda8310e Mon Sep 17 00:00:00 2001 From: Matt Dietz Date: Tue, 1 May 2012 17:36:46 +0000 Subject: 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(+) (limited to 'bin/instance-usage-audit') diff --git a/bin/instance-usage-audit b/bin/instance-usage-audit index d40faa3e1..48ded73cf 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) -- cgit