Bug 1217339

Summary: Importing storage domains into an uninitialized datacenter leads to duplicate OVF_STORE disks being created, and can cause catastrophic loss of VM configuration data
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Maor <mlipchuk>
Status: CLOSED ERRATA QA Contact: Ori Gofen <ogofen>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.5.0CC: acanan, amureini, bcholler, ecohen, eedri, gklein, gwatson, jamills, juwu, lpeer, lsurette, mkalinin, mlipchuk, pablo.iranzo, pzhukov, rbalakri, Rhev-m-bugs, sherold, tnisan, yeylon, ylavi
Target Milestone: ---Keywords: ZStream
Target Release: 3.5.3Flags: ylavi: Triaged+
Hardware: All   
OS: Linux   
Whiteboard: storage
Fixed In Version: org.ovirt.engine-root-3.5.3-2 Doc Type: Bug Fix
Doc Text:
Previously, when importing an existing, clean storage domain that contains OVF_STORE disks from an old setup to an uninitialized data center, the OVF_STORE disks did not get registered after the data center was initialized and all virtual machine information was lost. With this update, when importing clean storage domains to an uninitialized data center, the OVF_STORE disks are registered correctly, and new unregistered entities are available in the Administration Portal under the Storage tab. In addition, storage domains with dirty metadata cannot be imported to uninitialized data centers.
Story Points: ---
Clone Of: 1214408
: 1218733 (view as bug list) Environment:
Last Closed: 2015-06-15 13:28:02 UTC Type: ---
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: 1214408    
Bug Blocks: 1218733    

Comment 4 Yaniv Lavi 2015-05-05 17:24:57 UTC
Cloned to 3.5.1-1 for tracking BZ #1218733. Moved needinfos to that bug.

Comment 5 Ori Gofen 2015-05-20 10:16:03 UTC
Maor, just for clarification, the point that this bug was found during an attempt to import storage to an un-initialized datacenter has nothing to do with this bug, right?

Comment 6 Maor 2015-05-20 11:52:57 UTC
(In reply to Ori Gofen from comment #5)
> Maor, just for clarification, the point that this bug was found during an
> attempt to import storage to an un-initialized datacenter has nothing to do
> with this bug, right?

no, it is the bug.
The bug is importing a "clean" Storage Domain to an unintialized Data Center

Comment 7 Ori Gofen 2015-05-20 16:49:04 UTC
This bug is Verified using vt15.
attach operation of a storage domain with 'dirty' metadata is CDA
import operation for un-initialized datacenter is greyed out

Comment 8 Eyal Edri 2015-05-26 09:18:40 UTC
added_manually_to_errata

Comment 10 errata-xmlrpc 2015-06-15 13:28:02 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/RHBA-2015-1095.html