nfv/nfv/nfv-plugins/nfv_plugins/nfvi_plugins/openstack
Bart Wensley 98c30ac431 Improve VIM rabbitmq initialization robustness
While attempting to reproduce a rabbitmq related failure on
an AIO-DX system, I somehow caused a situation where the
rabbitmq pods were running, but were missing some of the nova
queues - specifically, the notifications.info queue was missing.
When the VIM initialized, it attempted to attach a consumer to
this non existent queue, resulting in an exception, which
prevents the VIM from coming up, which causes SM to decide the
host was unhealthy, which resulted in a swact to the other
controller. The same problem happened there, which caused an
endless series of swacts.

The VIM already has code to check whether the nova exchange has
been created in the rabbitmq pod, but it did not catch the case
where the exchange was there, but some of the queues were
missing. This fix updates the VIM to detect this situation and
avoid attempting to create its consumer until the queue has
been created.

Change-Id: Ib5446bd15823cb0e7204ad8d0ff4f37270044c4b
Closes-Bug: 1816766
Signed-off-by: Bart Wensley <barton.wensley@windriver.com>
2019-02-25 07:42:24 -06:00
..
__init__.py StarlingX open source release updates 2018-05-31 07:36:51 -07:00
ceilometer.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
cinder.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
exceptions.py Update VIM to use nova API version 2.53 2018-06-14 13:27:26 -05:00
fm.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
glance.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
guest.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
heat.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
keystone.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
mtc.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
neutron.py Apply NoExecute taint to locked nodes 2019-02-05 14:09:24 -06:00
nova.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
objects.py Fix urllib/unicode related issues for Python 2/3 2019-01-15 19:57:15 +08:00
openstack.py Fix relative import warnings from pylint 2018-12-20 16:54:35 -06:00
openstack_log.py Clean up imports based on flake8 2018-09-20 16:43:28 -05:00
patching.py Add support for containerized keystone to VIM 2018-10-03 08:29:08 -05:00
rest_api.py Fix import(s) related issues for Python 2/3 compatible code. 2019-01-19 01:17:47 +08:00
rpc_listener.py Improve VIM rabbitmq initialization robustness 2019-02-25 07:42:24 -06:00
sysinv.py Kubernetes, VIM label support 2018-11-06 10:25:41 -05:00