16c0193a13
In user config, when choosing host names inspired from containers group names, this will lead in the code to have host_containers to be identical to group_containers. This will eventually lead to unintentially having groups added to itselves in the inventory which will lead to unending recursion loop in the dynamic_inventory.py. Changing the way we construct the name of host_containers will prevent that. Change-Id: I5edb6091cb10588099f023f3ae961ed714aea2ce Closes-Bug: 1512883 Closes-Bug: 1528953
12 lines
499 B
YAML
12 lines
499 B
YAML
---
|
|
fixes:
|
|
- Changed the way we name host containers groups in
|
|
dynamic_inventory.py for a hostname from
|
|
hostname_containers to hostname-host_containers to
|
|
prevent failing in the case where containers groups
|
|
have the same name as host containers when choosing
|
|
hostnames inspired from containers group names. This
|
|
change fixes the following bugs
|
|
https://bugs.launchpad.net/openstack-ansible/+bug/1512883 and
|
|
https://bugs.launchpad.net/openstack-ansible/+bug/1528953.
|