vhost rendering for openstack_https_frontend.conf is not network space aware, still requires obsolete os-*-network configs
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi Charm |
Fix Released
|
High
|
Frode Nordahl | ||
OpenStack AODH Charm |
Fix Released
|
High
|
Frode Nordahl | ||
OpenStack Designate Charm |
Fix Released
|
High
|
Frode Nordahl |
Bug Description
This may be a dup of LP: #1745389 and worth to try the patchset: https:/
However, I'm not 100% sure so opening another one just to be safe and attach my test case.
Charm revision:
https:/
commit-sha-1: d7caff3b148cabf
commit-short: d7caff3
branch: HEAD
remote: https:/
How to reproduce:
1. prepare multiple network spaces in MAAS
$ juju spaces
Space Subnets
space-first 192.168.151.0/24
space-second 192.168.152.0/24
undefined 10.0.8.0/24
2. deploy OpenStack reactive charm (e.g. aodh) with multiple spaces and SSL
$ juju deploy ./bundle.yaml (attached)
3. Check the rendered /etc/apache2/
$ juju ssh aodh/0 -- cat /etc/apache2/
[expected]
Listen 8032
<VirtualHost 192.168.151.X:8032>
...
</VirtualHost>
<VirtualHost 192.168.152.X:8032>
...
</VirtualHost>
[actual]
Listen 8032
<VirtualHost 192.168.151.X:8032>
...
</VirtualHost>
<VirtualHost 192.168.151.X:8032>
...
</VirtualHost>
^^^ no binding for space-second=
WORKAROUND:
set obsolete os-public-network, os-internal-
tags: | added: canonical-bootstack |
Changed in charm-gnocchi: | |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in charm-aodh: | |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in charm-designate: | |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in charms.openstack: | |
assignee: | nobody → Frode Nordahl (fnordahl) |
Changed in charm-aodh: | |
status: | Fix Committed → Fix Released |
Changed in charm-gnocchi: | |
status: | Fix Committed → Fix Released |
Changed in charm-designate: | |
status: | Fix Committed → Fix Released |
Subscribing Canonical's ~field-high.
While it has a workaround, setting os-*-network config in charms are deprecated AFAIU. This bug affects all deployments with SSL + multiple network bindings in OpenStack reactive charms. I'd like to request accelerating the gerrit review[1] from engineering side, and if it requires some modifications, I'd like to ask engineering team takes over writing another round of patchsets.
[1] https:/ /review. openstack. org/#/c/ 549134/