← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1961560] [NEW] Volume tabs displays errors if using Zun or uploading Images

 

Public bug reported:

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.

** Affects: horizon
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Dashboard (Horizon).
https://bugs.launchpad.net/bugs/1961560

Title:
  Volume tabs displays errors if using Zun or uploading Images

Status in OpenStack Dashboard (Horizon):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1961560/+subscriptions