Volume tabs displays errors if using Zun or uploading Images
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
New
|
Undecided
|
Unassigned |
Bug Description
When opening Horizon to the Volume tab, if an Glance image upload or a Zun container with a volume attached is running, an error will appear and it will be impossible to open the details or edit the volume.
The error message is similar to: "Error: Unable to retrieve attachment information. Details
Instance None could not be found. (HTTP 404)"
This is because, when uploading an image to Glance, the volume is shown attached to a dummy "glance_store on None" mountpoint.
This causes an error when Horizon tries to get the instance the volume is attached to.
The error denies access to "Edit Volume", "Extend Volume", "Manage Attachments", ... actions from the dashboard, and also opening the volume details by clicking on it's name will result by an error and a redirection to the main Volume page (the volume details become totally inaccessible).
In case a Zun container is running with an attached volume, the same error occurs, but instead of "None", Horizon is looking for a Nova instance with the Zun container's ID, which results in the same 404 error and has the same implications.