Bug 1007940

Summary: Cannot clone from snapshot while using GlusterFS as POSIX Storage Domain
Product: [Retired] oVirt Reporter: Maciej Malesa <mmalesa>
Component: ovirt-engine-coreAssignee: Omer Frenkel <ofrenkel>
Status: CLOSED WONTFIX QA Contact: bugs <bugs>
Severity: high Docs Contact:
Priority: high    
Version: 3.3CC: acathrow, amureini, fsimonce, iheim, michal.skrivanek, mmalesa, nsoffer, ofrenkel, yeylon
Target Milestone: ---   
Target Release: 3.3.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: virt
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-02-17 08:12:33 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
engine.log
none
engine.log.2 none

Description Maciej Malesa 2013-09-13 15:24:41 UTC
Description of problem:
When I try to clone a VM from snapshot the UI shows blank modal window and it stays blank forever. In engine.log there are messages like those:

2013-09-13 17:12:14,710 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-16) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-09-13 17:12:17,649 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-14) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-09-13 17:12:19,352 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-6) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-09-13 17:12:20,943 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-15) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-09-13 17:12:25,612 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-11) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-09-13 17:12:26,246 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-4) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-09-13 17:12:29,162 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-13) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".

I use GlusterFS as the base for POSIX Storage Domain.

Version-Release number of selected component (if applicable):
oVirt 3.3.0 release 3.el6
glusterfs 3.4.0 release 8.el6

How reproducible:


Steps to Reproduce:
1. Create VM using Posix Storage Domain based on GlusterFS
2. Create snapshot of this VM (with or without 'save memory' checked)
3. Clone VM from the snapshot

Actual results:
UI modal window stays blank forever. Engine.log filled with messages like:
2013-09-13 17:12:29,162 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-13) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".

Expected results:
Showing modal window that allows to enter new name for a VM and successfully create VM from snapshot.

Comment 1 Maciej Malesa 2013-09-14 01:13:48 UTC
I also tried to delete snapshots that may not be used and failed. I stopped the VM and issued snapshot delete. OVirt failed with the message that it failed to do so.
From this point I am unable to create snapshot.

I attached engine.log(In reply to Maciej Malesa from comment #0)
> Description of problem:
> When I try to clone a VM from snapshot the UI shows blank modal window and
> it stays blank forever. In engine.log there are messages like those:
> 
> 2013-09-13 17:12:14,710 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-16) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 2013-09-13 17:12:17,649 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-14) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 2013-09-13 17:12:19,352 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-6) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 2013-09-13 17:12:20,943 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-15) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 2013-09-13 17:12:25,612 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-11) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 2013-09-13 17:12:26,246 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-4) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 2013-09-13 17:12:29,162 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-13) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 
> I use GlusterFS as the base for POSIX Storage Domain.
> 
> Version-Release number of selected component (if applicable):
> oVirt 3.3.0 release 3.el6
> glusterfs 3.4.0 release 8.el6
> 
> How reproducible:
> 
> 
> Steps to Reproduce:
> 1. Create VM using Posix Storage Domain based on GlusterFS
> 2. Create snapshot of this VM (with or without 'save memory' checked)
> 3. Clone VM from the snapshot
> 
> Actual results:
> UI modal window stays blank forever. Engine.log filled with messages like:
> 2013-09-13 17:12:29,162 ERROR
> [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery]
> (ajp--127.0.0.1-8702-13) Query GetVmConfigurationBySnapshotQuery failed.
> Exception message is Element type "openstack" must be followed by either
> attribute specifications, ">" or "/>".
> 
> Expected results:
> Showing modal window that allows to enter new name for a VM and successfully
> create VM from snapshot.

Comment 2 Maciej Malesa 2013-09-14 01:14:20 UTC
Created attachment 797553 [details]
engine.log

Comment 3 Maciej Malesa 2013-09-14 11:37:11 UTC
Now I created snapshot from a different, running VM (without 'save memory'). It said: "Failed to create live snapshot 'test1' for VM 'report2-sl'. VM restart is recommended". 
After that there was a message in UI that creation of the snapshot was completed with a green mark: "Snapshot 'test1' creation for VM 'report2-sl' has been completed.". The snapshot was not visible right after the creation, but the "Clone" option became available (even though that there were no snapshots visible). I refreshed the administration panel and it became visible after that.

The cloning from this snapshot results the same as before (engine.log.2.txt attached).

Then I stopped the VM and clicked 'Delete' button with the newly created snapshot selected. It was deleted successfully (at least there was no error in the UI and engine.log).

This VM had preallocated disk. When I created the snapshot from the VM that had tiny-provisioned disk and deleting it afterwards resulted in the BROKEN state of the snapshot (this should be included in the first engine.log - 2013-09-14 02:55:07,651).

Maciek

Comment 4 Maciej Malesa 2013-09-14 11:37:41 UTC
Created attachment 797599 [details]
engine.log.2

Comment 5 Nir Soffer 2013-09-25 21:00:37 UTC
Please specify ovirt, vdsm and glusterfs versions and software used on the machine running ovirt engine and host.

Comment 6 Maciej Malesa 2013-09-26 13:58:43 UTC
Hi.
Ovirt-engine:
Version     : 3.3.0
Release     : 4.el6 (I upgraded from 3.el6 and still the same)

vdsm:
Version     : 4.12.1
Release     : 2.el6

Version     : 3.4.0
Release     : 8.el6

Today we had a network outage that resulted in lack of network connection between all parts of ovirt gluster (ovirt-engine, vdsm-nodes and gluster-nodes). Gluster Storage (POSIX) after everything went back to normal, is in 'Unknown' state. I cannot activate it now because of the errors in SPM election (every Host has mounted glusterfs share):


2013-09-26 15:55:24,665 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (DefaultQuartzScheduler_Worker-34) START, HSMClearTaskVDSCommand(HostName = compute1-sl, HostId = 24210df0-36b6-4483-a3a6-b4ed4abfa3d0, taskId=90436bdd-13e7-44e5-a48c-cf51315af5ee), log id: 1418f70c
2013-09-26 15:55:24,670 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMClearTaskVDSCommand] (DefaultQuartzScheduler_Worker-34) FINISH, HSMClearTaskVDSCommand, log id: 1418f70c
2013-09-26 15:55:24,670 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStartVDSCommand] (DefaultQuartzScheduler_Worker-34) FINISH, SpmStartVDSCommand, return: org.ovirt.engine.core.common.businessentities.SpmStatusResult@6460d51f, log id: f3bf81c
2013-09-26 15:55:24,671 INFO  [org.ovirt.engine.core.bll.storage.SetStoragePoolStatusCommand] (DefaultQuartzScheduler_Worker-34) Running command: SetStoragePoolStatusCommand internal: true. Entities affected :  ID: 04d71d5a-5da9-47d1-be74-61ebba4ec5b8 Type: StoragePool
2013-09-26 15:55:24,700 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-34) IrsBroker::Failed::GetStoragePoolInfoVDS due to: IrsSpmStartFailedException: IRSGenericException: IRSErrorException: SpmStart failed
2013-09-26 15:55:24,743 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-34) Irs placed on server 24210df0-36b6-4483-a3a6-b4ed4abfa3d0 failed. Proceed Failover
2013-09-26 15:55:24,780 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-34) hostFromVds::selectedVds - compute2-sl, spmStatus Free, storage pool SL_DALLAS_5
2013-09-26 15:55:24,781 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-34) SPM Init: could not find reported vds or not up - pool:SL_DALLAS_5 vds_spm_id: 1
2013-09-26 15:55:24,792 INFO  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-34) SPM selection - vds seems as spm compute1-sl
2013-09-26 15:55:24,802 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand] (DefaultQuartzScheduler_Worker-34) START, SpmStopVDSCommand(HostName = compute1-sl, HostId = 24210df0-36b6-4483-a3a6-b4ed4abfa3d0, storagePoolId = 04d71d5a-5da9-47d1-be74-61ebba4ec5b8), log id: cf34611
2013-09-26 15:55:24,808 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler_Worker-34) Command org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand return value 
 
TaskStatusListReturnForXmlRpc [mStatus=StatusForXmlRpc [mCode=654, mMessage=Not SPM]]

2013-09-26 15:55:24,819 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler_Worker-34) HostName = compute1-sl
2013-09-26 15:55:24,820 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.HSMGetAllTasksStatusesVDSCommand] (DefaultQuartzScheduler_Worker-34) Command HSMGetAllTasksStatusesVDS execution failed. Exception: IRSNonOperationalException: IRSGenericException: IRSErrorException: IRSNonOperationalException: Not SPM
2013-09-26 15:55:24,820 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand] (DefaultQuartzScheduler_Worker-34) SpmStopVDSCommand::Stopping SPM on vds compute1-sl, pool id 04d71d5a-5da9-47d1-be74-61ebba4ec5b8
2013-09-26 15:55:24,828 INFO  [org.ovirt.engine.core.vdsbroker.vdsbroker.SpmStopVDSCommand] (DefaultQuartzScheduler_Worker-34) FINISH, SpmStopVDSCommand, log id: cf34611
2013-09-26 15:55:24,829 WARN  [org.ovirt.engine.core.vdsbroker.irsbroker.IrsBrokerCommand] (DefaultQuartzScheduler_Worker-34) spm stop on spm failed, stopping spm selection!



Therefore I am unable to test snapshots.

Comment 7 Maciej Malesa 2013-09-26 14:53:59 UTC
OK. The problems with Storage domain and gluster are now resolved and I can test snapshot creations. 

The error with storage domain was the split-brain situation on one of gluster ids files. Thanks to samppah on #ovirt i was able to fix the problem.

Comment 8 Allon Mureinik 2013-09-29 07:25:45 UTC
Sounds like a malformed OVF in the database.

Are you using OpenStack in any way?

can you please run the following query on the database and attach the result?
SELECT vm_configuration FROM snapshots WHERE description = '<name of your snapshot>'

Comment 9 Maciej Malesa 2013-10-01 10:04:18 UTC
Hi.

No, I am not using openstack in any way.

The result of the SQL query You provided is:

engine=# \x
Expanded display is on.
engine=# SELECT * FROM snapshots where description = 'rtr-virt1';
-[ RECORD 1 ]----+----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
snapshot_id      | 4df156c4-f8d4-4ee2-92a2-e55c616525cf
vm_id            | d93fe3fa-05e5-4e93-8f2a-9e82084c6f26
snapshot_type    | REGULAR
status           | BROKEN
description      | rtr-virt1
creation_date    | 2013-09-09 15:40:08.593+02
app_list         | ovirt-guest-agent-1.0.8-1.el6,kernel-2.6.32-358.el6
vm_configuration | <?xml version='1.0' encoding='UTF-8'?><ovf:Envelope xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1/" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ovf:version="3.3.0.0"><References><File ovf:href="34199311-4561-4c9c-9b97-a4e42e389140/a3ac0168-b946-45b8-a757-1062ba409779" ovf:id="a3ac0168-b946-45b8-a757-1062ba409779" ovf:size="8589934592" ovf:description=""/><Nic ovf:id="af5e7299-4187-4835-a748-255b16176f9c"/><Nic ovf:id="215718d8-dfc4-4e27-84db-b46c95daadf7"/></References><Section xsi:type="ovf:NetworkSection_Type"><Info>List of networks</Info><Network ovf:name="Network 1"/></Section><Section xsi:type="ovf:DiskSection_Type"><Info>List of Virtual Disks</Info><Disk ovf:diskId="a3ac0168-b946-45b8-a757-1062ba409779" ovf:size="8" ovf:actual_size="8" ovf:vm_snapshot_id="4df156c4-f8d4-4ee2-92a2-e55c616525cf" ovf:parentRef="" ovf:fileRef="34199311-4561-4c9c-9b97-a4e42e389140/a3ac0168-b946-45b8-a757-1062ba409779" ovf:format="http://www.vmware.com/specifications/vmdk.html#sparse" ovf:volume-format="RAW" ovf:volume-type="Preallocated" ovf:disk-interface="VirtIO" ovf:boot="true" ovf:disk-alias="root_base_Disk1" ovf:wipe-after-delete="false"/></Section><Content ovf:id="out" xsi:type="ovf:VirtualSystem_Type"><Description></Description><Domain></Domain><CreationDate>2013/09/08 10:59:42</CreationDate><ExportDate>2013/09/09 13:40:08</ExportDate><DeleteProtected>false</DeleteProtected><IsSmartcardEnabled>false</IsSmartcardEnabled><TimeZone></TimeZone><default_boot_sequence>0</default_boot_sequence><Generation>2</Generation><VmType>1</VmType><MinAllocatedMem>682</MinAllocatedMem><IsStateless>false</IsStateless><IsRunAndPause>false</IsRunAndPause><CreatedByUserId>fdfc627c-d875-11e0-90f0-83df133b58cc</CreatedByUserId><Name>rtr-virt1-sl</Name><TemplateId>00000000-0000-0000-0000-000000000000</TemplateId><TemplateName>Blank</TemplateName><IsInitilized>true</IsInitilized><Origin>3</Origin><app_list>ovirt-guest-agent-1.0.8-1.el6,kernel-2.6.32-358.el6</app_list><quota_id>0027ebc6-a105-464b-b2c5-48adfb207511</quota_id><DefaultDisplayType>0</DefaultDisplayType><TrustedService>false</TrustedService><Section ovf:id="d93fe3fa-05e5-4e93-8f2a-9e82084c6f26" ovf:required="false" xsi:type="ovf:OperatingSystemSection_Type"><Info>Guest Operating System</Info><Description>RHEL6x64</Description></Section><Section xsi:type="ovf:VirtualHardwareSection_Type"><Info>1 CPU, 1024 Memeory</Info><System><vssd:VirtualSystemType>ENGINE 3.3.0.0</vssd:VirtualSystemType></System><Item><rasd:Caption>1 virtual cpu</rasd:Caption><rasd:Description>Number of virtual CPU</rasd:Description><rasd:InstanceId>1</rasd:InstanceId><rasd:ResourceType>3</rasd:ResourceType><rasd:num_of_sockets>1</rasd:num_of_sockets><rasd:cpu_per_socket>1</rasd:cpu_per_socket></Item><Item><rasd:Caption>1024 MB of memory</rasd:Caption><rasd:Description>Memory Size</rasd:Description><rasd:InstanceId>2</rasd:InstanceId><rasd:ResourceType>4</rasd:ResourceType><rasd:AllocationUnits>MegaBytes</rasd:AllocationUnits><rasd:VirtualQuantity>1024</rasd:VirtualQuantity></Item><Item><rasd:Caption>root_base_Disk1</rasd:Caption><rasd:InstanceId>a3ac0168-b946-45b8-a757-1062ba409779</rasd:InstanceId><rasd:ResourceType>17</rasd:ResourceType><rasd:HostResource>34199311-4561-4c9c-9b97-a4e42e389140/a3ac0168-b946-45b8-a757-1062ba409779</rasd:HostResource><rasd:Parent>00000000-0000-0000-0000-000000000000</rasd:Parent><rasd:Template>00000000-0000-0000-0000-000000000000</rasd:Template><rasd:ApplicationList></rasd:ApplicationList><rasd:StoragePoolId>04d71d5a-5da9-47d1-be74-61ebba4ec5b8</rasd:StoragePoolId><rasd:CreationDate>2013/09/08 10:59:43</rasd:CreationDate><rasd:LastModified>2013/09/08 10:59:43</rasd:LastModified><rasd:last_modified_date>2013/09/09 13:40:08</rasd:last_modified_date><Type>disk</Type><Device>disk</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x06, function=0x0}</rasd:Address><BootOrder>1</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>virtio-disk0</Alias></Item><Item><rasd:Caption>Ethernet adapter on ovirtmgmt</rasd:Caption><rasd:InstanceId>af5e7299-4187-4835-a748-255b16176f9c</rasd:InstanceId><rasd:ResourceType>10</rasd:ResourceType><rasd:ResourceSubType>3</rasd:ResourceSubType><rasd:Connection>ovirtmgmt</rasd:Connection><rasd:Linked>true</rasd:Linked><rasd:Name>nic1</rasd:Name><rasd:MACAddress>00:1a:4a:61:b4:9c</rasd:MACAddress><rasd:speed>1000</rasd:speed><Type>interface</Type><Device>bridge</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x04, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>net0</Alias></Item><Item><rasd:Caption>Ethernet adapter on public</rasd:Caption><rasd:InstanceId>215718d8-dfc4-4e27-84db-b46c95daadf7</rasd:InstanceId><rasd:ResourceType>10</rasd:ResourceType><rasd:ResourceSubType>3</rasd:ResourceSubType><rasd:Connection>public</rasd:Connection><rasd:Linked>true</rasd:Linked><rasd:Name>nic2</rasd:Name><rasd:MACAddress>00:1a:4a:61:b4:9d</rasd:MACAddress><rasd:speed>1000</rasd:speed><Type>interface</Type><Device>bridge</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x03, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>net1</Alias></Item><Item><rasd:Caption>USB Controller</rasd:Caption><rasd:InstanceId>3</rasd:InstanceId><rasd:ResourceType>23</rasd:ResourceType><rasd:UsbPolicy>DISABLED</rasd:UsbPolicy></Item><Item><rasd:Caption>Graphical Controller</rasd:Caption><rasd:InstanceId>20113736-5da7-43cd-a56c-48eca97fe21b</rasd:InstanceId><rasd:ResourceType>20</rasd:ResourceType><rasd:VirtualQuantity>1</rasd:VirtualQuantity><Type>video</Type><Device>cirrus</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x02, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>true</IsReadOnly><Alias>video0</Alias><SpecParams><vram>65536</vram></SpecParams></Item><Item><rasd:Caption>CDROM</rasd:Caption><rasd:InstanceId>79766b84-e466-4eef-9739-560643567f50</rasd:InstanceId><rasd:ResourceType>15</rasd:ResourceType><Type>disk</Type><Device>cdrom</Device><rasd:Address>{unit=0, bus=1, target=0, controller=0, type=drive}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>true</IsReadOnly><Alias>ide0-1-0</Alias><SpecParams><path></path></SpecParams></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>b850c5b3-2510-4f4b-bf97-2e8fafb690c1</rasd:InstanceId><Type>controller</Type><Device>scsi</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x05, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>scsi0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>1358cf17-6d6b-4247-9cab-d69a8f813993</rasd:InstanceId><Type>disk</Type><Device>cdrom</Device><rasd:Address>{unit=1, bus=1, target=0, controller=0, type=drive}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>ide0-1-1</Alias><SpecParams><vmPayload><file><openstack/latest/meta_data.json>ewogICJsYXVuY2hfaW5kZXgiIDogIjAiLAogICJhdmFpbGFiaWxpdHlfem9uZSIgOiAibm92YSIs
                 : CiAgInV1aWQiIDogIjAzMDU4M2JkLWYzYWQtNGIzOS05Y2FiLTVjYTEwMDI1N2QxMiIsCiAgIm1l
                 : dGEiIDogewogICAgImVzc2VudGlhbCIgOiAiZmFsc2UiLAogICAgInJvbGUiIDogInNlcnZlciIs
                 : CiAgICAiZHNtb2RlIiA6ICJsb2NhbCIKICB9Cn0=
                 : </openstack/latest/meta_data.json><openstack/latest/user_data>b3V0cHV0OgogIGFsbDogJz4+IC92YXIvbG9nL2Nsb3VkLWluaXQtb3V0cHV0LmxvZycKdXNlcjog
                 : cm9vdApydW5jbWQ6Ci0gJ3NlZCAtaSAnJy9eZGF0YXNvdXJjZV9saXN0OiAvZCcnIC9ldGMvY2xv
                 : dWQvY2xvdWQuY2ZnOyBlY2hvICcnZGF0YXNvdXJjZV9saXN0OgogIFsiTm9DbG91ZCIsICJDb25m
                 : aWdEcml2ZSJdJycgPj4gL2V0Yy9jbG91ZC9jbG91ZC5jZmcnCg==
                 : </openstack/latest/user_data></file><volId>config-2</volId></vmPayload></SpecParams></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>7b3fc8cb-26ba-486b-9c9c-f5a3f0ea9f83</rasd:InstanceId><Type>controller</Type><Device>usb</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x01, function=0x2}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>usb0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>d7af73f8-af58-416c-bfcd-da753ad400d4</rasd:InstanceId><Type>controller</Type><Device>ide</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x01, function=0x1}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>ide0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>7f4db3cc-6dc6-4bf0-9d09-0bc83ade0545</rasd:InstanceId><Type>controller</Type><Device>virtio-serial</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x07, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>virtio-serial0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>9fed86e4-3a28-41c2-8478-b1d255a71847</rasd:InstanceId><Type>channel</Type><Device>unix</Device><rasd:Address>{port=1, bus=0, controller=0, type=virtio-serial}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>channel0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>e7ab9f9b-b5d2-4e45-acee-109f60a66aa1</rasd:InstanceId><Type>channel</Type><Device>unix</Device><rasd:Address>{port=2, bus=0, controller=0, type=virtio-serial}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>channel1</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>5aa70166-8592-4098-921c-e090a2e192bd</rasd:InstanceId><Type>balloon</Type><Device>memballoon</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x08, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>true</IsReadOnly><Alias>balloon0</Alias><SpecParams><model>virtio</model></SpecParams></Item></Section></Content></ovf:Envelope>
_create_date     | 2013-09-09 15:40:08.584745+02
_update_date     | 
memory_volume    | 6a780139-6b4d-4a60-9d59-21c2a5674bd0,04d71d5a-5da9-47d1-be74-61ebba4ec5b8,e1c5fd32-3127-4d3a-b3af-6a6f21a283c2,76c295ca-78b7-4b9b-a850-b5241f2114df,6064dae3-a21e-4c2c-82e3-2f4c716023a6,af4dcecc-8146-4995-ae63-5fca8757b117




I also have second snapshot for comparison:


engine=# SELECT * FROM snapshots where description = 'rtr-virt-snap2';
-[ RECORD 1 ]----+--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
snapshot_id      | bc53e4c9-c37e-4944-9db7-de78548b8afd
vm_id            | d93fe3fa-05e5-4e93-8f2a-9e82084c6f26
snapshot_type    | REGULAR
status           | BROKEN
description      | rtr-virt-snap2
creation_date    | 2013-09-13 15:48:23.249+02
app_list         | ovirt-guest-agent-1.0.8-1.el6,kernel-2.6.32-358.el6
vm_configuration | <?xml version='1.0' encoding='UTF-8'?><ovf:Envelope xmlns:ovf="http://schemas.dmtf.org/ovf/envelope/1/" xmlns:rasd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_ResourceAllocationSettingData" xmlns:vssd="http://schemas.dmtf.org/wbem/wscim/1/cim-schema/2/CIM_VirtualSystemSettingData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" ovf:version="3.3.0.0"><References><File ovf:href="34199311-4561-4c9c-9b97-a4e42e389140/12d9f307-51d6-4315-880b-98925d36f12b" ovf:id="12d9f307-51d6-4315-880b-98925d36f12b" ovf:size="8589934592" ovf:description=""/><Nic ovf:id="af5e7299-4187-4835-a748-255b16176f9c"/><Nic ovf:id="215718d8-dfc4-4e27-84db-b46c95daadf7"/></References><Section xsi:type="ovf:NetworkSection_Type"><Info>List of networks</Info><Network ovf:name="Network 1"/></Section><Section xsi:type="ovf:DiskSection_Type"><Info>List of Virtual Disks</Info><Disk ovf:diskId="12d9f307-51d6-4315-880b-98925d36f12b" ovf:size="8" ovf:actual_size="8" ovf:vm_snapshot_id="bc53e4c9-c37e-4944-9db7-de78548b8afd" ovf:parentRef="" ovf:fileRef="34199311-4561-4c9c-9b97-a4e42e389140/12d9f307-51d6-4315-880b-98925d36f12b" ovf:format="http://www.gnome.org/~markmc/qcow-image-format.html" ovf:volume-format="COW" ovf:volume-type="Sparse" ovf:disk-interface="VirtIO" ovf:boot="true" ovf:disk-alias="root_base_Disk1" ovf:wipe-after-delete="false"/></Section><Content ovf:id="out" xsi:type="ovf:VirtualSystem_Type"><Description></Description><Domain></Domain><CreationDate>2013/09/08 10:59:42</CreationDate><ExportDate>2013/09/13 13:48:23</ExportDate><DeleteProtected>false</DeleteProtected><IsSmartcardEnabled>false</IsSmartcardEnabled><TimeZone></TimeZone><default_boot_sequence>0</default_boot_sequence><Generation>4</Generation><VmType>1</VmType><MinAllocatedMem>682</MinAllocatedMem><IsStateless>false</IsStateless><IsRunAndPause>false</IsRunAndPause><CreatedByUserId>fdfc627c-d875-11e0-90f0-83df133b58cc</CreatedByUserId><Name>rtr-virt1-sl</Name><TemplateId>00000000-0000-0000-0000-000000000000</TemplateId><TemplateName>Blank</TemplateName><IsInitilized>true</IsInitilized><Origin>3</Origin><app_list>ovirt-guest-agent-1.0.8-1.el6,kernel-2.6.32-358.el6</app_list><quota_id>0027ebc6-a105-464b-b2c5-48adfb207511</quota_id><DefaultDisplayType>0</DefaultDisplayType><TrustedService>false</TrustedService><Section ovf:id="d93fe3fa-05e5-4e93-8f2a-9e82084c6f26" ovf:required="false" xsi:type="ovf:OperatingSystemSection_Type"><Info>Guest Operating System</Info><Description>RHEL6x64</Description></Section><Section xsi:type="ovf:VirtualHardwareSection_Type"><Info>1 CPU, 1024 Memeory</Info><System><vssd:VirtualSystemType>ENGINE 3.3.0.0</vssd:VirtualSystemType></System><Item><rasd:Caption>1 virtual cpu</rasd:Caption><rasd:Description>Number of virtual CPU</rasd:Description><rasd:InstanceId>1</rasd:InstanceId><rasd:ResourceType>3</rasd:ResourceType><rasd:num_of_sockets>1</rasd:num_of_sockets><rasd:cpu_per_socket>1</rasd:cpu_per_socket></Item><Item><rasd:Caption>1024 MB of memory</rasd:Caption><rasd:Description>Memory Size</rasd:Description><rasd:InstanceId>2</rasd:InstanceId><rasd:ResourceType>4</rasd:ResourceType><rasd:AllocationUnits>MegaBytes</rasd:AllocationUnits><rasd:VirtualQuantity>1024</rasd:VirtualQuantity></Item><Item><rasd:Caption>root_base_Disk1</rasd:Caption><rasd:InstanceId>12d9f307-51d6-4315-880b-98925d36f12b</rasd:InstanceId><rasd:ResourceType>17</rasd:ResourceType><rasd:HostResource>34199311-4561-4c9c-9b97-a4e42e389140/12d9f307-51d6-4315-880b-98925d36f12b</rasd:HostResource><rasd:Parent>a8076675-07cb-4a19-af91-579f575cd666</rasd:Parent><rasd:Template>00000000-0000-0000-0000-000000000000</rasd:Template><rasd:ApplicationList></rasd:ApplicationList><rasd:StoragePoolId>04d71d5a-5da9-47d1-be74-61ebba4ec5b8</rasd:StoragePoolId><rasd:CreationDate>2013/09/13 12:33:12</rasd:CreationDate><rasd:LastModified>2013/09/13 12:33:12</rasd:LastModified><rasd:last_modified_date>2013/09/13 13:48:23</rasd:last_modified_date><Type>disk</Type><Device>disk</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x06, function=0x0}</rasd:Address><BootOrder>1</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>virtio-disk0</Alias></Item><Item><rasd:Caption>Ethernet adapter on ovirtmgmt</rasd:Caption><rasd:InstanceId>af5e7299-4187-4835-a748-255b16176f9c</rasd:InstanceId><rasd:ResourceType>10</rasd:ResourceType><rasd:ResourceSubType>3</rasd:ResourceSubType><rasd:Connection>ovirtmgmt</rasd:Connection><rasd:Linked>true</rasd:Linked><rasd:Name>nic1</rasd:Name><rasd:MACAddress>00:1a:4a:61:b4:9c</rasd:MACAddress><rasd:speed>1000</rasd:speed><Type>interface</Type><Device>bridge</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x04, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>net0</Alias></Item><Item><rasd:Caption>Ethernet adapter on public</rasd:Caption><rasd:InstanceId>215718d8-dfc4-4e27-84db-b46c95daadf7</rasd:InstanceId><rasd:ResourceType>10</rasd:ResourceType><rasd:ResourceSubType>3</rasd:ResourceSubType><rasd:Connection>public</rasd:Connection><rasd:Linked>true</rasd:Linked><rasd:Name>nic2</rasd:Name><rasd:MACAddress>00:1a:4a:61:b4:9d</rasd:MACAddress><rasd:speed>1000</rasd:speed><Type>interface</Type><Device>bridge</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x03, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>net1</Alias></Item><Item><rasd:Caption>USB Controller</rasd:Caption><rasd:InstanceId>3</rasd:InstanceId><rasd:ResourceType>23</rasd:ResourceType><rasd:UsbPolicy>DISABLED</rasd:UsbPolicy></Item><Item><rasd:Caption>Graphical Controller</rasd:Caption><rasd:InstanceId>20113736-5da7-43cd-a56c-48eca97fe21b</rasd:InstanceId><rasd:ResourceType>20</rasd:ResourceType><rasd:VirtualQuantity>1</rasd:VirtualQuantity><Type>video</Type><Device>cirrus</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x02, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>true</IsReadOnly><Alias>video0</Alias><SpecParams><vram>65536</vram></SpecParams></Item><Item><rasd:Caption>CDROM</rasd:Caption><rasd:InstanceId>79766b84-e466-4eef-9739-560643567f50</rasd:InstanceId><rasd:ResourceType>15</rasd:ResourceType><Type>disk</Type><Device>cdrom</Device><rasd:Address>{unit=0, bus=1, target=0, controller=0, type=drive}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>true</IsReadOnly><Alias>ide0-1-0</Alias><SpecParams><path></path></SpecParams></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>dc71b75c-10a6-497f-bae5-cf7b694d32be</rasd:InstanceId><Type>controller</Type><Device>scsi</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x05, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>scsi0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>01565a45-4027-4d43-9a51-21fdcc6c2ee3</rasd:InstanceId><Type>disk</Type><Device>cdrom</Device><rasd:Address>{unit=1, bus=1, target=0, controller=0, type=drive}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>ide0-1-1</Alias><SpecParams><vmPayload><file><openstack/latest/meta_data.json>ewogICJsYXVuY2hfaW5kZXgiIDogIjAiLAogICJhdmFpbGFiaWxpdHlfem9uZSIgOiAibm92YSIs
                 : CiAgInV1aWQiIDogIjAzMDU4M2JkLWYzYWQtNGIzOS05Y2FiLTVjYTEwMDI1N2QxMiIsCiAgIm1l
                 : dGEiIDogewogICAgImVzc2VudGlhbCIgOiAiZmFsc2UiLAogICAgInJvbGUiIDogInNlcnZlciIs
                 : CiAgICAiZHNtb2RlIiA6ICJsb2NhbCIKICB9Cn0=
                 : </openstack/latest/meta_data.json><openstack/latest/user_data>b3V0cHV0OgogIGFsbDogJz4+IC92YXIvbG9nL2Nsb3VkLWluaXQtb3V0cHV0LmxvZycKdXNlcjog
                 : cm9vdApydW5jbWQ6Ci0gJ3NlZCAtaSAnJy9eZGF0YXNvdXJjZV9saXN0OiAvZCcnIC9ldGMvY2xv
                 : dWQvY2xvdWQuY2ZnOyBlY2hvICcnZGF0YXNvdXJjZV9saXN0OgogIFsiTm9DbG91ZCIsICJDb25m
                 : aWdEcml2ZSJdJycgPj4gL2V0Yy9jbG91ZC9jbG91ZC5jZmcnCg==
                 : </openstack/latest/user_data></file><volId>config-2</volId></vmPayload></SpecParams></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>78959642-4f90-49f2-a057-89946ace7c8f</rasd:InstanceId><Type>controller</Type><Device>usb</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x01, function=0x2}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>usb0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>6fc0797d-c025-466d-8366-78b579a673eb</rasd:InstanceId><Type>controller</Type><Device>ide</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x01, function=0x1}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>ide0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>8125e0a8-551d-43fe-befc-99aca595accc</rasd:InstanceId><Type>controller</Type><Device>virtio-serial</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x07, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>virtio-serial0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>f5ea2068-e4c9-4b45-8459-7d4973bbbfe9</rasd:InstanceId><Type>channel</Type><Device>unix</Device><rasd:Address>{port=1, bus=0, controller=0, type=virtio-serial}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>channel0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>45e4c354-8458-44c3-b894-8eb703e9e8fa</rasd:InstanceId><Type>channel</Type><Device>unix</Device><rasd:Address>{port=2, bus=0, controller=0, type=virtio-serial}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>channel1</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>5aa70166-8592-4098-921c-e090a2e192bd</rasd:InstanceId><Type>balloon</Type><Device>memballoon</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x08, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>true</IsReadOnly><Alias>balloon0</Alias><SpecParams><model>virtio</model></SpecParams></Item></Section></Content></ovf:Envelope>
_create_date     | 2013-09-13 15:48:23.207339+02
_update_date     | 
memory_volume    | 6a780139-6b4d-4a60-9d59-21c2a5674bd0,04d71d5a-5da9-47d1-be74-61ebba4ec5b8,827f7aaa-188d-40c4-8c62-99d41884ab54,9af558c1-a95c-4628-9b71-7a29fbfa45e9,de2ff724-86c6-4f87-a8fa-8462147a7999,55f0e4ca-cfc1-4dd3-ab06-9c07139e6fe5

Comment 10 Allon Mureinik 2013-10-01 16:39:47 UTC
OK, here's the problem:

When writing the SpecParams to the OVF the values are not escaped:
<SpecParams><vmPayload><file><openstack/latest/meta_data.json>ewogICJsYXVuY2hfaW5kZXgiIDogIjAiLAogICJhdmFpbGFiaWxpdHlfem9uZSIgOiAibm92YSIs
                 : CiAgInV1aWQiIDogIjAzMDU4M2JkLWYzYWQtNGIzOS05Y2FiLTVjYTEwMDI1N2QxMiIsCiAgIm1l
                 : dGEiIDogewogICAgImVzc2VudGlhbCIgOiAiZmFsc2UiLAogICAgInJvbGUiIDogInNlcnZlciIs
                 : CiAgICAiZHNtb2RlIiA6ICJsb2NhbCIKICB9Cn0=
                 : </openstack/latest/meta_data.json><openstack/latest/user_data>b3V0cHV0OgogIGFsbDogJz4+IC92YXIvbG9nL2Nsb3VkLWluaXQtb3V0cHV0LmxvZycKdXNlcjog
                 : cm9vdApydW5jbWQ6Ci0gJ3NlZCAtaSAnJy9eZGF0YXNvdXJjZV9saXN0OiAvZCcnIC9ldGMvY2xv
                 : dWQvY2xvdWQuY2ZnOyBlY2hvICcnZGF0YXNvdXJjZV9saXN0OgogIFsiTm9DbG91ZCIsICJDb25m
                 : aWdEcml2ZSJdJycgPj4gL2V0Yy9jbG91ZC9jbG91ZC5jZmcnCg==
                 : </openstack/latest/user_data></file><volId>config-2</volId></vmPayload></SpecParams>

Notice the string "</openstack/latest/user_data></file><volId>config-2</volId>" which is illegal inside an XML file.

Michal, do you have any insight on this?
Seems unrelated to the storage used here.

Comment 11 Michal Skrivanek 2013-10-01 16:52:18 UTC
yeah, we should check the ovf code...

Comment 12 Maciej Malesa 2013-10-23 10:16:02 UTC
Hi.
I just updated ovirt-engine to version 3.3.0.1-1:

engine-setup:
[ INFO  ] Yum update: 1/14: ovirt-engine-webadmin-portal-3.3.0.1-1.el6.noarch
[ INFO  ] Yum update: 2/14: ovirt-engine-restapi-3.3.0.1-1.el6.noarch
[ INFO  ] Yum update: 3/14: ovirt-engine-dbscripts-3.3.0.1-1.el6.noarch
[ INFO  ] Yum update: 4/14: ovirt-engine-backend-3.3.0.1-1.el6.noarch
[ INFO  ] Yum update: 5/14: ovirt-engine-tools-3.3.0.1-1.el6.noarch
[ INFO  ] Yum update: 6/14: ovirt-engine-3.3.0.1-1.el6.noarch
[ INFO  ] Yum update: 7/14: ovirt-engine-userportal-3.3.0.1-1.el6.noarch
[ INFO  ] Yum updated: 8/14: ovirt-engine-backend
[ INFO  ] Yum updated: 9/14: ovirt-engine-dbscripts
[ INFO  ] Yum updated: 10/14: ovirt-engine-restapi
[ INFO  ] Yum updated: 11/14: ovirt-engine-tools
[ INFO  ] Yum updated: 12/14: ovirt-engine-webadmin-portal
[ INFO  ] Yum updated: 13/14: ovirt-engine
[ INFO  ] Yum updated: 14/14: ovirt-engine-userportal
[ INFO  ] Yum Verify: 1/14: ovirt-engine-userportal.noarch 0:3.3.0.1-1.el6 - u
[ INFO  ] Yum Verify: 2/14: ovirt-engine-webadmin-portal.noarch 0:3.3.0.1-1.el6 - u
[ INFO  ] Yum Verify: 3/14: ovirt-engine-restapi.noarch 0:3.3.0.1-1.el6 - u
[ INFO  ] Yum Verify: 4/14: ovirt-engine-dbscripts.noarch 0:3.3.0.1-1.el6 - u
[ INFO  ] Yum Verify: 5/14: ovirt-engine.noarch 0:3.3.0.1-1.el6 - u
[ INFO  ] Yum Verify: 6/14: ovirt-engine-backend.noarch 0:3.3.0.1-1.el6 - u
[ INFO  ] Yum Verify: 7/14: ovirt-engine-tools.noarch 0:3.3.0.1-1.el6 - u
[ INFO  ] Yum Verify: 8/14: ovirt-engine-tools.noarch 0:3.3.0-4.el6 - ud
[ INFO  ] Yum Verify: 9/14: ovirt-engine-webadmin-portal.noarch 0:3.3.0-4.el6 - ud
[ INFO  ] Yum Verify: 10/14: ovirt-engine-restapi.noarch 0:3.3.0-4.el6 - ud
[ INFO  ] Yum Verify: 11/14: ovirt-engine-dbscripts.noarch 0:3.3.0-4.el6 - ud
[ INFO  ] Yum Verify: 12/14: ovirt-engine-userportal.noarch 0:3.3.0-4.el6 - ud
[ INFO  ] Yum Verify: 13/14: ovirt-engine-backend.noarch 0:3.3.0-4.el6 - ud
[ INFO  ] Yum Verify: 14/14: ovirt-engine.noarch 0:3.3.0-4.el6 - ud

And snaphots are still buggy. When I click 'clone' for a given snapshot it opens a new modal window and hangs indicating loading some content.

engine.log:
2013-10-23 12:12:25,514 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-10) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-10-23 12:12:30,497 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-5) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-10-23 12:12:33,163 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-10) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-10-23 12:12:34,775 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-9) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".
2013-10-23 12:12:40,672 ERROR [org.ovirt.engine.core.bll.GetVmConfigurationBySnapshotQuery] (ajp--127.0.0.1-8702-4) Query GetVmConfigurationBySnapshotQuery failed. Exception message is Element type "openstack" must be followed by either attribute specifications, ">" or "/>".

Comment 14 Omer Frenkel 2013-10-27 10:36:51 UTC
This issue has been fixed by the fix for bug 997910
seems this fix missed 3.3.0.1 but it should be in oVirt 3.3.1

but issue will continue if trying to use existing snapshots with broken ovf data
i will send a patch to fix upgrade of existing "bad" snapshots

Comment 15 Michal Skrivanek 2013-11-12 08:16:35 UTC
decreasing prio since the original problem is already fixed

Comment 16 Sandro Bonazzola 2013-11-28 15:33:44 UTC
Re-targeting to 3.3.3 since the bug is not resolved in 3.3.2 beta and is not blocking 3.3.2 release tracker (bug #1027349)

Comment 17 Sandro Bonazzola 2014-01-22 11:29:01 UTC
Re targeting to 3.3.4 as not blocking 3.3.3 release.

Comment 18 Omer Frenkel 2014-02-17 08:12:33 UTC
closing, since the issue can only happen on 3.3.0,
when taking live snapshot for vm that was run with cloud init (or first run for linux vm), this was fixed in 3.3.1.
fixing upgrade to these doesnt seem to be worth the trouble.

a simple work-around for existing 'bad' snapshots is to remove the wrong xml part from the snapshots table.

please re-open if you think we do need to fix it.