Re-install host failed after http port changed
After changing the http port, reinstall a host will fail, and it requires delete/add the host to recover. This problem 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. This update sets the configure_required flag when the host is reinstalled. Closes-Bug: 1815495 Change-Id: Ie4f8206f93370ce4555bce9d53879b784200ba14 Signed-off-by: Tao Liu <tao.liu@windriver.com>
This commit is contained in:
parent
c34dcbb2da
commit
a6d71ae50e
@ -1,2 +1,2 @@
|
||||
SRC_DIR="sysinv"
|
||||
TIS_PATCH_VER=299
|
||||
TIS_PATCH_VER=300
|
||||
|
@ -4815,6 +4815,7 @@ class HostController(rest.RestController):
|
||||
"Please wait for this host's availability state "
|
||||
"to be 'online' and then re-issue the reinstall "
|
||||
"command." % hostupdate.displayid))
|
||||
hostupdate.configure_required = True
|
||||
|
||||
def check_unlock(self, hostupdate, force_unlock=False):
|
||||
"""Check semantics on host-unlock."""
|
||||
|
Loading…
Reference in New Issue
Block a user