Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1334256

Summary: [RFE] - Manage floating\shared disks with snapshots
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: GeneralAssignee: Ala Hino <ahino>
Status: CLOSED WONTFIX QA Contact:
Severity: high Docs Contact:
Priority: medium    
Version: 3.6.5.1CC: bugs, dfediuck, mlipchuk, sabose, sasundar, tnisan, ylavi
Target Milestone: ---Keywords: FutureFeature
Target Release: ---Flags: ylavi: ovirt-future?
sasundar: planning_ack?
sasundar: devel_ack?
sasundar: testing_ack?
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
RHEV-RHGS HCI
Last Closed: 2018-05-27 13:40:11 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1113414, 1411323    

Description SATHEESARAN 2016-05-09 09:35:34 UTC
Description of problem:
-----------------------
For RHEV-RHGS HCI disaster recovery, strategy recommended was to geo-replicate the data domain after snapshotting the VM disks, to the central site
(i.e) geo-replicate ( MASTER ) at Remote site to another gluster volume (SLAVE ) at the central site.

After importing the geo-replicated data domain at the central site, unable to list the unregistered disks.

The disks needs registering, in order to list the disks as the floating disks, and then it could be attached to the App VMs

Version-Release number of selected component (if applicable):
--------------------------------------------------------------
RHGS 3.1.3 nightly ( glusterfs-3.7.9-3.el7rhgs )
RHEV 3.6.5
RHEL 7.2

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create a data domain backed by gluster sharded replica 3 volume
2. Create VMs with their additional disks part of the above created data domain
3. Take snapshot of the VM's disk
4. Checkpoint the geo-rep session and start the geo-replication of data domain
5. After geo-replication reached checkpoint, stop geo-replication
[Note - step4 & step5 done via geo-rep scheduler script]
6. Import the slave data domain in another RHEVM instance
7. Try to list the unregistered disks

Actual results:
---------------
snapshotted disks are not listed

Expected results:
-----------------
snapshotted disks should be listed so as the help in registering the disks after fetching the disk id

Additional info:
----------------
I have deleted the the overlay image file from the data domain, leaving only the backing image. Now I could list the unregistered disks

Comment 1 Yaniv Kaul 2016-05-16 09:22:23 UTC
Any logs?
Tal - do we know what the issue is?

Comment 2 Allon Mureinik 2016-05-22 13:40:28 UTC
(In reply to Yaniv Kaul from comment #1)
> Tal - do we know what the issue is?
No logs - no analysis ;-)

Comment 3 Sahina Bose 2016-06-02 07:34:55 UTC
The issue is to do with listing unregistered disks in case disk has snapshots. Currently such disks are skipped. 
As per Maor, this is an RFE to manage floating disk with snapshots - changing title to reflect same.

Comment 4 Yaniv Lavi 2017-11-26 13:09:33 UTC
*** Bug 1056944 has been marked as a duplicate of this bug. ***

Comment 5 Doron Fediuck 2018-05-27 13:40:11 UTC
This was implemented in a different way for the HCI use case.
If relevant, please re-open and explain why.
As always- patches are welcomed!