Bug 2193332
Summary: | Kickstart stuck after dracut-pre-pivot.service | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jan "Yenya" Kasprzak <kas> | ||||||
Component: | anaconda | Assignee: | Anaconda Maintenance Team <anaconda-maint-list> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 38 | CC: | anaconda-maint-list, drw_08, hegarty.sam, kkoukiou, swifferm82, vponcova, vslavik, w | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | |||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2023-12-14 13:42:30 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
Jan "Yenya" Kasprzak
2023-05-05 09:12:53 UTC
Created attachment 1962521 [details]
Generated kickstart file.
I did more experiments with kickstart. Note that I am doing the following steps using the very same VM instance, only rebooting it between retries using Ctrl-Alt-Del on a VNC console, not destroying and recreating it again. So the VM configuration should be exactly the same in all the following cases: - when I boot the VM without an inst.ks=... parameter at all, it enters the graphical install as expected - when I use the kickstart config file containing a single line which reads either "graphical", or "text", or "# comment", the boot gets stuck after dracut-pre-pivot.service as it did with a complete kickstart.cfg in my original bug report above. - when I boot the VM with an empty file (length 0 bytes) as the inst.ks=... parameter, or with a file containing only newlines (and no text or comments), it successfully boots into a tmux session, which then dies with "Kickstart file /run/install/ks.cfg is missing". After destroying the VM, replacing the CD-ROM image with Fedora-37-Server-netinst.iso (37 instead of 38), booting it again, and adding inst.ks=... parameter pointing to a file containing only a single word "graphical", it boots correctly to the graphical installer. So there is definitely something wrong with F38 kickstart-based install. Same to me, I have a exactly same issue during the fedora 38 server kickstart installation, hang in the same place I can also confirm this. Weirdly enough setting systemd.log_target=console and systemd.log_target=debug makes it succeed occasionally - possible race condition somewhere? Oh and I'm using QEMU (with kvm) + Fedora 38 Server ISO + a disk image with an ext2 filesystem that has the label OEMDRV with my kickstart file located at /ks.cfg rather than fetching the kickstart file over the network. Just ran accross this on a laptop where it was working before UEFI configuration changes were made. Narrowed it down to hyperthreading. Once hyperthreading was re-enabled kickstart started working again. Interesting. I have re-tested with two virtual CPUs in QEMU instead of one, and this time it worked. Back to one VCPU, and kickstart got stuck after the pre-pivot.service again. @steppybug, how many CPU cores does your laptop have? Could it be it has single core/two threads? So, is it a kernel problem, or is a sole CPU stuck somewhere during kickstart-based install, but not during an ordirnary anaconda boot, and having a second (V)CPU helps somehow? I would like to be able to kickstart Fedora even on a smallish instance with only one CPU. As far as I can tell, this got fixed in F39 - I was able to kickstart a F39 VM having only one VCPU. Could we get the fix also for F38? Sorry, media are not updated after a given Fedora version goes GA, so there is no point backporting the fix. |