API pagination returns HTTP unexpectedly with HTTPS enabled deployment
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Gnocchi Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack AODH Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Barbican Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Base Layer |
Fix Released
|
Undecided
|
Nobuto Murata | ||
OpenStack Cinder Charm |
Fix Released
|
High
|
James Page | ||
OpenStack Designate Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Glance Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Heat Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Keystone Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Neutron API Charm |
Fix Released
|
High
|
Liam Young | ||
OpenStack Nova Cloud Controller Charm |
Fix Released
|
High
|
Liam Young |
Bug Description
In short, URL mismatch happends with multiple API tests with HTTPS.
"reference = u'http://.." != "actual = 'https://..."
- tempest.
$ refstack-client test -c ../tempest.conf -v -- \
--regex tempest.
...
tempest.
-------
Captured traceback:
~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/
File "/home/
File "/home/
File "/home/
raise mismatch_error
testtools.
reference = u'http://
actual = 'https:/
summary: |
- test failure with HTTPS: - tempest.api.volume.test_volumes_list.VolumesListTestJSON.test_volume_list_details_pagination + API pagination returns HTTP unexpectedly with HTTPS enabled deployment |
description: | updated |
Changed in charm-cinder: | |
assignee: | nobody → Robert Ayres (robert-ayres) |
status: | New → In Progress |
Changed in charm-cinder: | |
assignee: | nobody → James Page (james-page) |
importance: | Undecided → High |
milestone: | none → 18.05 |
Changed in charm-cinder: | |
milestone: | 18.05 → 18.02 |
status: | Fix Committed → Fix Released |
Changed in charm-glance: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-heat: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-keystone: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-neutron-api: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-nova-cloud-controller: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-designate: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-barbican: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-aodh: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-gnocchi: | |
assignee: | nobody → Liam Young (gnuoy) |
Changed in charm-designate: | |
milestone: | none → 18.05 |
status: | Triaged → In Progress |
Changed in charm-barbican: | |
milestone: | none → 18.05 |
status: | Triaged → In Progress |
Changed in charm-aodh: | |
milestone: | none → 18.05 |
status: | Triaged → In Progress |
Changed in charm-gnocchi: | |
milestone: | none → 18.05 |
status: | Triaged → In Progress |
Changed in charm-glance: | |
milestone: | none → 18.05 |
Changed in charm-heat: | |
milestone: | none → 18.05 |
Changed in charm-keystone: | |
milestone: | none → 18.05 |
Changed in charm-neutron-api: | |
milestone: | none → 18.05 |
Changed in charm-nova-cloud-controller: | |
milestone: | none → 18.05 |
description: | updated |
tags: | added: canonical-bootstack |
Changed in charm-glance: | |
milestone: | 18.05 → 18.08 |
Changed in charm-keystone: | |
milestone: | 18.05 → 18.08 |
Changed in charm-nova-cloud-controller: | |
milestone: | 18.05 → 18.08 |
Changed in charm-neutron-api: | |
milestone: | 18.05 → 18.08 |
Changed in charm-heat: | |
milestone: | 18.05 → 18.08 |
Changed in charm-aodh: | |
milestone: | 18.05 → 18.08 |
Changed in charm-gnocchi: | |
milestone: | 18.05 → 18.08 |
Changed in charm-designate: | |
milestone: | 18.05 → 18.08 |
Changed in charm-barbican: | |
milestone: | 18.05 → 18.08 |
Changed in layer-openstack: | |
assignee: | nobody → Nobuto Murata (nobuto) |
tags: | added: upgrade |
Changed in layer-openstack: | |
status: | Fix Committed → Fix Released |
Changed in charm-nova-cloud-controller: | |
status: | Fix Committed → Fix Released |
Adding the section below by hand into cinder.conf and restarting apache2 make the test pass.
==== proxy_headers_ parsing = True
[oslo_middleware]
enable_
====
We already have sites-enabled/ openstack_ https_frontend. conf.
RequestHeader set X-Forwarded-Proto "https"
in /etc/apache2/
enable_ proxy_headers_ parsing seems the equivalent config in backend services.
> enable_ proxy_headers_ parsing
> default=False,
> Whether the application is behind a proxy or not.
> This determines if the middleware should parse the
> headers or not.