Cinder client ignores protocol and port for publicURL

Bug #1520039 reported by Daniel Speichert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-cinderclient
New
Undecided
Unassigned

Bug Description

Cinder version 1.2.1 (Kilo version packages in RDO: 1.2.1 rel 1.el7) ignores protocol and port in publicURL when making requests.

The catalog has endpoints:
- publicURL: https://someaddress:48776/v2/%(tenant_id)s
- internalURL: http://otheraddress:8776/v2/%(tenant_id)s
- adminURL: http://otheraddress:8776/v2/%(tenant_id)s

By default, cinder makes request to: http://someaddress/v2/a8643be6b41f4e35950b1cc78f39e93a/volumes/detail

When provided with "--endpoint-type internalURL" flag, cinder makes correct (according to catalog) request to:
http://otheraddress:8776/v2/a8643be6b41f4e35950b1cc78f39e93a/volumes/detail

Revision history for this message
Sean McGinnis (sean-mcginnis) wrote :

Need to determine if this is still the case with the latest code.

no longer affects: cinder
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.