Horizon is unable to show instance list is image_id is not set
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Released
|
High
|
Vishal Manchanda | ||
Ubuntu Cloud Archive |
Invalid
|
Undecided
|
Unassigned |
Bug Description
My setup contains several instance made from empty volume and installation from iso image. Thus, those instances does not have any source image. But some instances still have have image_metadata to tweak instances . As an example, those are the metadata from one of my boot volume :
volume_
Before Stein, I was able to go to project/instance and list every instances from the project, as expected.
Since Stein Horizon release, this page crash without much details.
After further investigation, I foud that the culprit is that piece of code in /usr/horizon/
I replace this code by that one to take care of the case where there are image metadata but no image_id:
That corrected this specific bug but I might not be the only one impacted by it...
Changed in horizon: | |
assignee: | Akihiro Motoki (amotoki) → Vishal Manchanda (vishalmanchanda) |
tags: | added: field-medium |
Thanks for the detail information. The bug detail really helps us.
When 'volume_ image_metadata' was introduced, 'image_id' was the only usage of 'volume_ image_metadata' and I guess horizon depends on that behavior. However, it is no longer true and we need to fix it.