Red Hat Bugzilla – Bug 1272150
F23 TC9 installation hangs with "inst.ks=file:/..."
Last modified: 2015-10-15 11:42:10 EDT
Created attachment 1083300 [details]
Kickstart file with which I wanted to test rolekit deferred deployment
Description of problem:
Using virt-install to test something else (rolekit deferred deployment from KS %post, see bug #1091300), I attempted to inject and use a local kickstart configuration file into the initrd of TC9 (Server spin). It never got as far as the graphical part of anaconda and eventually dropped me into a dracut emergency shell.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Download the attached Kickstart file rk.ks
2. One line (as root), add any debugging parameters to --extra-args as needed:
virt-install --name f23-rolekit-test --memory=2048 --cpu host --location https://dl.fedoraproject.org/pub/alt/stage/23_TC9/Server/x86_64/os/ --os-variant fedora22 --disk /var/lib/libvirt/images/f23-rolekit-test.qcow2,size=10,format=qcow2 --network network=default --initrd-inject rk.ks --extra-args 'inst.ks=file:/rk.ks'
Drops into dracut emergency shell after some time.
Continues to proper anaconda, installs packages/groups and executes the KS %post section, shuts down.
Created attachment 1083302 [details]
Console output with these additional kernel cmdline parameters: "rd.debug console=tty0 console=ttyS0 serial"
In the emergency shell, nothing is mounted at /sysroot and it seems to me as if it takes most of the time to wait for something to be mounted there.
Totally forgot to mention: This works flawlessly with the Beta tree (presumably anaconda-23.19.4-1.fc23).
Proposed as a Blocker for 23-final by Fedora user nphilipp using the blocker tracking app because:
Makes https://fedoraproject.org/wiki/QA:Testcase_Kickstart_File_Path_Ks_Cfg which is a Beta release criterion.
Uhm, "Makes ... fail ..." of course.
Not a blocker. eth0 gets renamed to ens3 so the nic it is waiting for never appears.