Usability: Service user token requested with no auth raises cryptic exception

Bug #1724689 reported by Eric Fried
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
In Progress
Undecided
Eric Fried

Bug Description

If [service_user]send_service_user_token is requested, but no auth
information is provided in the [service_user] section, the resulting
error is cryptic [1] and doesn't help the user understand what went
wrong.

Note that today this only happens if the conf section is missing the
auth_type option. But this is a pretty good first indicator that the
admin forgot to populate auth options in general.

[1] http://paste.openstack.org/show/623721/

Changed in nova:
assignee: nobody → Eric Fried (efried)
status: New → In Progress
Revision history for this message
Eric Fried (efried) wrote :

https://review.openstack.org/#/c/512329/

Cause I proposed the fix before I opened the bug.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on nova (master)

Change abandoned by Eric Fried (<email address hidden>) on branch: master
Review: https://review.openstack.org/512329
Reason: Superseded by https://review.openstack.org/521947

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.