Bug 1138134

Summary: [ImportDomain] VM with no disks should be part of the OVF_STORE disk
Product: Red Hat Enterprise Virtualization Manager Reporter: Maor <mlipchuk>
Component: ovirt-engineAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: lkuchlan <lkuchlan>
Severity: low Docs Contact:
Priority: low    
Version: 3.5.0CC: amureini, gklein, juwu, lpeer, rbalakri, Rhev-m-bugs, scohen, yeylon, ykaul
Target Milestone: ovirt-3.6.0-rcKeywords: ZStream
Target Release: 3.6.0Flags: amureini: Triaged+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-3.6.0_qa1 Doc Type: Bug Fix
Doc Text:
Previously, because OVF data of virtual machines or templates with no disks was not stored on any OVF store, when you detach a storage domain and attach the domain to another data center, these virtual machine or templates got lost. With this update, OVF data of diskless virtual machines or templates is stored on all OVF stores on all domains.
Story Points: ---
Clone Of:
: 1176546 (view as bug list) Environment:
Last Closed: 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: 1176546    

Description Maor 2014-09-04 07:02:12 UTC
Description of problem:
There is a gap that VMs/Templates with no disks do not exist in the Storage Domain's OVF, therefore those VMs will not be present in the setup on attach operation.

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


How reproducible:
100%

Steps to Reproduce:
1. Create a VM with no disks
2. Detach the Storage Domain and attach it again to another Data Center
3.

Actual results:
The VM will be lost

Expected results:
The VM should be part of all the OVF_STORE disks on all the Storage Domains 

Additional info:

Comment 1 Allon Mureinik 2014-09-07 11:40:58 UTC
The interesting usecase isn't a VM without ANY disks, but a VM that has only direct LUNs.

In any event - let's have these VM's OVFs on all the domains in the DC.

Comment 3 lkuchlan 2015-04-27 14:08:08 UTC
Tested using ovirt-engine-3.6.0-0.0.master.20150412172306.git55ba764

I created a VM without any disks and then, i attached a direct LUN to it.
In both actions the OVF is uploaded to the domains

Comment 4 Allon Mureinik 2016-03-10 10:48:16 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 5 Allon Mureinik 2016-03-10 10:50:19 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE

Comment 6 Allon Mureinik 2016-03-10 12:06:45 UTC
RHEV 3.6.0 has been released, setting status to CLOSED CURRENTRELEASE