Glance error when service has no 'type'
Bug #956178 reported by
Brian Lamar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glance |
Fix Released
|
Low
|
Brian Lamar |
Bug Description
When the service catalog is returned, if any service doesn't have a "type" field, glance client will raise the following traceback:
http://
While I understand "type" should be there, I believe glance should ignore the endpoint (perhaps just give a WARN log?).
Changed in glance: | |
assignee: | nobody → Brian Lamar (blamar) |
tags: | removed: essex-rc-potential |
Changed in glance: | |
milestone: | none → essex-rc1 |
status: | Fix Committed → Fix Released |
Changed in glance: | |
milestone: | essex-rc1 → 2012.1 |
To post a comment you must log in.
Hi Brian,
So, the Keystone v2 API contract says that each returned endpoint shall list a type attribute... not sure I buy that a better solution would be to ignore the endpoint, as that will (IMHO) make debugging things harder (even with a WARN in the log file...)
Welcome your thoughts on this, I'm a bit on the fence about your proposed solution.
-jay