Revert "Fail if the Overcloud inventory is empty"
This reverts commit773bef1c7a
. The reverted commit made the inventory fail if there was no overcloud deployed. However, the inventory is also used a lot in cases with no overcloud (many validations for instance). Change-Id: I19a4e02d25037f54c2449396ea84492b49555fd6 (cherry picked from commitd96473bb3b
)
This commit is contained in:
parent
c6f61b2a44
commit
4f1fabaea8
|
@ -135,13 +135,6 @@ def main():
|
|||
ansible_ssh_user=configs.ansible_ssh_user,
|
||||
plan_name=configs.stack or configs.plan)
|
||||
|
||||
if inventory.get_overcloud_environment() == {}:
|
||||
print("Error, the environment data can not "
|
||||
"be empty '{}', please check that the --stack "
|
||||
"or the --plan options are configured correctly "
|
||||
"and if they correspond to the stack name.")
|
||||
sys.exit(1)
|
||||
|
||||
if configs.list or configs.static_inventory:
|
||||
try:
|
||||
inventory_list = inventory.list()
|
||||
|
|
Loading…
Reference in New Issue