Bug 1215878 - [New] - user should not be allowed to take snapshot when rebalance / remove-brick is running.
Summary: [New] - user should not be allowed to take snapshot when rebalance / remove-b...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: ---
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Shubhendu Tripathi
QA Contact: RamaKasturi
URL:
Whiteboard:
Depends On:
Blocks: rhsc_qe_tracker_everglades 1228066
TreeView+ depends on / blocked
 
Reported: 2015-04-28 04:47 UTC by RamaKasturi
Modified: 2016-02-10 12:52 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1228066 (view as bug list)
Environment:
Last Closed: 2016-02-10 12:52:33 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
knarra: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 40422 0 master MERGED gluster: Added canDoAction for volume snapshot create and restore Never
oVirt gerrit 41089 0 ovirt-engine-3.5-gluster MERGED gluster: Added canDoAction for volume snapshot create and restore Never
oVirt gerrit 41247 0 master MERGED gluster: Correct canDoAction message for volume snapshot actions Never
oVirt gerrit 41918 0 ovirt-engine-3.5-gluster MERGED gluster: Correct canDoAction message for volume snapshot actions Never

Description RamaKasturi 2015-04-28 04:47:42 UTC
Description of problem:
As of now when rebalance / remove-brick is running user is allowed to take snapshot, snapshot creation succeeds but does not display any snaps.

user should be given a message saying "Rebalance/remove-brick is running for the volume <vol_name> and snapshot cannot be taken. 

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 and start running rebalance on the volume.
2. Now click on the snapshot and say 'New'
3. New dialog loads and provide the snap name.

Actual results:
Snapshot creation succeds with no snapshots and event message is displayed saying "Snapshot <snapname> created for volume <vol_name>"

Expected results:
user should not be allowed to take snapshots when rebalance / remove-brick is running.

Additional info:

Comment 1 RamaKasturi 2015-04-28 04:52:56 UTC
Find the engine and vdsm logs attached in the link below.

http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1215878/

Comment 2 RamaKasturi 2015-05-21 05:11:27 UTC
Moving this bug back because the error message mapping is not proper.

When rebalance or remove brick is in progress UI displays the following error message "Error while executing action: Cannot create ${type}. A task is in progress on the volume ${volumeName} in cluster ${vdsGroup}

Instead of task is in progress, can we display the actual task which is in progress?

Comment 3 Max Kovgan 2015-06-28 14:13:03 UTC
ovirt-3.6.0-3 release

Comment 4 RamaKasturi 2016-02-02 09:24:52 UTC
Tested with RHEV 3.6.2.6 and RHGS Nightly ( glusterfs-3.7.5-17.el7rhgs )

Snapshot creation during rebalance fails with the error "Error while executing action : Cannot create Gluster Volume snapshot. A rebalance operation is in progress on the volume <vol_name> in cluster <cluster Name>

Snapshot creation during remove-brick fails with error " Error wile executing action: Cannot create Gluster Volume Snapshot. A remove_brick operation is in progress on the volume <vol_name> in cluster <cluster Name>


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