Bug 1113401

Summary: None informative error notice while deleting a used volume type
Product: Red Hat OpenStack Reporter: Tzach Shefi <tshefi>
Component: python-django-horizonAssignee: Masco <mkaliyam>
Status: CLOSED ERRATA QA Contact: Ido Ovadia <iovadia>
Severity: low Docs Contact:
Priority: low    
Version: 5.0 (RHEL 7)CC: aortega, athomas, jjoyce, jschluet, mkaliyam, mrunge, opavlenk, srevivo
Target Milestone: gaKeywords: TestOnly, Triaged, ZStream
Target Release: 9.0 (Mitaka)   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-django-horizon-9.0.0-5.el7ost Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-24 12:50:44 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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