STX-OpenStack: After a lock/unlock, "openstack hypervisor list" returns Error 500
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Invalid
|
Low
|
Thales Elero Cervi |
Bug Description
Brief Description
-----------------
After performing a lock/unlock on a controller host, the "openstack hypervisor list" command returned an Error 500
Severity
--------
Major: System/Feature is usable but degraded
Steps to Reproduce
------------------
1. Lock/unlock a host
2. After host is unlocked, send "openstack hypervisor list"
Expected Behavior
------------------
Commands returns the list of hypervisors
Actual Behavior
----------------
Command returns Error 500 - Internal Server Error
Reproducibility
---------------
Seen once
System Configuration
-------
Bare metal AIO-DX
Branch/Pull Time/Commit
-------
/mirror/
Last Pass
---------
Was failing for other reasons before.
Passed in this Sanity run: https:/
Timestamp/Logs
--------------
openstack --os-username 'admin' --os-password 'Li69nux*' --os-project-name admin --os-auth-url http://
Internal Server Error (HTTP 500)
Test Activity
-------------
Feature Testing
Workaround
----------
Wait for a few minutes and the command works again
Changed in starlingx: | |
assignee: | nobody → Thales Elero Cervi (tcervi) |
Changed in starlingx: | |
importance: | Undecided → Low |
What we saw is that this issue happens for a second because the hypervisor is restarting the service.
In order to solve this issue we created a loop structure to retry to run the command if it fails at the first attempt.