scale-down/up tripleoclient deployment.py:get_overcloud_hosts() returns list with empty string
Bug #1990566 reported by
John Fulton
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
tripleo |
Fix Released
|
Medium
|
Unassigned |
Bug Description
After scaling down and then adding the same node back to scale up as described in [1] the overcloud deployment fails with the following while enable_ssh_admin ran:
2022-09-22 14:12:22,051 p=75560 u=stack n=ansible | ERROR! Invalid empty host name provided:
Inspection of tripleoclient/
$ cat ./overcloud-
192.168.
$
I.e. there shouldn't be ",," above.
To post a comment you must log in.
Added print statements in the get_overcloud_ hosts() function [1] showed that
The get_role_ net_ip_ map() function returned something like this
[{'ctlplane': ['192.168.34.89', '', '192.168.34.32'],
'internal_api': ['172.25.2.249', '', '172.25.2.66'],
'storage': ['172.23.2.169', '', '172.23.2.34'],
'storage_mgmt': ['172.18.2.244', '', '172.18.2.83'],
'tenant': ['172.19.2.176', '', '172.19.2.136']},
{'ctlplane': ['192.168.34.34'],
'internal_api': ['172.25.2.109'],
'storage': ['172.23.2.244'],
'storage_mgmt': ['172.18.2.24'],
'tenant': ['172.19.2.148']}]
Does the scaled down node (with provisioned:false) have an entry with no value?
[1] https:/ /github. com/openstack/ python- tripleoclient/ blob/master/ tripleoclient/ workflows/ deployment. py#L83