Keyerror when displaying Instances & Volumes
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Invalid
|
Undecided
|
Unassigned | ||
Essex |
Won't Fix
|
Medium
|
Unassigned | ||
horizon (Debian) |
Fix Released
|
Unknown
|
Bug Description
This is most likely Essex specific because the corresponding code has changed in Folsom.
Steps to reproduce:
Create the user USER and give it admin privileges
Make the user a member of tenantA
Create a volume in tenantB
Associate the volume to an instance in tenantB
Login to the dashboard as USER
Go to the Volume & Instance menu entry
See the following error message, where the key matches the UUID of the volume.
KeyError at /nova/instances
u'
The corresponding code in horizon/
volumes = api.volume_
for volume in volumes:
for att in volume.attachments:
And my first guess is that api.volume_
Related branches
Changed in horizon (Debian): | |
status: | Unknown → Fix Released |
Yep, this was fixed in the middle of Folsom. Unfortunately I don't have the specific commit handy...