Created attachment 1720014 [details] Added logs Description of problem: After I exported an OVA from a VM, I removed the VM and tried to import the VM using the OVA I exported. The import failed. Here are the relevant errors from the log: 2020-10-08 18:43:45,449+03 WARN [org.ovirt.engine.core.bll.exportimport.ImportVmFromOvaCommand] (default task-24) [29413002] Validation of action 'ImportVmFromOva' failed for user admin@internal-authz. Reasons: VAR__ACTION__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_HOST_CANNOT_BE_PROXY_FOR_IMPORT_VM,$vdsName host_mixed_1 2020-10-08 18:43:45,450+03 INFO [org.ovirt.engine.core.bll.exportimport.ImportVmFromOvaCommand] (default task-24) [29413002] Lock freed to object 'EngineLock:{exclusiveLocks='[056c81bd-8176-4056-95de-52c12e3895e7=VM, test_vm_i440fx=VM_NAME]', sharedLocks=''}' 2020-10-08 18:43:45,459+03 ERROR [org.ovirt.engine.api.restapi.resource.AbstractBackendResource] (default task-24) [] Operation Failed: [Cannot import VM. Host host_mixed_1 cannot serve as proxy. Verify its cluster architecture and compatibility version are supported.] Version-Release number of selected component (if applicable): engine (ovirt-engine 4.4.3.5-0.5.el8ev) and hosts (vdsm.ppc64le 4.40.32-1.el8ev). Both engine and hosts are RHV 4.4.3-7, RHEL 8.3, ppc64 arch, IBM POWER9 How reproducible: 100% Steps to Reproduce: 1. Create a 4.5 data center with a "4.5, ppc64 arch, Power 9" cluster. 2. Add the host and a NFS data domain. 3. Create a VM with with "Blank" template and a 1gb disk. 4. Export the VM as OVA to one of the hosts. 5. Remove the VM you created. 6. Import the same VM from OVA. Actual results: 1. The 4.5 data center with a "4.5, ppc64 arch, Power 9" cluster were created. 2. The host and data domain were added. 3. The VM was created. 4. The VM was exported as OVA. 5. The VM was removed. 6. The VM couldn't import with the error message: "Cannot import VM. Host host_mixed_1 cannot serve as proxy. Verify its cluster architecture and compatibility version are supported." Expected results: 1-5 steps were executed as expected. in Step 6 the VM should be imported without errors. Additional info:
When importing an OVA that was created by oVirt, the proxy host can be a PPC host
Verified on RHV 4.4.5-1. All looks good to me. Env: - Engine instance with RHV 4.4.5-1 (ovirt-engine-4.4.5-0.11.el8ev) and RHEL 8.3 installed. - 2 hosts with RHV 4.4.5-1 and RHEL 8.3 and vdsm.ppc64le-4.40.50.1-1.el8ev Both engine and hosts are RHV 4.4.5-1, RHEL 8.3, ppc64 arch, IBM POWER9 Steps: In Admin Portal: 1. Create a 4.5 data center with a "4.5, ppc64 arch, Power 9" cluster. 2. Add the host and a NFS data domain. 3. Create a VM with with "Blank" template and a 1gb disk. 4. Export the VM as OVA to one of the hosts. 5. Remove the VM you created. 6. Import the same VM from the same you exported OVA. Results (As Expected): 1. The 4.5 data center with a "4.5, ppc64 arch, Power 9" cluster were created. 2. The host and data domain were added. 3. The VM was created. 4. The VM was exported as OVA. 5. The VM was removed. 6. The VM was imported successfully.
This bugzilla is included in oVirt 4.4.5 release, published on March 18th 2021. Since the problem described in this bug report should be resolved in oVirt 4.4.5 release, it has been closed with a resolution of CURRENT RELEASE. If the solution does not work for you, please open a new bug report.