Bug 1228066 - [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 ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: rhgs-3.1
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: RHGS 3.1.0
Assignee: Shubhendu Tripathi
QA Contact: RamaKasturi
URL:
Whiteboard: gluster
Depends On: 1215878
Blocks: 1202842 1224288
TreeView+ depends on / blocked
 
Reported: 2015-06-04 07:05 UTC by Shubhendu Tripathi
Modified: 2015-07-29 05:31 UTC (History)
14 users (show)

Fixed In Version: rhsc-3.1.0-59
Doc Type: Bug Fix
Doc Text:
Clone Of: 1215878
Environment:
Last Closed: 2015-07-29 05:31:56 UTC
Embargoed:


Attachments (Terms of Use)
Attaching the screenshot for the error message if user tries to take a snapshot while remove brick is running (187.52 KB, image/png)
2015-06-18 13:58 UTC, RamaKasturi
no flags Details
Attaching screenshot for the message when user tries to take a snapshot when rebalance is running on the volume (194.51 KB, image/png)
2015-06-18 14:00 UTC, RamaKasturi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2015:1494 0 normal SHIPPED_LIVE Red Hat Gluster Storage Console 3.1 Enhancement and bug fixes 2015-07-29 09:24:02 UTC
oVirt gerrit 40422 0 None None None Never
oVirt gerrit 41089 0 None None None Never
oVirt gerrit 41247 0 None None None Never
oVirt gerrit 41918 0 None None None Never

Description Shubhendu Tripathi 2015-06-04 07:05:25 UTC
+++ 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?

Comment 3 Ramesh N 2015-06-15 05:40:00 UTC
Moving back to MODIFIED as the build is not ready but errata has moved the bugs to ON_QA.

Comment 4 RamaKasturi 2015-06-18 13:56:15 UTC
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>

Comment 5 RamaKasturi 2015-06-18 13:58:49 UTC
Created attachment 1040508 [details]
Attaching the screenshot for the error message if user tries to take a snapshot while remove brick is running

Comment 6 RamaKasturi 2015-06-18 14:00:21 UTC
Created attachment 1040510 [details]
Attaching screenshot for the message when user tries to take a snapshot when rebalance is running on the volume

Comment 7 errata-xmlrpc 2015-07-29 05:31:56 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-2015-1494.html


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