Cinder volume type delete return none informative error

Bug #1334523 reported by Tzach Shefi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
Medium
Masco

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.

Tags: ux
Julie Pichon (jpichon)
Changed in horizon:
importance: Undecided → Medium
tags: added: ux
Changed in horizon:
assignee: nobody → Henrique Truta (henrique-4)
Changed in horizon:
status: New → Confirmed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/105181

Changed in horizon:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on horizon (master)

Change abandoned by Matthias Runge (<email address hidden>) on branch: master
Review: https://review.openstack.org/105181
Reason: no movement for 8 months here

Revision history for this message
Matthias Runge (mrunge) wrote :

unassigning here, since there was not change within 8 months

Changed in horizon:
status: In Progress → Confirmed
assignee: Henrique Truta (henriquetruta) → nobody
Masco (masco)
Changed in horizon:
assignee: nobody → Masco Kaliyamoorthy (masco)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to horizon (master)

Fix proposed to branch: master
Review: https://review.openstack.org/213709

Changed in horizon:
status: Confirmed → In Progress
Changed in horizon:
assignee: Masco Kaliyamoorthy (masco) → Lin Hua Cheng (lin-hua-cheng)
Changed in horizon:
assignee: Lin Hua Cheng (lin-hua-cheng) → Masco Kaliyamoorthy (masco)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/213709
Committed: https://git.openstack.org/cgit/openstack/horizon/commit/?id=dfeb362b95f2b481ff3231b4821d4a5e94fa2e89
Submitter: Jenkins
Branch: master

commit dfeb362b95f2b481ff3231b4821d4a5e94fa2e89
Author: Masco Kaliyamoorthy <email address hidden>
Date: Mon Aug 17 19:12:23 2015 +0530

    Adding informative message when deleting a used volume type

    Currently when you try to delete a volume type (which is in use) Horizon
    returns a generic message.

    This patch includes in this message the text from the exception, resulting on
    the following message:
    'Error: Volume type '<vol_type>' is still in use.'

    Change-Id: I9577127909dca70a4c45129bf5df7e11b6ab1c2f
    Closes-bug: #1334523

Changed in horizon:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.