MTC openstack command failed when standby controller is down
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
chen haochuan |
Bug Description
Brief Description
-----------------
Openstack command 'hypervisor list' is failed when standby controller is down. The failure applies to command 'server list' as well.
Severity
--------
Major
Steps to Reproduce
------------------
1. Reset the standby controller
2. Swact to the failed controller
3. Verify that the swact didn't occur
or
1. All agents are alive and up
2. Launch a vm
3. Reboot active controller node AND wait for reboot complete
TC-name:
test_swact_
or
test_system_
Expected Behavior
-----------------
openstack hypervisor list command is successful
or
openstack server list command is successful
Actual Behavior
----------------
openstack hypervisor list command is failed
or
openstack server list command is failed
Reproducibility
---------------
reproducible
System Configuration
-------
Regular standard 2+2
Lab-name:
wcp_7_10
Branch/Pull Time/Commit
-------
BUILD_ID=
Timestamp/Logs
--------------
[2020-07-22 15:16:29,805] 314 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http ://192.
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | disabled | offline |
| 2 | compute-0 | worker | unlocked | enabled | available |
| 3 | compute-1 | worker | unlocked | enabled | available |
| 4 | controller-1 | controller | unlocked | enabled | available |
+----+-
[2020-07-22 15:16:36,912] 314 DEBUG MainThread ssh.send :: Send 'system --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2020-07-22 15:16:38,559] 436 DEBUG MainThread ssh.expect :: Output:
controller-0 is not enabled and has operational state disabled.Standby controller must be operationally enabled.
[2020-07-22 15:16:53,378] 314 DEBUG MainThread ssh.send :: Send 'openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
[2020-07-22 15:17:04,528] 436 DEBUG MainThread ssh.expect :: Output:
Internal Server Error (HTTP 500)
[2020-07-22 15:27:16,194] 61 DEBUG MainThread conftest.
2565 ***Details: tp = <class 'utils.
Logs of .tar as below,
https:/
Test Activity
-------------
Regression
description: | updated |
description: | updated |
Changed in starlingx: | |
assignee: | yong hu (yhu6) → chen haochuan (martin1982) |
tags: | added: not-yet-in-r-stx40 |
tags: | added: in-r-stx30 |
Issue w/ openstack regression after the rebase to Ussuri; maybe related to the rebase. Marking as stx.4.0 gating for now until further investigation by the distro.openstack team.