Bug 1113401 - None informative error notice while deleting a used volume type
Summary: None informative error notice while deleting a used volume type
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-django-horizon
Version: 5.0 (RHEL 7)
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ga
: 9.0 (Mitaka)
Assignee: Masco
QA Contact: Ido Ovadia
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-26 06:30 UTC by Tzach Shefi
Modified: 2016-08-24 12:50 UTC (History)
8 users (show)

Fixed In Version: python-django-horizon-9.0.0-5.el7ost
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-08-24 12:50:44 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1334523 0 None None None Never
OpenStack gerrit 105181 0 'None' 'ABANDONED' 'Adding informative message when deleting a using volume type' 2019-11-21 15:42:51 UTC
OpenStack gerrit 213709 0 'None' 'MERGED' 'Adding informative message when deleting a used volume type' 2019-11-21 15:42:51 UTC
Red Hat Product Errata RHEA-2016:1761 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 9 General Availability Advisory 2016-08-24 16:49:52 UTC

Description Tzach Shefi 2014-06-26 06:30:43 UTC
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.

Comment 3 Matthias Runge 2016-02-02 09:05:53 UTC
Patch was merged in Mitaka cycle, and it contains string changes, thus can not be backported to Liberty.

Comment 4 Mike McCune 2016-03-28 23:07:19 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 10 Ido Ovadia 2016-08-24 09:39:35 UTC
Verified
========
python-django-horizon-9.0.1-2.el7ost.noarch

Comment 11 Ola Pavlenko 2016-08-24 09:52:49 UTC
OSPD 9 latest bits

Comment 12 errata-xmlrpc 2016-08-24 12:50:44 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHEA-2016-1761.html


Note You need to log in before you can comment on or make changes to this bug.