Bug 2019869

Summary: Local disk is not bootable when the VM is imported from OVA
Product: [oVirt] ovirt-engine Reporter: Qin Yuan <qiyuan>
Component: GeneralAssignee: Arik <ahadas>
Status: CLOSED CURRENTRELEASE QA Contact: Qin Yuan <qiyuan>
Severity: high Docs Contact:
Priority: unspecified    
Version: futureCC: ahadas, bugs, michal.skrivanek
Target Milestone: ovirt-4.5.0Keywords: Automation, Regression
Target Release: 4.5.0Flags: ahadas: ovirt-4.5?
michal.skrivanek: blocker+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ovirt-engine-4.5.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-04-20 06:33:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
engine,vdsm logs none

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.