Re-install host failed after the http port is changed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
StarlingX |
Fix Released
|
Medium
|
Tao Liu |
Bug Description
Title
-----
Re-install host failed after http port is changed
Brief Description
-----------------
After changing the http port, reinstall a host will fail, and it requires delete/add the host to recover.
Severity
--------
Critical: System/Feature is not usable after the defect
Steps to Reproduce
------------------
system service-
system service-
Wait for the alarm to be cleared on all hosts
system host-lock compute-1
System host-reinstall compute-1
Expected Behavior
------------------
Compute-1 should be reinstalled successfully
Actual Behavior
----------------
Compute-1 failed to reinstall
Reproducibility
---------------
100%
System Configuration
-------
Two controller + Two compute
Branch/Pull Time/Commit
-------
master, Feb 11 11:30
Timestamp/Logs
--------------
system host-list
+----+-
| 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 |
| 7 | compute-1 | worker | locked | disabled | offline |
+----+-
tags: |
added: stx.2.0 removed: stx.2019.05 |
This issue is due to reinstall does not update the pxeboot config file until a unlock action is performed; consequently the boot parameter is not updated with the new port number.
The proposed fix is to set the configure_required flag when the host is reinstalled.