Bug 1133300

Summary: [RFE] [ImportDomain] Allow vm's && templates merge in case of disaster recovery
Product: [Retired] oVirt Reporter: Ori Gofen <ogofen>
Component: ovirt-engine-coreAssignee: Maor <mlipchuk>
Status: CLOSED DUPLICATE QA Contact: Pavel Stehlik <pstehlik>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.5CC: acanan, amureini, bugs, ecohen, gklein, iheim, mkalinin, mlipchuk, rbalakri, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.6.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-16 08:06:19 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:

Description Ori Gofen 2014-08-24 12:30:16 UTC
Description of problem:

When having an object (like vm's or templates) which contains data on several domains and one of the domains crashes for some reason.
The desired behavior is having the recovered data to be well merged at the original base object,for example:

lets say I have a template with 2Xdisks on two different domains.
when detaching one of the domains,the template will be updated and contain only one disk(of the remained domain) and that's good,but when attaching back the detached domain and register the templates,we expect to see our template updated back to contain its two original disks.

Right now oVirt blocks this operation with CDA.

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

How reproducible:
100%

Steps to Reproduce:
1.Have a template with two disks on two different domains(make sure all domains are updated with the newest OvfStoreFile)
2.detach one of the domains
3.attach the domain back and register the template.

Actual results:
oVirt blocks the operation with CDA

Expected results:
A successful "data merge" recovery operation

Additional info:
This gap should be documented at import domain's documentation. http://www.ovirt.org/Features/ImportStorageDomain 
haven't found it there.

Comment 1 Maor 2014-09-16 08:06:19 UTC

*** This bug has been marked as a duplicate of bug 1108904 ***

Comment 2 Marina Kalinin 2015-03-16 18:26:28 UTC
Maor,
Would this RFE also be relevant to VMs with multiple disks that reside on different storage domains. So that we will be able "merging" all the disks on one domain, and then import it to another RHEV environment and recover the VM from a single Storage Domain?

Comment 3 Ori Gofen 2015-03-19 07:23:15 UTC
(In reply to Marina from comment #2)
> Maor,
> Would this RFE also be relevant to VMs with multiple disks that reside on
> different storage domains. So that we will be able "merging" all the disks
> on one domain, and then import it to another RHEV environment and recover
> the VM from a single Storage Domain?

Registering VMs with multiple disks that reside on different Storage Domains should be supported *while* all the Storage Domains exists in the Data Center and they are active.

This RFE is related to registering a VM/Template which already exists in the setup and have partial disks.
for example, register a VM if we have only one domain although the original VM had several disks on several Storage Domains