On 25/09/2019 17:46, Richard W.M. Jones wrote:
I'm trying to boot CentOS 8 in a VM using my usual kickstart and virt-install recipes. Dracut fails in a way that indicates it cannot find the install disk:
[ 4.984555] IPv6: ADDRCONF(NETDEV_UP): enp1s0: link is not ready [ 4.985509] 8021q: adding VLAN 0 to HW filter on device enp1s0 [ 5.599558] IPv6: ADDRCONF(NETDEV_CHANGE): enp1s0: link becomes ready [ 7.058879] dracut-initqueue[926]: RTNETLINK answers: File exists [ 134.439929] dracut-initqueue[926]: Warning: dracut-initqueue timeout - starting timeout scripts [ 134.969517] dracut-initqueue[926]: Warning: dracut-initqueue timeout - starting timeout scripts [ 135.488283] dracut-initqueue[926]: Warning: dracut-initqueue timeout - starting timeout scripts (repeated endlessly until it drops into the emergency shell)
The kernel sees the virtio-blk device, the kmod is loaded, and /dev/vda exists ...
So I don't really know. Can anyone see my mistake?
Rich.
Hi Richard,
Can you share some of the machine specs ? so VM details like memory etc ? (in our initial tests, we found that it wasn't able to explode the initramfs and install.img for stage2 on VM with low memory specs)
FWIW, this is the kickstart that was used for our own QA/validation tests for CentOS 8 :
https://github.com/CentOS/sig-core-QA_harness_ansible/blob/master/templates/...
And here is the virt-install command that ansible generates when deploying the VM :
https://github.com/CentOS/sig-core-QA_harness_ansible/blob/master/templates/...