when os-*-hostname override is used, apache2 fails to start due to unexpected SSL cert/key path
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Charm Helpers |
Fix Released
|
High
|
Unassigned | ||
OpenStack Glance Charm |
Invalid
|
High
|
Pen Gale |
Bug Description
I deployed a multi-network OpenStack. Also I have a genuinely signed SSL certificate by GeoTrust and an equivalet key.
To use the SSL cert/key, I have setup an external DNS to return a global IP address with glance.example.com, and an internal DNS to return private IP address with the same hostname as glance.example.com.
My glance charm configurations look like:
os-
os-
os-
os-
os-
os-
ssl_cert: (base64 encoded cert)
ssl_key: (base64 encoded key)
vip: 10.10.X.Y 103.X.Y.Z
With the configurations above, the charm writes cert/key into /etc/apache2/
$ ls -1 /etc/apache2/
cert_glance.
key_glance.
However, /etc/apache2/
<VirtualHost 10.10.21.178:8766>
SSLCertific
SSLCertific
SSLCertific
...
<VirtualHost 103.X.Y.Z:8766>
SSLCertific
SSLCertific
SSLCertific
Changed in charm-helpers: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
Changed in charm-glance: | |
assignee: | nobody → Alex Kavanagh (ajkavanagh) |
milestone: | none → 17.08 |
Changed in charm-helpers: | |
status: | New → Triaged |
Changed in charm-glance: | |
status: | New → Triaged |
Changed in charm-helpers: | |
importance: | Undecided → High |
Changed in charm-glance: | |
importance: | Undecided → High |
Changed in charm-glance: | |
milestone: | 17.08 → 17.11 |
tags: | added: cpe-onsite |
tags: | added: cdo-qa-blocker |
Changed in charm-helpers: | |
assignee: | Alex Kavanagh (ajkavanagh) → petevg (petevg) |
Changed in charm-glance: | |
assignee: | Alex Kavanagh (ajkavanagh) → petevg (petevg) |
Sorry, I mistakenly press "submit" while I was still writing...