Credentials check is too vague
Bug #1337296 reported by
Evan
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.
61 ksclient.
62 raise self.ImageStore
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.
https:/ /code.launchpad .net/~cprov/ uci-engine/ test-image- store/+ merge/224996 (landed in trunk r643) alleviates the problem, by raising ImageStoreExcep tion() 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.