I did take a quick look through the ovf file but wasn't sure what would be out of order and also with it being every vm that is exported, and I've exported each VM several times I did wonder whether that would be the issue.

Nevertheless see attached for an example ovf.

Thanks

Jon

On 18/03/15 11:05, Tomas Jelinek wrote:
Hi Jon,

could you please attach the ovf files here?
Somewhere in the export domain you should have files with .ovf extension which 
is an XML describing the VM. I'd say they will be corrupted.

Thanx,
Tomas

----- Original Message -----
From: "Jon Archer" <j...@rosslug.org.uk>
To: users@ovirt.org
Sent: Wednesday, March 18, 2015 12:36:14 AM
Subject: [ovirt-users] Failed to read VM '[Empty Name]' OVF,    it may be 
corrupted

Hi all,

seing a strange issue here, I'm currently in the process of migrating
from one ovirt setup to another and having trouble with the
export/import process.

The new setup is a 3.5 install with hosted engine and glusterfs the old
one is running on a nightly release (not too recent)

I have brought up an NFS export on the existing storage on the old
setup, successfully exported a number of VM's and imported them onto the
new system.

However I came to move the last 4 VM's and am seeing an issue where
after attaching the export storage to the new setup I see no VMs in the
export storage to import and see this in the log:
2015-03-17 23:30:56,742 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--127.0.0.1-8702-8) START, GetVmsInfoVDSCommand( storagePoolId =
00000002-0002-0002-0002-000000000209, ignoreFailoverLimit = false,
storageDomainId = 86f85b1d-a9ef-4106-a4bf-eae19722d28a, vmIdList =
null), log id: e2a32ac
2015-03-17 23:30:56,766 INFO
[org.ovirt.engine.core.vdsbroker.irsbroker.GetVmsInfoVDSCommand]
(ajp--127.0.0.1-8702-8) FINISH, GetVmsInfoVDSCommand, log id: e2a32ac
2015-03-17 23:30:56,798 ERROR
[org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
Error parsing OVF due to 2
2015-03-17 23:30:56,818 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
corrupted
2015-03-17 23:30:56,867 ERROR
[org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
Error parsing OVF due to 2
2015-03-17 23:30:56,884 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
corrupted
2015-03-17 23:30:56,905 ERROR
[org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
Error parsing OVF due to 2
2015-03-17 23:30:56,925 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
corrupted
2015-03-17 23:30:56,943 ERROR
[org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
Error parsing OVF due to 2
2015-03-17 23:30:56,992 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
corrupted
2015-03-17 23:30:57,012 ERROR
[org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
Error parsing OVF due to 2
2015-03-17 23:30:57,033 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
corrupted
2015-03-17 23:30:57,071 ERROR
[org.ovirt.engine.core.utils.ovf.OvfManager] (ajp--127.0.0.1-8702-8)
Error parsing OVF due to 2
2015-03-17 23:30:57,091 WARN
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
(ajp--127.0.0.1-8702-8) Correlation ID: null, Call Stack: null, Custom
Event ID: -1, Message: Failed to read VM '[Empty Name]' OVF, it may be
corrupted


I've brought up new export storage domains on both the new and old
cluster (and a seperate storage array for that matter) all resulting the
same messages.

Anyone any thoughts on these errors?

Thanks

Jon
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


<?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.5.0.0"><References><File ovf:href="2306daab-240d-4be1-81e6-04001cd5da7e/84c501cd-f2c3-4eeb-b585-b3e6e79413a8" ovf:id="84c501cd-f2c3-4eeb-b585-b3e6e79413a8" ovf:size="21474836480" ovf:description="Active VM"/><Nic ovf:id="b451938b-1b56-4951-9ad2-ee0486f5ae9e"/></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="84c501cd-f2c3-4eeb-b585-b3e6e79413a8" ovf:size="20" ovf:actual_size="1" ovf:vm_snapshot_id="98fa09c4-2575-4a54-ac32-3c436885f6df" ovf:parentRef="" ovf:fileRef="2306daab-240d-4be1-81e6-04001cd5da7e/84c501cd-f2c3-4eeb-b585-b3e6e79413a8" ovf:format="http://www.vmware.com/specifications/vmdk.html#sparse"; ovf:volume-format="RAW" ovf:volume-type="Sparse" ovf:disk-interface="VirtIO" ovf:boot="true" ovf:disk-alias="server1_Disk1" ovf:wipe-after-delete="false"/></Section><Content ovf:id="out" xsi:type="ovf:VirtualSystem_Type"><CreationDate>2015/03/13 19:58:55</CreationDate><ExportDate>2015/03/17 23:19:51</ExportDate><DeleteProtected>false</DeleteProtected><SsoMethod>guest_agent</SsoMethod><IsSmartcardEnabled>false</IsSmartcardEnabled><TimeZone>Etc/GMT</TimeZone><default_boot_sequence>0</default_boot_sequence><Generation>3</Generation><VmType>1</VmType><MinAllocatedMem>512</MinAllocatedMem><IsStateless>false</IsStateless><IsRunAndPause>false</IsRunAndPause><AutoStartup>false</AutoStartup><Priority>1</Priority><CreatedByUserId>fdfc627c-d875-11e0-90f0-83df133b58cc</CreatedByUserId><MigrationSupport>2</MigrationSupport><DedicatedVmForVds>27bcbf28-8e92-4ea8-b2cc-8ada4c338cdf</DedicatedVmForVds><IsBootMenuEnabled>false</IsBootMenuEnabled><IsSpiceFileTransferEnabled>true</IsSpiceFileTransferEnabled><IsSpiceCopyPasteEnabled>true</IsSpiceCopyPasteEnabled><CustomEmulatedMachine></CustomEmulatedMachine><CustomCpuName></CustomCpuName><Name>server1</Name><TemplateId>00000000-0000-0000-0000-000000000000</TemplateId><TemplateName>Blank</TemplateName><IsInitilized>true</IsInitilized><Origin>3</Origin><app_list>ovirt-guest-agent-common-1.0.10-2.el7,kernel-3.10.0-123.el7,kernel-3.10.0-123.20.1.el7</app_list><DefaultDisplayType>2</DefaultDisplayType><TrustedService>false</TrustedService><OriginalTemplateId>00000000-0000-0000-0000-000000000000</OriginalTemplateId><OriginalTemplateName>Blank</OriginalTemplateName><UseHostCpu>false</UseHostCpu><UseLatestVersion>false</UseLatestVersion><Section ovf:id="07a3a1b4-2b77-4e5c-b82c-09a5ed42fd9b" ovf:required="false" xsi:type="ovf:OperatingSystemSection_Type"><Info>Guest Operating System</Info><Description>rhel_7x64</Description></Section><Section xsi:type="ovf:VirtualHardwareSection_Type"><Info>1 CPU, 1024 Memeory</Info><System><vssd:VirtualSystemType>ENGINE 3.5.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>server1_Disk1</rasd:Caption><rasd:InstanceId>84c501cd-f2c3-4eeb-b585-b3e6e79413a8</rasd:InstanceId><rasd:ResourceType>17</rasd:ResourceType><rasd:HostResource>2306daab-240d-4be1-81e6-04001cd5da7e/84c501cd-f2c3-4eeb-b585-b3e6e79413a8</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:StorageId>2c1485af-f897-4cb3-93a7-f86a13dd8cd4</rasd:StorageId><rasd:StoragePoolId>c5c298cb-d034-46e3-9be2-ede85fb276b4</rasd:StoragePoolId><rasd:CreationDate>2015/03/13 19:59:02</rasd:CreationDate><rasd:LastModified>1970/01/01 00:00:00</rasd:LastModified><rasd:last_modified_date>2015/03/17 23:19:51</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>b451938b-1b56-4951-9ad2-ee0486f5ae9e</rasd:InstanceId><rasd:ResourceType>10</rasd:ResourceType><rasd:OtherResourceType>ovirtmgmt</rasd:OtherResourceType><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:97:0f:00</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>net0</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>5130ec86-7534-4dbf-9077-9245e4c6dd81</rasd:InstanceId><rasd:ResourceType>20</rasd:ResourceType><rasd:VirtualQuantity>1</rasd:VirtualQuantity><rasd:SinglePciQxl>true</rasd:SinglePciQxl><Type>video</Type><Device>qxl</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><ram>65536</ram><vram>32768</vram><heads>1</heads></SpecParams></Item><Item><rasd:Caption>Graphical Framebuffer</rasd:Caption><rasd:InstanceId>4e65721a-168c-4b61-aef1-2d40c847d3a2</rasd:InstanceId><rasd:ResourceType>26</rasd:ResourceType><Type>graphics</Type><Device>spice</Device><rasd:Address></rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias></Alias></Item><Item><rasd:Caption>CDROM</rasd:Caption><rasd:InstanceId>602b8fe5-d963-4ab7-86d1-885146274698</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>d1b205a9-2d92-4fc0-9bc1-6710650d0db7</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>6db70919-f664-4baf-9bdd-1aad0dd177ba</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>09179e07-139b-4235-9d14-254174e55eae</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>38035af2-9397-4a8c-b8f9-4accc6cb2f3a</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>e297752c-6780-4cf7-afa3-2c741aa548ea</rasd:InstanceId><Type>channel</Type><Device>spicevmc</Device><rasd:Address>{port=3, bus=0, controller=0, type=virtio-serial}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>false</IsReadOnly><Alias>channel2</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>35fbd25c-4872-44c2-b31c-005338c2c15c</rasd:InstanceId><Type>controller</Type><Device>virtio-serial</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>virtio-serial0</Alias></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>68bd8e18-7808-437d-ab0c-0ece55c13053</rasd:InstanceId><Type>balloon</Type><Device>memballoon</Device><rasd:Address>{bus=0x00, domain=0x0000, type=pci, slot=0x07, function=0x0}</rasd:Address><BootOrder>0</BootOrder><IsPlugged>true</IsPlugged><IsReadOnly>true</IsReadOnly><Alias>balloon0</Alias><SpecParams><model>virtio</model></SpecParams></Item><Item><rasd:ResourceType>0</rasd:ResourceType><rasd:InstanceId>0d50ceb9-3e1b-453b-91b4-9fc6e2a81a03</rasd:InstanceId><Type>controller</Type><Device>virtio-scsi</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>scsi0</Alias></Item></Section><Section xsi:type="ovf:SnapshotsSection_Type"><Snapshot ovf:id="98fa09c4-2575-4a54-ac32-3c436885f6df"><Type>ACTIVE</Type><Description>Active VM</Description><CreationDate>2015/03/13 19:58:55</CreationDate></Snapshot></Section></Content></ovf:Envelope>
_______________________________________________
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users

Reply via email to