Cinder incorrectly redirects to http for pagniated requests.

Bug #1628008 reported by Max Cameron
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Medium
Michael Dovgal

Bug Description

Recreate:
Validate public cinder service endpoints specify https protocol:
openstack endpoint list | grep cinder | grep public
| 5800ab7afd7448ccd1f79e1302ea7b3f | RegionOne | cinderv2 | volumev2 | True | public | https://myhost.mydomain:8776/v2/%(tenant_id)s |
| 783ba1fcdaad4a4fab90b151712157a8 | RegionOne | cinder | volume | True | public | https://myhost.mydomain:8776/v1/%(tenant_id)s |
Check what osapi_max_limit is for your system. (Default 1000).
Create more than osapi_max_limit volumes.
cinder list

Error:
Error fetching volume list (Inner Exception: Unable to establish connection to http://myhost.mydomain:8776/v2/3ccf712795c44edaccffcc331a59853/volumes/detail?marker=c6829dcc-814c-4550-843e-4b52eba272e3)

Notice the incorrect protocol for the request.

Debug output:
FIRST REQUEST (page 1):
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET https://myhost.mydomain:8776/v2/6b23490b88094c3a115613d0bbca44db/volumes/detail -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}fb77425e567e350123aa0c558329e4d0f9da6e66"
DEBUG:keystoneclient.session:RESP: [200] Content-Length: 1097733 X-Compute-Request-Id: req-5c569d3b-f3d1-4eb6-86fd-a6ab0c6b34da Connection: keep-alive Date: Wed, 07 Sep 2016 15:55:41 GMT Content-Type: application/json X-Openstack-Request-Id: req-5c569d3b-f3d1-4eb6-86fd-a6ab0c6b34da

SECOND REQUEST (page 2):
DEBUG:keystoneclient.session:REQ: curl -g -i -X GET http://myhost.mydomain:8776/v2/6b23490b88094c3a115613d0bbca44db/volumes/detail?marker=d91230ed-6617-4869-b996-8d059b3b60e2 -H "User-Agent: python-cinderclient" -H "Accept: application/json" -H "X-Auth-Token: {SHA1}fb77425e567e350275aa0c558329e4d0f9da6e66"
ERROR: Unable to establish connection to http://myhost.mydomain:8776/v2/6b23490b88094c3a115613d0bbca44db/volumes/detail?marker=d91230ed-6617-4869-b996-8d059b3b60e2

Changed in cinder:
importance: Undecided → Medium
tags: removed: cinder
Michael Dovgal (mdovgal)
Changed in cinder:
assignee: nobody → Michael Dovgal (mdovgal)
Revision history for this message
Oleksiy Butenko (obutenko) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.