Bug 1215884 - [New] - Restoring snapshot cannot be performed while rebalance/remove-brick is running.
Summary: [New] - Restoring snapshot cannot be performed while rebalance/remove-brick i...
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 1228063
TreeView+ depends on / blocked
 
Reported: 2015-04-28 05:16 UTC by RamaKasturi
Modified: 2016-02-10 12:57 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1228063 (view as bug list)
Environment:
Last Closed: 2016-02-10 12:57:01 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-3.6.0+
ylavi: planning_ack+
rule-engine: devel_ack+
rule-engine: 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 05:16:15 UTC
Description of problem:
User should not be able to restore a snapshot while rebalance/remove-brick is running on the volume.

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. start remove-brick / rebalance on the volume.
3. Now try restoring a snapshot.

Actual results:
Engine fails with error Error while executing action Restore volume snapshot:[]

Expected results:
Restore operation should not be allowed from UI when remove-brick or rebalance is going on the volume.

Additional info:

Comment 1 RamaKasturi 2015-04-28 05:21:14 UTC
engine and vdsm logs can be found in the link below.

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

Comment 2 RamaKasturi 2015-05-21 05:15:42 UTC
Moving this bug back because of the error message mapping issue.

Following gets displayed in UI when user tries to restore the snapshot when rebalance or remove brick is running on the volume.

Error while executing action:

VAR_ACTION_RESTORE
cannot ${action} ${type}. A task is in progress on the volume ${volumename} in cluster ${vdsGroup}.

It would be good to display what kind of task is running instead of saying task is in progress.

Comment 3 Max Kovgan 2015-06-28 14:12:41 UTC
ovirt-3.6.0-3 release

Comment 4 RamaKasturi 2016-02-02 12:26:15 UTC
Tested with RHEV 3.6.2.6 and RHGS Nightly ( glusterfs-3.7.5-17.el7rhgs )

when rebalance is running on a volume, snapshot restore fails with error "Error while exectuing action: Cannot restore Gluster Volume Snapshot. A rebalance operation is in progress on the volume <vol_name> cluster <clustername>

when remove-brick is running on a volume, snapshot restore fails with error "Error while executing action: Cannot restore 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.