Bug 2109650
| Summary: | Cobbler PXE Kickstart Errors RedHat 9 | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Manoj <kumarmanoj0772> | ||||||||||
| Component: | pykickstart | Assignee: | Brian Lane <bcl> | ||||||||||
| Status: | CLOSED NOTABUG | QA Contact: | Release Test Team <release-test-team-automation> | ||||||||||
| Severity: | medium | Docs Contact: | |||||||||||
| Priority: | unspecified | ||||||||||||
| Version: | 9.0 | CC: | jstodola | ||||||||||
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
||||||||||
| 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: | 2022-07-21 23:15:41 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: |
|
||||||||||||
What are the kernel boot parameters used for the installation? This is my initial kickstart config i have been using . I Have used same on RedHat 7 as well as RedHat 8 and it has always worked until i tested with 9 today. text network --bootproto dhcp url --url=http://10.11.12.13/cblr/links/RedHatLinux9-x86_64/ lang en_US.UTF-8 keyboard --vckeymap=us --xlayouts='' zerombr clearpart --all bootloader --location=mbr --driveorder=sda --append=" crashkernel=auto" timezone America/New_York auth --enableshadow --passalgo=sha256 rootpw --iscrypted xxxxxxxxx selinux --enforcing reboot firewall --service=ssh skipx firstboot %pre --log=/root/pre_log /usr/bin/dd bs=512 count=10 if=/dev/zero of=/dev/sda /usr/sbin/parted --script /dev/sda mklabel gpt /usr/sbin/parted --script /dev/sda print /usr/bin/sleep 30 %end # Disk partitioning information part pv.01 --onpart sdb --grow part pv.02 --onpart sdc --grow part pv.03 --onpart sdd --grow volgroup VolGroupSystem pv.01 volgroup VolGroupServices pv.02 volgroup VolGrouplog pv.03 part /boot --fstype=xfs --asprimary --size=512 --grow --ondisk=sda logvol / --vgname=VolGroupSystem --fstype=xfs --size=10240 --name=lvroot logvol swap --vgname=VolGroupSystem --fstype=swap --size=2048 --name=lvswap logvol /services --vgname=VolGroupServices --fstype=xfs --size=10000 --name=lvservices logvol /var/log --vgname=VolGrouplog --fstype=xfs --size=10000 --name=lvlog %packages @^minimal-environment %end Created attachment 1898551 [details]
Cobbler PXE Error
Created attachment 1898567 [details]
Cobbler PXE Error 1
It get stuck here for a couple of minutes before start throwing errors after.
Created attachment 1898568 [details]
Errors
Actually, the problem is written in the screenshot - you have to use "inst.ks=..." instead of "ks=..." and the same with "lang" and "kssendmac". This should fix your problem. This is default created by cobbler when running "cobbler import" command. The version cobbler i am using is Cobbler 2.8.5
LABEL RHEL9-x86_64
kernel /images/RHEL9-x86_64/vmlinuz
MENU LABEL RHEL9-x86_64
append initrd=/images/RHEL9-x86_64/initrd.img ksdevice=bootif lang= kssendmac text ks=http://10.11.12.2/cblr/svc/op/ks/profile/RHEL9-x86_64
ipappend 2
Ok i updated below and it fixed my problem. Howerver, i had to update /var/lib/tftpboot/pxelinux.cfg/default manually to make changes. If i run "cobbler sync" it is going to revert back to default without inst.I am thinking if this is fixed in newer version of cobbler ?
LABEL RHEL9-x86_64
kernel /images/RHEL9-x86_64/vmlinuz
MENU LABEL RHEL9-x86_64
append initrd=/images/RHEL9-x86_64/initrd.img ksdevice=bootif inst.lang= inst.kssendmac inst.text inst.ks=http://10.11.12.2/cblr/svc/op/ks/profile/RHEL9-x86_64
ipappend 2
Thank you for your help Jan Stodola. I assume this is more of Cobbler bug. |
Created attachment 1898542 [details] Cobbler PXE Kickstart Errors RedHat 9 Description of problem: Cobbler PXE does not work with RedHat 9. Stuck after dracut initqueue hook.. Version-Release number of selected component (if applicable): RedHat 9.0-x86_64 How reproducible: Steps to Reproduce: 1.PXE Kickstart 2. 3. Actual results: dracut initqueue hook... dracut-initqueue: timeout, still waiting for following initqueue hooks: I have attached screenshot for an actual error. Expected results: Cobbler PXE Successful installation. Additional info: I did not had these problems with RedHat 8 kickstart when using same set up.