RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 2109650 - Cobbler PXE Kickstart Errors RedHat 9
Summary: Cobbler PXE Kickstart Errors RedHat 9
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pykickstart
Version: 9.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: Brian Lane
QA Contact: Release Test Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-07-21 17:54 UTC by Manoj
Modified: 2022-07-21 23:15 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-07-21 23:15:41 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Cobbler PXE Kickstart Errors RedHat 9 (342.66 KB, image/png)
2022-07-21 17:54 UTC, Manoj
no flags Details
Cobbler PXE Error (77.49 KB, image/png)
2022-07-21 18:27 UTC, Manoj
no flags Details
Cobbler PXE Error 1 (284.40 KB, image/png)
2022-07-21 18:51 UTC, Manoj
no flags Details
Errors (362.43 KB, image/png)
2022-07-21 18:52 UTC, Manoj
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-128664 0 None None None 2022-07-21 17:56:11 UTC

Description Manoj 2022-07-21 17:54:34 UTC
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.

Comment 1 Jan Stodola 2022-07-21 18:02:16 UTC
What are the kernel boot parameters used for the installation?

Comment 2 Manoj 2022-07-21 18:24:06 UTC
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

Comment 3 Manoj 2022-07-21 18:27:56 UTC
Created attachment 1898551 [details]
Cobbler PXE Error

Comment 4 Manoj 2022-07-21 18:51:30 UTC
Created attachment 1898567 [details]
Cobbler PXE Error 1

It get stuck here for a couple of minutes before start throwing errors after.

Comment 5 Manoj 2022-07-21 18:52:18 UTC
Created attachment 1898568 [details]
Errors

Comment 6 Jan Stodola 2022-07-21 18:55:42 UTC
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.

Comment 7 Manoj 2022-07-21 19:15:53 UTC
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

Comment 8 Manoj 2022-07-21 20:15:43 UTC
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

Comment 9 Manoj 2022-07-21 20:17:39 UTC
Thank you for your help Jan Stodola. I assume this is more of Cobbler bug.


Note You need to log in before you can comment on or make changes to this bug.