unfriendly error when keystone tries to parse a URL

Bug #1498693 reported by Kevin Benton
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python-keystoneclient
Won't Fix
Medium
Unassigned

Bug Description

Sorry about the vagueness, but here is a traceback that came up when I was helping someone debug.

http://paste.openstack.org/show/465672/

It results in "AttributeError: 'NoneType' object has no attribute 'find'" which isn't too helpful. From what I could tell it was because either the token or identity URI was wrong.

Revision history for this message
Steve Martinelli (stevemar) wrote :

ugh, i just saw this bug... i think it's caused by a malformed URL/endpoint.. let me dig around.

Revision history for this message
Dolph Mathews (dolph) wrote :

The keystoneclient session is trying to work with a null URL. Adding Jamie.

affects: keystone → python-keystoneclient
Changed in python-keystoneclient:
importance: Undecided → Medium
status: New → Triaged
Changed in python-keystoneclient:
assignee: nobody → Aleksey Nakoryakov (alfnak)
Revision history for this message
Aleksey Nakoryakov (alfnak) wrote :

As url is not optional parameter, we have to raise ValueError for None.
But. IMHO this can be and has to be handled as client wants to work with root url of service

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to python-keystoneclient (master)

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

Changed in python-keystoneclient:
status: Triaged → In Progress
Revision history for this message
Lance Bragstad (lbragstad) wrote :

Automatically unassigning due to inactivity.

Changed in python-keystoneclient:
assignee: Aleksey Nakoryakov (alfnak) → nobody
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on python-keystoneclient (master)

Change abandoned by Morgan Fainberg (<email address hidden>) on branch: master
Review: https://review.openstack.org/492960
Reason: administratively abandoning this patch. It can be restored if someone is going to pick it up.

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

Marked as wont fix. This is handled in keystoneauth

Changed in python-keystoneclient:
status: In Progress → Won't Fix
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.