Bug 2158305

Summary: virt-install using fails with fedora 37 iso fails with "ERROR Couldn't find kernel for install tree."
Product: [Fedora] Fedora Reporter: Rob Lowe <rlowe>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED EOL QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 37CC: berrange, crobinso, mah, philip.wyett
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-12-07 11:09:29 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
kickstart file used for testing none

Description Rob Lowe 2023-01-05 03:46:54 UTC
Created attachment 1935839 [details]
kickstart file used for testing

Description of problem:

When attempting to create a new Fedora 37 virtual machine using the virt-install command, the command fails with "ERROR    Couldn't find kernel for install tree.".

A similar set of commands previously worked fine for Fedora 36.

This also seems to be  https://ask.fedoraproject.org/t/virt-install-compat-regression-with-f37-isos/29343


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

Fedora-Workstation-Live-x86_64-37-1.7.iso
virt-install-4.1.0-1.fc37.noarch

How reproducible:

This can be reliably reproduced using the following steps.

Steps to Reproduce:
1. Download Fedora-Workstation-Live-x86_64-37-1.7.iso
2. Create kickstart file (similar to attached).
3. Run the command: 

sudo virt-install -n test --memory=2048 --vcpus=2 --location iso/Fedora-Workstation-Live-x86_64-37-1.7.iso --disk size=30,pool=vms --network=default --os-variant=fedora37 --initrd-inject kickstart/f37-test.cfg --extra-args "inst.ks=file:/f37-test.cfg console=ttyS0"

Actual results:

Starting install...
ERROR    Couldn't find kernel for install tree.
Domain installation does not appear to have been successful.
If it was, you can restart your domain by running:
  virsh --connect qemu:///system start test
otherwise, please restart your installation.

No virtual machine was installed.

Expected results:

A virtual machine called "test" was installed.

Additional info:

Comment 1 Mark A. Hershberger 2023-04-05 20:00:11 UTC
I'm experiencing a similar issue using virt-install on a Debian host (package virtinst 1:4.1.0-2) with an "Regular" ISO from https://en.altlinux.org/Regular

Comment 2 Mark A. Hershberger 2023-04-05 20:09:09 UTC
Note that replacing --location with --cdrom works, but might not help the case of the OP.

Comment 3 Aoife Moloney 2023-11-23 00:54:11 UTC
This message is a reminder that Fedora Linux 37 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora Linux 37 on 2023-12-05.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
'version' of '37'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, change the 'version' 
to a later Fedora Linux version. Note that the version field may be hidden.
Click the "Show advanced fields" button if you do not see it.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora Linux 37 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora Linux, you are encouraged to change the 'version' to a later version
prior to this bug being closed.

Comment 4 Aoife Moloney 2023-12-07 11:09:29 UTC
Fedora Linux 37 entered end-of-life (EOL) status on 2023-12-05.

Fedora Linux 37 is no longer maintained, which means that it
will not receive any further security or bug fix updates. As a result we
are closing this bug.

If you can reproduce this bug against a currently maintained version of Fedora Linux
please feel free to reopen this bug against that version. Note that the version
field may be hidden. Click the "Show advanced fields" button if you do not see
the version field.

If you are unable to reopen this bug, please file a new report against an
active release.

Thank you for reporting this bug and we are sorry it could not be fixed.