Bug 1215876 - [New] - Proper error message should be displayed when user tries to delete a volume which has snapshots.
Summary: [New] - Proper error message should be displayed when user tries to delete a ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: oVirt
Classification: Retired
Component: ovirt-engine-webadmin
Version: 3.6
Hardware: Unspecified
OS: Unspecified
medium
low
Target Milestone: ---
: 3.6.0
Assignee: Shubhendu Tripathi
QA Contact: RamaKasturi
URL:
Whiteboard: gluster
Depends On:
Blocks: rhsc_qe_tracker_everglades
TreeView+ depends on / blocked
 
Reported: 2015-04-28 04:34 UTC by RamaKasturi
Modified: 2016-02-10 19:28 UTC (History)
9 users (show)

Fixed In Version: ovirt-engine-3.6.0-0.0.master.20150514172356.git1f1cc88
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-04 11:47:53 UTC
oVirt Team: Gluster
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40414 0 master MERGED gluster: Added canDoAction message for gluster volume deletion Never
oVirt gerrit 40867 0 ovirt-engine-3.5-gluster MERGED gluster: Added canDoAction message for gluster volume deletion Never

Description RamaKasturi 2015-04-28 04:34:05 UTC
Description of problem:
User will not be able to delete a volume which has snapshots. To delete the volume user must first delete the snapshots which are present for it.

Version-Release number of selected component (if applicable):
ovirt-engine-3.6.0-0.0.master.20150420232310.gite30f655.el6.noarch

How reproducible:
Always

Steps to Reproduce: 
1. create a volume.
2. Take some snapshots for that volume.
3. Now stop the volume.
4. Try deleting the volume.

Actual results:
UI says could not delete gluster volume for <vol_name>

Expected results:
Display a proper error message saying "cannot delete volume <vol_name> as it has <no.of snapshots> snapshots, To delete the volume, first delete all the snapshots under it.

Additional info:

Comment 1 RamaKasturi 2015-05-20 10:23:32 UTC
Verified and works fine with build ovirt-engine-3.6.0-0.0.master.20150519172219.git9a2e2b3.el6.noarch.

When there are snapshots present in a volume and if user tries deleting the volume  UI displays the following error message.

Error while executing action: cannot remove Gluster Volume. Gluster Volume <vol_name> has 2 snapshots. To delete the volume, first delete all the snapshots under it.

Comment 2 Sandro Bonazzola 2015-11-04 11:47:53 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.


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