Bug 1238540

Summary: Volume snapshot restore does not work if geo-replication enabled for a volume
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shubhendu Tripathi <shtripat>
Component: rhscAssignee: Shubhendu Tripathi <shtripat>
Status: CLOSED CANTFIX QA Contact: RHS-C QE <rhsc-qe-bugs>
Severity: unspecified Docs Contact:
Priority: high    
Version: rhgs-3.1CC: asriram, asrivast, mzywusko, nlevinki, rhs-bugs, sabose, sankarshan, shtripat
Target Milestone: ---Keywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-01-30 11:41:00 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1238699    
Bug Blocks: 1216951    

Description Shubhendu Tripathi 2015-07-02 06:29:03 UTC
Description of problem:
Of a geo-replication session is enabled for a volume, and we try to restore the volume to the state of an existing snapshot, the restore fails with error saying "No such snapshot exists for the slave volume"

Version-Release number of selected component (if applicable):
3.1

How reproducible:
Alway

Steps to Reproduce:
1. Create two clusters with names master-cluster and slave-cluster
2. Create a volume master-vol in master-cluster
3. Create a volume slave-vol in slave-cluster
4. Setup a geo-replication between master-vol and slave-vol
5. Create a snapshot for master-vol from UI (It creates a snapshot for the slave-vol as well seamlessly)
6. Restore the master-vol to the state of created snapshot in step-5

Actual results:
Snapshot restore fails with error saying "No such snapshot available for slave-vol"

Expected results:
Snapshot restore should be successful and restore the slave-vol as well to the respective snapshot seamlessly.

Additional info:

Comment 2 monti lawrence 2015-07-23 14:59:45 UTC
Doc text is edited. Please sign off to be included in Known Issues.

Comment 3 Shubhendu Tripathi 2015-07-23 17:00:45 UTC
doc-text looks fine

Comment 8 Sahina Bose 2016-02-24 12:07:54 UTC
Removing from the tracker as this has a dependency on glusterfs bug

Comment 9 Mike McCune 2016-03-28 23:35:19 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 11 Sahina Bose 2018-01-30 11:41:00 UTC
Thank you for your bug report. However, this bug is being closed as it's on a component where no further new development is being undertaken.