Skip to content

Commit

Permalink
Fix rpc control_exchange regression.
Browse files Browse the repository at this point in the history
A change was made in rpc that requires project's to define the
control_exchange option themselves.  This was so the project's could
set their own default value.  This change has made it in to nova without
adding the control_exchange option, meaning that it is using the default
of 'openstack', potentially conflicting with other projects.

See https://review.openstack.org/#/c/12518/

Fix bug 1083944.

Change-Id: Ifc00a537c4ee327cbee91fe1d911f8c402e350b7
  • Loading branch information
russellb committed Nov 30, 2012
1 parent b55014c commit 670b388
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions nova/flags.py
Expand Up @@ -425,6 +425,9 @@ def _get_my_ip():
'include: libvirt.LibvirtDriver, xenapi.XenAPIDriver, '
'fake.FakeDriver, baremetal.BareMetalDriver, '
'vmwareapi.VMWareESXDriver'),
cfg.StrOpt('control_exchange',
default='nova',
help='AMQP exchange to connect to if using RabbitMQ or Qpid'),
]

FLAGS.register_opts(global_opts)

0 comments on commit 670b388

Please sign in to comment.