default service_type atribute in url_for method should be 'identity'

Bug #1476822 reported by Paulo Ewerton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
keystoneauth
Fix Released
Medium
Paulo Ewerton

Bug Description

url_for method in class ServiceCatalog sets None as default value for service_type. This raises an EndpointNotFound exception every time the method is called if no service_type is explicitly set by the caller. Refer to: https://github.com/openstack/keystoneauth/blob/master/keystoneauth1/service_catalog.py#L133

service_type default value should then be set to 'identity', reflecting the url_for method version defined in keystoneclient: https://github.com/openstack/python-keystoneclient/blob/feature/keystoneauth_integration/keystoneclient/service_catalog.py#L195.

Changed in keystoneauth:
assignee: nobody → Paulo Ewerton (pauloewerton)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to keystoneauth (master)

Fix proposed to branch: master
Review: https://review.openstack.org/204253

Changed in keystoneauth:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on keystoneauth (master)

Change abandoned by Paulo Ewerton Gomes Fragoso (<email address hidden>) on branch: master
Review: https://review.openstack.org/204253
Reason: Abandoned in favor of: https://review.openstack.org/#/c/210268/

Revision history for this message
Morgan Fainberg (mdrnstm) wrote :

Change was abandoned and the referenced patch has been included in the 1.0.0 release

Changed in keystoneauth:
status: In Progress → Fix Released
importance: Undecided → Medium
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.