Haproxy role failed when using fqdn
Bug #2006986 reported by
Antoine Thys
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
New
|
Undecided
|
Unassigned |
Bug Description
When I'm try to use fqdn in internal_
Haproxy canno't using fqdn for binding and wait for an IP.
But if I run playbok multi time the error is no longer present but haproxy doesn't work correctly.
Changed in openstack-ansible: | |
status: | Invalid → New |
To post a comment you must log in.
And if I change internal_ lb_vip_ address by an IP adresse I have an error because certificate doesn't exists (I use letsencrypt with dns-01).
After create missing folder I have another error from ansible :
fatal: [node0]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: {{ haproxy_ ssl_cert_ path ~ '/haproxy_' ~ ansible_ facts[' hostname' ] ~ '-' ~ item_name }}: {{ ('interface'in item and item['interface'] is truthy) | ternary( item['address' ] ~ '-' ~ item_interface, item['address']) }}: {{ item['interface'] }}: 'dict object' has no attribute 'interface'\n\nThe error appears to be in '/etc/ansible/ roles/haproxy_ server/ handlers/ main.yml' : line 16, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: regen pem\n ^ here\n"}