Multi-node system host-lock failed after swact during initial setup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
High
|
Teresa Ho |
Bug Description
Brief Description
-----------------
During lab setup period, host-swact to controller-1, then try to host-lock controller-0, but failed
Severity
--------
Critical
Steps to Reproduce
------------------
as description
....
TC-name: installation
Expected Behavior
------------------
controller-0 was locked successfully
Actual Behavior
----------------
controller-0 is always in unlock status
Reproducibility
---------------
Reproducible
10/10
System Configuration
-------
Multi-node system
Lab-name: WCP_99-103
Branch/Pull Time/Commit
-------
stx master as of 20190415T233001Z
Last Pass
---------
20190410T013000Z
Timestamp/Logs
--------------
[2019-04-16 07:48:12,039] 262 DEBUG MainThread ssh.send :: Send 'system --os-endpoint-type internalURL --os-region-name RegionOne host-swact controller-0'
[2019-04-16 07:49:35,183] 262 DEBUG MainThread ssh.send :: Send 'system --os-endpoint-type internalURL --os-region-name RegionOne host-lock controller-0'
[2019-04-16 07:49:37,528] 387 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
| availability | available |
[2019-04-16 07:50:23,355] 1315 WARNING MainThread host_helper.
[2019-04-16 07:50:23,356] 423 DEBUG MainThread ssh.exec_cmd:: Executing command...
[2019-04-16 07:50:23,356] 262 DEBUG MainThread ssh.send :: Send 'system --os-endpoint-type internalURL --os-region-name RegionOne host-show controller-0'
[2019-04-16 07:50:24,598] 387 DEBUG MainThread ssh.expect :: Output:
+------
| Property | Value |
+------
| action | none |
| administrative | unlocked |
[wrsroot@
+----+-
| id | hostname | personality | administrative | operational | availability |
+----+-
| 1 | controller-0 | controller | unlocked | enabled | available |
| 2 | controller-1 | controller | unlocked | enabled | available |
| 3 | compute-0 | worker | unlocked | enabled | available |
| 4 | compute-1 | worker | unlocked | enabled | available |
| 5 | compute-2 | worker | unlocked | enabled | available |
+----+-
[wrsroot@
Tue Apr 16 14:05:29 UTC 2019
Test Activity
-------------
installation
we are hitting the same issue in a standard controller configuration (2+2).
Also, it's not possible to lock controller-0, after system host-lock controller-0 the always shows:
[wrsroot@ controller- 1 ~(keystone_admin)]$ system host-show controller-0 | grep administrative
| administrative | unlocked |