Merge remote-tracking branch 'starlingx/master' into HEAD

Change-Id: Iff393c62ee5d4198d41421d22ca536d4901823ac
Signed-off-by: Scott Little <scott.little@windriver.com>
This commit is contained in:
Scott Little 2019-02-07 12:10:08 -05:00
commit 2a8980bbb0
1 changed files with 4 additions and 1 deletions

View File

@ -3459,11 +3459,14 @@ class NFVIComputeAPI(nfvi.api.v1.NFVIComputeAPI):
self._directory = openstack.get_directory(
config, openstack.SERVICE_CATEGORY.OPENSTACK)
# The name of the listener queue must be prefixed with "notfications."
# to ensure the nova vhost policy matches it and configures it as an
# HA queue.
self._rpc_listener = rpc_listener.RPCListener(
config.CONF['amqp']['host'], config.CONF['amqp']['port'],
config.CONF['amqp']['user_id'], config.CONF['amqp']['password'],
config.CONF['amqp']['virt_host'], "nova", "notifications.info",
'nfvi_nova_listener_queue')
'notifications.nfvi_nova_listener_queue')
self._rpc_listener.add_message_handler(
nova.RPC_MESSAGE_TYPE.NOVA_SERVER_DELETE,