retrieve_auth_url openstack utils and swift utils returns wrong URL if port is not present in Keystone URL
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Sahara |
Fix Released
|
High
|
Khanh-Toan TRAN | ||
Kilo |
Fix Released
|
High
|
Vitalii Gridnev | ||
Liberty |
Fix Released
|
High
|
Khanh-Toan TRAN |
Bug Description
There are two functions retrieve_
sahara/
def retrieve_
....
return "%s://%s:%s/%s/" % (info.scheme, info.hostname, info.port, version)
sahara/
def retrieve_
....
return '{scheme}
For instance, they would transform "https:/
However, these code do not work correctly if there is no port in the initial identity URI. They will transform "https:/
Log: (while launching a job stored in Swift from Sahara)
2015-07-09 13:06:08.510 9158 DEBUG keystoneclient.
2015-07-09 13:06:08.644 9158 ERROR sahara.
description: | updated |
summary: |
- retrieve_auth_url returns wrong URL if port == None in openstack utils - and swift utils + retrieve_auth_url openstack utils and swift utils returns wrong URL if + port is not present in Keystone URL |
description: | updated |
Changed in sahara: | |
assignee: | nobody → Khanh-Toan TRAN (toan-tran) |
Changed in sahara: | |
status: | New → Triaged |
importance: | Undecided → High |
milestone: | none → liberty-2 |
Changed in sahara: | |
status: | Fix Committed → Fix Released |
Changed in sahara: | |
milestone: | liberty-2 → 3.0.0 |
Fix proposed to branch: master /review. openstack. org/200588
Review: https:/