Host name of haproxy in openstack_user_config.yml causes recursion error
Bug #1512883 reported by
Tim Hemingway
This bug affects 2 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Ala Raddaoui |
Bug Description
When using the following entry in openstack_
haproxy_hosts:
haproxy:
ip: 172.29.236.51
a recursion error will occur when running setup-hosts.yml. It appears as though this conflicts with an entry made in env.d/haproxy.yml (which also has the same name "haproxy" in container_skel). Renaming "haproxy" to "haproxy-01" will cause the issue to no longer persist. This seems to affect all versions since commit a239b29baf21dc0
Changed in openstack-ansible: | |
status: | New → Confirmed |
Changed in openstack-ansible: | |
assignee: | nobody → Ala Raddaoui (raddaoui-ala) |
Changed in openstack-ansible: | |
importance: | Undecided → Medium |
milestone: | none → mitaka-3 |
Changed in openstack-ansible: | |
milestone: | mitaka-3 → 13.0.0 |
Changed in openstack-ansible: | |
milestone: | 13.0.0 → newton-1 |
Changed in openstack-ansible: | |
assignee: | Ala Raddaoui (raddaoui-ala) → Kevin Carter (kevin-carter) |
Changed in openstack-ansible: | |
assignee: | Kevin Carter (kevin-carter) → Ala Raddaoui (raddaoui-ala) |
To post a comment you must log in.
I can confirm this is happening on an AIO. I changed 'haproxy' in env.d/haproxy.yml's container_skel to be 'haproxy_comp' and left the host's name 'haproxy' in my openstack_ user_config. yml file, and still got the recursion error.
Running `playbooks/ inventory/ dynamic_ inventory. py --file /etc/openstack_ deploy/ ` with a pdb trace set at line 513 (commit c6cfe818f48ec33 0731470c85c7aa2 c568330888) , I can see that the key variable alternates between 'aio1_containers' and 'haproxy_ containers' .