Enable the paste filter HTTPProxyToWSGI by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Undecided
|
Juan Antonio Osorio Robles | ||
OpenStack Nova Cloud Controller Charm |
Fix Released
|
Medium
|
Seyeong Kim | ||
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned | ||
Mitaka |
Fix Released
|
Medium
|
Seyeong Kim | ||
nova (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Xenial |
Fix Released
|
Medium
|
Seyeong Kim |
Bug Description
[Impact]
Getting http link instead of https even if https setting is set.
[Test case]
1. deploy openstack ( with keystone charm option use-https, https-service-
2. create instance
3. nova --debug list
- check the result if https links are there.
[Regression Potential]
nova pkg will be affected by this patch. However, this patch modifies only api-paste.ini by adding http_proxy_to_wsgi. To accept this patch, nova service need to be restarted. Tested no vms are affected this patch, but APIs or daemons are temporarily.
[Others]
related commits ( which are already in comments )
https:/
https:/
[Original Description]
oslo middleware provides a paste filter that sets the correct proxy scheme and host. This is needed for the TLS proxy case.
Without this then enabling the TLS proxy in devstack will fail configuring tempest because 'nova flavor-list' returns a http scheme in Location in a redirect it returns.
I've proposed a temporary workaround in devstack using:
+ iniset $NOVA_API_PASTE_INI filter:
e.filter_factory oslo_middleware
+ iniset $NOVA_API_PASTE_INI composite:
i_v21 keystone "ssl_header_handler cors compute_req_id faultwrap sizelimit autht
oken keystonecontext osapi_compute_
But this isn't a long-term solution because two copies of the default paste filters will need to be maintained.
Changed in nova: | |
assignee: | nobody → Juan Antonio Osorio Robles (juan-osorio-robles) |
status: | New → In Progress |
Changed in charm-nova-cloud-controller: | |
assignee: | nobody → Seyeong Kim (xtrusia) |
Changed in nova (Ubuntu): | |
assignee: | nobody → Seyeong Kim (xtrusia) |
Changed in nova (Ubuntu Xenial): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in nova (Ubuntu): | |
status: | New → Invalid |
Changed in cloud-archive: | |
status: | New → Invalid |
Changed in charm-nova-cloud-controller: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in charm-nova-cloud-controller: | |
milestone: | 17.11 → 18.02 |
Changed in nova (Ubuntu): | |
assignee: | Seyeong Kim (xtrusia) → nobody |
Changed in nova (Ubuntu Xenial): | |
assignee: | nobody → Seyeong Kim (xtrusia) |
tags: | added: sts-sru |
tags: | added: sts |
Changed in charm-nova-cloud-controller: | |
milestone: | 18.02 → 18.05 |
Had added cinder, but now I noticed there was already a bug report filed there too https:/ /bugs.launchpad .net/cinder/ +bug/1573766 So I'll use that one instead for Cinder. This still applies for Nova though.