diff options
| author | Matt Dietz <matt.dietz@rackspace.com> | 2012-05-01 17:36:46 +0000 |
|---|---|---|
| committer | Matt Dietz <matt.dietz@rackspace.com> | 2012-05-01 17:38:57 +0000 |
| commit | 995235ac26585b5160bd0ab10cfb5db3fda8310e (patch) | |
| tree | f8926bc2b434876081796de43d013a5e95cfa4c0 | |
| parent | e6b1370d823cdcdb5201152010f0bb27e424b2d3 (diff) | |
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
| -rwxr-xr-x | bin/instance-usage-audit | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
