Bug 2019869 - Local disk is not bootable when the VM is imported from OVA
Summary: Local disk is not bootable when the VM is imported from OVA
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: General
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.5.0
: 4.5.0
Assignee: Arik
QA Contact: Qin Yuan
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-11-03 14:09 UTC by Qin Yuan
Modified: 2022-04-20 06:33 UTC (History)
3 users (show)

Fixed In Version: ovirt-engine-4.5.0
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-04-20 06:33:59 UTC
oVirt Team: Virt
Embargoed:
ahadas: ovirt-4.5?
michal.skrivanek: blocker+


Attachments (Terms of Use)
engine,vdsm logs (472.64 KB, application/x-xz)
2021-11-03 14:09 UTC, Qin Yuan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHV-43918 0 None None None 2021-11-03 17:15:45 UTC
oVirt gerrit 117447 0 master MERGED core: fix import ova with padding 2021-11-04 09:23:11 UTC

Description Qin Yuan 2021-11-03 14:09:42 UTC
Created attachment 1839606 [details]
engine,vdsm logs

Description of problem:
Create a VM with one bootable disk, don't run the VM, export it as OVA, delete the VM, then import VM from the OVA, the imported VM has a bootable disk attached, but the guest OS can't boot, it shows:
"
Booting from Hard Disk...
Boot failed: not a bootable disk

No bootable device
"

Version-Release number of selected component (if applicable):
ovirt-engine-4.5.0-557.gd82da1f.112.el8.noarch
vdsm-4.50.0.1-1.el8.x86_64
libvirt-7.6.0-6.module+el8.5.0+13051+7ddbe958.x86_64
qemu-kvm-6.0.0-33.module+el8.5.0+13041+05be2dc6.x86_64

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with one bootable disk(used rhel8.5 template latest-rhel-guest-image-8.5-infra), don't run it.
2. Export the VM as OVA.
3. Delete the VM.
4. Import VM from the OVA created in step2.
5. Run the imported VM.

Actual results:
1. The imported VM has a bootable disk attached, but it fails to boot because of no bootable device.

Expected results:
1. The imported VM should boot successfully.

Additional info:

Comment 1 RHEL Program Management 2021-11-03 17:13:39 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 2 Qin Yuan 2022-04-18 05:34:38 UTC
Verified with:
ovirt-engine-4.5.0.2-0.7.el8ev.noarch

Steps:
The same steps as in the bug description, except using VM template latest-rhel-guest-image-8.6-infra.

Results:
The imported VM can boot successfully.

Comment 3 Sandro Bonazzola 2022-04-20 06:33:59 UTC
This bugzilla is included in oVirt 4.5.0 release, published on April 20th 2022.

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