Ensure controller-0 has right invprovision state
Correct the invprovision state of controller-0 being "provisioned" before the node is actually provisioned. Partial-Bug: 1848355 Change-Id: I42bb8556e623c6fbe6d6651ebb44cc5559975f27 Signed-off-by: Bin Qian <bin.qian@windriver.com>
This commit is contained in:
@@ -895,10 +895,7 @@ def populate_controller_config(client):
|
||||
install_output = get_orig_install_mode()
|
||||
print("Install output = %s" % install_output)
|
||||
|
||||
provision_state = sysinv.HOST_PROVISIONED
|
||||
system_type = CONF.get('BOOTSTRAP_CONFIG', 'SYSTEM_TYPE')
|
||||
if system_type == COMBINED_LOAD:
|
||||
provision_state = sysinv.HOST_PROVISIONING
|
||||
provision_state = sysinv.HOST_PROVISIONING
|
||||
|
||||
values = {
|
||||
'personality': sysinv.HOST_PERSONALITY_CONTROLLER,
|
||||
|
||||
Reference in New Issue
Block a user