Credentials check is too vague

Bug #1337296 reported by Evan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu CI Engine
Confirmed
High
Paul Larson

Bug Description

"image-store: Missing or invalid authentication info."

Digging at this further, I arrive at:

 60 except (KeyError, ksclient.exceptions.Unauthorized,
 61 ksclient.exceptions.AuthorizationFailure):
 62 raise self.ImageStoreException(
 63 "Missing or invalid authentication info."
 64 )

So this has eaten the details of the exception and left us with no way to understand why it failed. This should instead surface the original message, with all of its detail, up to the health check page. It should also provide the arguments it used in create_container such that Webops can reproduce this with the openstack command line tools.

Tags: staging
Evan (ev)
description: updated
Revision history for this message
Celso Providelo (cprov) wrote :

https://code.launchpad.net/~cprov/uci-engine/test-image-store/+merge/224996 (landed in trunk r643) alleviates the problem, by raising ImageStoreException() with the configuration auth_url and the keystone HTTP error message.

Let's check with IS if it's really enough for reproducing the problem.

Revision history for this message
Vincent Ladeuil (vila) wrote :
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.