[System tests] Need to add tests to check rabbit node kick in case corosync node dies
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Fuel for OpenStack |
Fix Released
|
High
|
Andrey Sledzinskiy | ||
6.0.x |
Invalid
|
Undecided
|
Unassigned |
Bug Description
We need to cover this case https:/
Steps are:
0) deploy any HA environment with 3 controllers;
at some controller node issue "pcs resource unmanage master_
should not kick alive nodes:
1) at the 1st controller, for example node-1, stop corosync service gracefully
2) at master node check the /var/log/
* it should contain info like:
"Got node-1.
...
Preparing to fence node rabbit@node-1 from rabbit cluster
... (within a 1 minute) ...
Ignoring alive node rabbit@node-1"
3) at other (not the node-1, where corosync was stopped) controllers check rabbitmq cluster_status:
* it should contain all 3 rabbit nodes running and mentioned as cluster members
4) teardown:
* start stopped corosync service; restart pacemaker service at the same node
* pcs status should show all 3 nodes online within a 1 minute
should kick failed rabbit node only once:
5) at the 1st controller, for example node-1, issue rabbitmqctl stop_app; and stop
corosync service gracefully
6) at master node check the /var/log/
* some of the controller node's log should contain info like:
"Got node-1.
...
Preparing to fence node rabbit@node-1 from rabbit cluster
... (within a 1 minute) ...
Disconnecting rabbit@node-1
Forgetting cluster node rabbit@node-1"
3) at other (not the node-1, where corosync was stopped) controllers check rabbitmq cluster_status:
* it should contain only 2 rabbit nodes running and mentioned as cluster members (the node-1 should not be listed there)
Changed in fuel: | |
assignee: | Andrey Sledzinskiy (asledzinskiy) → Nastya Urlapova (aurlapova) |
Changed in fuel: | |
assignee: | Nastya Urlapova (aurlapova) → Andrey Sledzinskiy (asledzinskiy) |
Changed in fuel: | |
status: | Fix Committed → Fix Released |
Fix proposed to branch: master /review. openstack. org/173260
Review: https:/