haproxy context doesn't consider bindings
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
High
|
David Ames | ||
OpenStack Cinder Charm |
Fix Released
|
High
|
David Ames | ||
OpenStack Glance Charm |
Fix Released
|
High
|
David Ames | ||
OpenStack Keystone Charm |
Fix Released
|
High
|
David Ames | ||
OpenStack Neutron API Charm |
Fix Released
|
High
|
David Ames | ||
OpenStack Nova Cloud Controller Charm |
Fix Released
|
High
|
David Ames | ||
charms.openstack |
Invalid
|
High
|
Unassigned |
Bug Description
Setup:
Using separate subnets for admin, public and private networks.
E.g. glance application with 3 unit HA deployment.
Current behavior:
Deploying charms in HA using haproxy use private-address as their only frontend and backend endpoints when os-{}-network is not provided via config options.
Expected behavior:
When using charm bindings, haproxy should also get endpoints from the networks specified there.
Where it fails:
[0]: https:/
Workaround applied:
configuring os-{}-network on the desired subnet will render frontends and backends on the correct subnet, but also leaves the private-network configuration, which isn't always required.
tags: | added: 4010 |
Changed in charm-helpers: | |
status: | Triaged → In Progress |
assignee: | nobody → David Ames (thedac) |
Changed in charm-helpers: | |
status: | In Progress → Fix Committed |
Changed in charm-cinder: | |
assignee: | nobody → David Ames (thedac) |
Changed in charm-glance: | |
assignee: | nobody → David Ames (thedac) |
Changed in charm-keystone: | |
assignee: | nobody → David Ames (thedac) |
Changed in charm-neutron-api: | |
assignee: | nobody → David Ames (thedac) |
Changed in charm-nova-cloud-controller: | |
assignee: | nobody → David Ames (thedac) |
status: | Triaged → Fix Committed |
Changed in charm-neutron-api: | |
status: | Triaged → Fix Committed |
Changed in charm-keystone: | |
status: | Triaged → Fix Committed |
Changed in charm-glance: | |
status: | Triaged → Fix Committed |
Changed in charm-cinder: | |
status: | Triaged → Fix Committed |
Changed in charm-keystone: | |
milestone: | none → 18.02 |
Changed in charm-nova-cloud-controller: | |
milestone: | none → 18.02 |
Changed in charm-neutron-api: | |
milestone: | none → 18.02 |
Changed in charm-glance: | |
milestone: | none → 18.02 |
Changed in charm-cinder: | |
milestone: | none → 18.02 |
Changed in charm-keystone: | |
status: | Fix Committed → Fix Released |
Changed in charm-nova-cloud-controller: | |
status: | Fix Committed → Fix Released |
Changed in charm-neutron-api: | |
status: | Fix Committed → Fix Released |
Changed in charm-glance: | |
status: | Fix Committed → Fix Released |
Changed in charm-cinder: | |
status: | Fix Committed → Fix Released |
Changed in charm-helpers: | |
status: | Fix Committed → Fix Released |
I have taken an initial look on that and the bug looks a bit complex. Either we would need to fully re-write the existing code or we would need a function which checks whether certain binding is used or not. Unfortunately, I cannot find such function in the charm helpers documentation:
https:/ /pythonhosted. org/charmhelper s/