Bug 1138134 - [ImportDomain] VM with no disks should be part of the OVF_STORE disk
Summary: [ImportDomain] VM with no disks should be part of the OVF_STORE disk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.5.0
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: ovirt-3.6.0-rc
: 3.6.0
Assignee: Liron Aravot
QA Contact: lkuchlan
URL:
Whiteboard:
Depends On:
Blocks: 1176546
TreeView+ depends on / blocked
 
Reported: 2014-09-04 07:02 UTC by Maor
Modified: 2016-03-10 12:06 UTC (History)
9 users (show)

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.
Clone Of:
: 1176546 (view as bug list)
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:
amureini: Triaged+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 34292 0 master MERGED core: OVFs that aren't stored on any domain should be stored on all 2021-02-01 08:36:45 UTC
oVirt gerrit 35818 0 ovirt-engine-3.5 MERGED core: OVFs that aren't stored on any domain should be stored on all 2021-02-01 08:36:45 UTC
oVirt gerrit 35943 0 master MERGED core: Upload only the DC diskless VMs/Templates to OVF stores 2021-02-01 08:36:44 UTC
oVirt gerrit 36098 0 ovirt-engine-3.5 MERGED core: Upload only the DC diskless VMs/Templates to OVF stores 2021-02-01 08:36:45 UTC

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


Note You need to log in before you can comment on or make changes to this bug.