← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1334523] [NEW] Cinder volume type delete return none informative error

 

Public bug reported:

Description of problem: 
Currently when you try to delete a volume type (which is in use) Horizon returns -> Error: Unable to delete volume type: ssd

Notice on cinder api.log we get a better explanation->  "deletion
failed, VolumeType in use.

Improving Horizon's none informative error would be helpful.

Version-Release number of selected component (if applicable):
RHEL7
openstack-dashboard-2014.1-7.el7ost.noarch

How reproducible:
Every time

Steps to Reproduce:
1. Create volume type
2. Create a new volume, from volume type created above.
3. On admin page, try to delete volume type (it should fail) but notice error message. 
4. grep -ir error /var/log/cinder/api.log  -> will show cinder's better error notice.


Actual results:
Horizon returns -> Error: Unable to delete volume type: ssd
None informative error.

Expected results:
Should return -> Error: Unable to delete volume type while it's still in use, volume type: ssd.

** 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/1334523

Title:
  Cinder volume type delete return none informative error

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  Description of problem: 
  Currently when you try to delete a volume type (which is in use) Horizon returns -> Error: Unable to delete volume type: ssd

  Notice on cinder api.log we get a better explanation->  "deletion
  failed, VolumeType in use.

  Improving Horizon's none informative error would be helpful.

  Version-Release number of selected component (if applicable):
  RHEL7
  openstack-dashboard-2014.1-7.el7ost.noarch

  How reproducible:
  Every time

  Steps to Reproduce:
  1. Create volume type
  2. Create a new volume, from volume type created above.
  3. On admin page, try to delete volume type (it should fail) but notice error message. 
  4. grep -ir error /var/log/cinder/api.log  -> will show cinder's better error notice.

  
  Actual results:
  Horizon returns -> Error: Unable to delete volume type: ssd
  None informative error.

  Expected results:
  Should return -> Error: Unable to delete volume type while it's still in use, volume type: ssd.

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


Follow ups

References