Bug 1798425 - Regression: KVM Importing fails due to an old version
Summary: Regression: KVM Importing fails due to an old version
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Backend.Core
Version: 4.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ovirt-4.4.0
: ---
Assignee: Andrej Krejcir
QA Contact: Nisim Simsolo
URL:
Whiteboard:
Depends On: 1798175
Blocks: 1746699
TreeView+ depends on / blocked
 
Reported: 2020-02-05 10:33 UTC by Steven Rosenberg
Modified: 2020-07-27 09:31 UTC (History)
7 users (show)

Fixed In Version: ovirt-engine 4.4.0-26 b5b5c99ca2f
Doc Type: Bug Fix
Doc Text:
Previously, importing virtual machines failed when the source version variable was null. With this update, validation of the source compatibility version is removed, enabling the import to succeed even when the source version variable is null.
Clone Of:
Environment:
Last Closed: 2020-05-20 20:01:29 UTC
oVirt Team: Virt
Embargoed:
pm-rhel: ovirt-4.4+
pm-rhel: blocker?


Attachments (Terms of Use)
Screen shot of the version error (69.22 KB, image/png)
2020-02-05 10:33 UTC, Steven Rosenberg
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1798175 0 unspecified CLOSED Regression: KVM Importing fails due to missing readinto function on the StreamAdapter 2021-02-22 00:41:40 UTC
oVirt gerrit 106762 0 master ABANDONED core: KVM Import fails due to a null variable 2020-07-27 09:21:27 UTC
oVirt gerrit 106821 0 master MERGED core: Allow importing VMs with any compatibility version 2020-07-27 09:21:27 UTC
oVirt gerrit 106822 0 master MERGED core: Show how VM was updated on import 2020-07-27 09:21:27 UTC

Description Steven Rosenberg 2020-02-05 10:33:24 UTC
Created attachment 1657876 [details]
Screen shot of the version error

Description of problem: When performing a KVM external import, the importing fails due to the following error:

"KVM_centos7.0_ISO: Cannot import VM. The version of imported VM is too old. Only VMs with version 3.6 or higher can be imported."

The failure occurs due to a change that attempts to validate the version, but when the source version is null, the import fails [1].


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


How reproducible:


Steps to Reproduce:
1. Within the Virtual Machine View of the engine, choose the more button and import.
2. Choose a KVM external import and choose next for both screens
3.

Actual results:

The KVM import fails with the above error.

Expected results:

The KVM Import should succeed.

Additional info:

[1] https://github.com/oVirt/ovirt-engine/blob/master/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/VmVersionUpdater.java#L184

Comment 1 RHEL Program Management 2020-02-06 02:21:31 UTC
This bug report has Keywords: Regression or TestBlocker.
Since no regressions or test blockers are allowed between releases, it is also being identified as a blocker for this release. Please resolve ASAP.

Comment 3 Ryan Barry 2020-02-19 02:10:34 UTC
*** Bug 1804135 has been marked as a duplicate of this bug. ***

Comment 4 Sandro Bonazzola 2020-03-20 16:54:15 UTC
This bug is targeted to 4.4.1 and in modified state. can we re-target to 4.4.0 and move to QA?

Comment 5 Nisim Simsolo 2020-03-30 13:33:11 UTC
Verifiaction builds:
ovirt-engine-4.4.0-0.29.master.el8ev
vdsm-4.40.9-1.el8ev.x86_64
libvirt-daemon-kvm-6.0.0-15.module+el8.2.0+6106+b6345808.x86_64
qemu-kvm-4.2.0-16.module+el8.2.0+6092+4f2391c1.x86_64

Comment 6 Sandro Bonazzola 2020-05-20 20:01:29 UTC
This bugzilla is included in oVirt 4.4.0 release, published on May 20th 2020.

Since the problem described in this bug report should be
resolved in oVirt 4.4.0 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.


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