nfv/nfv
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
..
centos Merge "replace hardcoded system paths by variables in stx config files" 2018-11-06 19:42:49 +00:00
nfv-client Enable python3 unit testing in zuul for nfv 2019-01-09 09:38:21 -06:00
nfv-common Fix dict related issues for Python 2/3 2019-01-09 18:21:31 +08:00
nfv-debug-tools/histogram_analysis Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfv-plugins Improve VIM rabbitmq initialization robustness 2019-02-25 07:42:24 -06:00
nfv-tests VIM: allow cold migrate and evac with remote_storage label 2019-02-05 09:48:51 -05:00
nfv-tools Cleanup tox alphabetical imports in nfv 2018-12-27 11:55:20 -06:00
nfv-vim Merge "Apply NoExecute taint to locked nodes" 2019-02-05 22:12:16 +00:00
.coveragerc Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
.gitignore Add bugbear to flake8 and cleanup some errors 2018-09-13 14:12:48 -05:00
.stestr.conf Convert NFV unit tests from nose to stestr 2018-09-18 12:56:44 -05:00
PKG-INFO StarlingX open source release updates 2018-05-31 07:36:51 -07:00
pylint.rc Fix import(s) related issues for Python 2/3 compatible code. 2019-01-19 01:17:47 +08:00
test-requirements.txt Fix relative import warnings from pylint 2018-12-20 16:54:35 -06:00
tox.ini Fix import(s) related issues for Python 2/3 compatible code. 2019-01-19 01:17:47 +08:00