nova-compute is marked as down after management VIP migration
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mirantis OpenStack |
Fix Released
|
High
|
Roman Podoliaka | ||
6.0.x |
Invalid
|
High
|
Alexey Stupnikov | ||
6.1.x |
Fix Released
|
High
|
Roman Podoliaka | ||
7.0.x |
Fix Released
|
High
|
Roman Podoliaka |
Bug Description
Fuel version info (6.1 build #386): http://
After deletion of management VIP on one of controllers it migrated to another one, but 'nova-compute' on one compute node was marked as down and OSTF test 'Check that required services are running' failed:
Here is the part of nova-scheduler logs and output of service-list command:
http://
http://
Seems nova-compute on node-4 was unable to re-connect to RabbitMQ after VIP migration:
http://
Steps to reproduce:
1. Deploy environment: CentOS, NovaDHCP, CinderLVM, 3 controllers, 2 computes
2. Delete 10 time public and management VIPs ('ip netns exec {0} ip addr del {1} dev {2}'.format(
3. Wait while it is being restored
4. Verify it is restored
5. Run OSTF
Expected result:
- all health checks are green
Actual:
- 'Check that required services are running' test failed
After restart of 'nova-compute' on node-4 it became 'up' in services list. Diagnostic snapshot is attached.
Changed in fuel: | |
importance: | Undecided → High |
status: | New → Confirmed |
tags: | added: messaging nova |
no longer affects: | fuel |
summary: |
- Nova-compute is marked as down after management VIP migration + nova-compute is marked as down after management VIP migration |
tags: | added: on-verification |
tags: | added: on-verification |
A known hard to reproduce issue. I once tried to push a workaround upstream - https:/ /review. openstack. org/#/c/ 122471/ 1 , but it wasn't accepted.
I propose we merge it to 6.1 and debug this thoroughly from the oslo.messaging perspective in 7.0 - it looks like messaging may occasionally return None instead of raising a proper exception (maybe it has something to do with order of messages delivery and ending=True hacks in oslo.messaging).