View Issue Details

IDProjectCategoryView StatusLast Update
0000150Rocky-Linux-9anacondapublic2022-07-19 01:30
ReporterGraham Leggett Assigned ToLouis Abel  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionwon't fix 
Summary0000150: virt-install fail: dracut-initqueue: timeout, still waiting for following initqueue hooks
DescriptionSudden failure during install attempt:

         Starting Wait for udev To …plete Device Initialization...
[ OK ] Started Show Plymouth Boot Screen.
[ OK ] Started Forward Password R…s to Plymouth Directory Watch.
[ OK ] Reached target Local Encrypted Volumes.
[ OK ] Reached target Path Units.
[ 20.375589] virtio_blk virtio2: [vda] 16777216 512-byte logical blocks (8.59 GB/8.00 GiB)
[ 20.518141] scsi host0: ata_piix
[ 20.521311] scsi host1: ata_piix
[ 20.524267] ata1: PATA max MWDMA2 cmd 0x1f0 ctl 0x3f6 bmdma 0xc0e0 irq 14
[ 20.530187] ata2: PATA max MWDMA2 cmd 0x170 ctl 0x376 bmdma 0xc0e8 irq 15
[ 20.562446] 8021q: 802.1Q VLAN Support v1.8
[ 20.601091] virtio_net virtio0 ens2: renamed from eth0
[ OK ] Finished Wait for udev To Complete Device Initialization.
         Starting Device-Mapper Multipath Device Controller...
[ OK ] Started Device-Mapper Multipath Device Controller.
[ OK ] Reached target Preparation for Local File Systems.
[ OK ] Reached target Local File Systems.
[ OK ] Reached target System Initialization.
[ OK ] Reached target Basic System.
[ 159.818271] dracut-initqueue[969]: Warning: dracut-initqueue: timeout, still waiting for following initqueue hooks:
[ 159.824983] dracut-initqueue[969]: Warning: /lib/dracut/hooks/initqueue/finished/devexists-\x2fdev\x2froot.sh: "[ -e "/dev/root" ]"
[ 159.832866] dracut-initqueue[969]: Warning: /lib/dracut/hooks/initqueue/finished/wait_for_settle.sh: "[ -f /tmp/settle.done ]"
[ 159.833104] dracut-initqueue[969]: Warning: dracut-initqueue: starting timeout scripts
[ 159.833310] dracut-initqueue[969]: Warning: ############# Anaconda installer errors begin #############
[ 159.833495] dracut-initqueue[969]: Warning: # #
[ 159.833657] dracut-initqueue[969]: Warning: It seems that the boot has failed. Possible causes include
[ 159.833784] dracut-initqueue[969]: Warning: missing inst.stage2 or inst.repo boot parameters on the
[ 159.833901] dracut-initqueue[969]: Warning: kernel cmdline. Please verify that you have specified
[ 159.834000] dracut-initqueue[969]: Warning: inst.stage2 or inst.repo.
[ 159.834070] dracut-initqueue[969]: Warning: Please also note that the 'inst.' prefix is now mandatory.
[ 159.834144] dracut-initqueue[969]: Warning: # #
[ 159.835845] dracut-initqueue[969]: Warning: #### Installer errors encountered during boot: ####
[ 159.836253] dracut-initqueue[969]: Warning: # #
[ 159.837053] dracut-initqueue[969]: /lib/dracut/hooks/initqueue/timeout/50-anaconda-error-reporting.sh: line 19: /run/anaconda/initrd_errors.txt: No such file or directory
[ 159.837782] dracut-initqueue[969]: Warning: # #
[ 159.838455] dracut-initqueue[969]: Warning: ############# Anaconda installer errors end ###############

Steps To ReproduceMount the ISO as follows (other location doesn't work):

[root@emma ~]# mount /home/images/Rocky-9.0-x86_64-dvd.iso /mnt/rocky/

Install as follows:

[root@emma ~]# virt-install --name sebastian-new --ram 2048 --vcpus 2 --disk path=/var/lib/libvirt/images/sebastian-new.qcow2,size=8 --location /mnt/rocky/ --os-type linux --os-variant rhel7 --extra-args='console=ttyS0' --nographics --cpu host
Tagsanacoda, installation

Activities

Graham Leggett

Graham Leggett

2022-07-18 21:43

reporter   ~0000273

Just tried the install over http as follows, and the install failed the same way.

[root@emma ~]# virt-install --name sebastian-new --ram 2048 --vcpus 2 --disk path=/var/lib/libvirt/images/sebastian-new.qcow2,size=8 --location https://download.rockylinux.org/pub/rocky/9/BaseOS/x86_64/os/ --os-type linux --os-variant rhel9.0 --extra-args='console=ttyS0' --nographics --cpu host
Louis Abel

Louis Abel

2022-07-19 01:30

administrator   ~0000274

Thank you for the report.

1) When you're specifying a location to a local path, it does not translate into the VM. Paths to a local directory will NOT be accessible by the guest after an initial boot (see man virt-install). This basically means you need an additional way to access the install media. You can generally add inst.repo=... that points to a remote path to help with this in the --extra-args section.

2) When you're performing a network install, you will need to specify inst.repo=... in your extra args. Note that this will force `ip=dhcp` to be flagged. The message is clear about inst.repo and inst.stage2. If at least inst.repo is not available, you will not be able to proceed to the installer.

As this is note a bug, closing as won't fix.

Issue History

Date Modified Username Field Change
2022-07-18 20:28 Graham Leggett New Issue
2022-07-18 20:28 Graham Leggett Tag Attached: anacoda
2022-07-18 20:28 Graham Leggett Tag Attached: installation
2022-07-18 21:43 Graham Leggett Note Added: 0000273
2022-07-19 01:30 Louis Abel Assigned To => Louis Abel
2022-07-19 01:30 Louis Abel Status new => closed
2022-07-19 01:30 Louis Abel Resolution open => won't fix
2022-07-19 01:30 Louis Abel Note Added: 0000274