+++ This bug was initially created as a clone of Bug #1215878 +++ 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: --- Additional comment from RamaKasturi on 2015-04-28 00:52:56 EDT --- Find the engine and vdsm logs attached in the link below. http://rhsqe-repo.lab.eng.blr.redhat.com/sosreports/rhsc/1215878/ --- Additional comment from RamaKasturi on 2015-05-21 01:11:27 EDT --- 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?
Moving back to MODIFIED as the build is not ready but errata has moved the bugs to ON_QA.
Verified and works fine with build rhsc-3.1.0-0.60.el6.noarch. When rebalance is running on a volume and if user tries to take snapshot UI displays the following 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> When remove-brick is running on a volume and if user tries to take snapshot UI displays the following error. Error while executing action: Cannot create Gluster Volume Snapshot. A remove_brick operation is in progress on the volume <vol_name> in cluster <cluster_name>
Created attachment 1040508 [details] Attaching the screenshot for the error message if user tries to take a snapshot while remove brick is running
Created attachment 1040510 [details] Attaching screenshot for the message when user tries to take a snapshot when rebalance is running on the volume
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-2015-1494.html