Redhat 9 kickstarts do not work with cobbler

Posted on

You guys keep changing the kickstart syntax and screwing up my Cobbler installs. *( cobbler 2.8.3 - old but that version has a GUI for my developers to use so they can create/test/destroy their test systems).
I've tried to convert a working rh8 to rh9, creating from scratch and creating from the kickstart generator and none of them work. I stick installed and grabbed the anaconda.cfg file as well and tried that as well with no success.
The error is somewhat Kludgy - How about an example of "where" the new inst.stage2 or inst.repo boot parameters are supposed to go in the syntax of the kickstart below?? Because I am trying to do this on a VMware VM, I cannot copy/paste out of the GUI screen so I am having to type the whole damn install errors:

Redhat 9.3 Cobbler instal fails >>>

Started cancel waiting for multipath siblins of sda.
Finished Wait for udev To Complete Device Initiialization.
Starting Device-Mapper Multipath Device Controller...
Started Device-Mapper Multipath Device Controller.
Reached Target Preparation for Local File Systems.

###Anaconda installer errors begin

It seems that the boot has failed. Possible causes include
missing inst.stage2 or inst.repo boot parameters on the kernel cmdline Please verify that you have specified inst.stage2 or inst.repo.
Please also note that the 'inst.' prefix is now mandatory.
#

Installer errors encountered at boot:

'lang' is deprecated and has been removed.
All usage of Anaconda boot arguments without 'inst.' prefix was removed. Please use 'inst.lang' instead.
'keymap' is deprecated and has been removed.
All usage of Anaconda boot arguments without 'inst.' prefix was removed. Please use 'inst.keymap' instead.
'ks' is deprecated and has been removed.
All usage of Anaconda boot arguments without 'inst.' prefix was removed. Please use 'ks.keymap' instead.
'kssendmac' is deprecated and has been removed.
All usage of Anaconda boot arguments without 'inst.' prefix was removed. Please use 'kssendmac.keymap' instead.

Anaconda installer errors end

could not boot.

~~!!! ~~
Here are all three different kickstarts I have tried:

Generated by pykickstart v3.32

version=RHEL9

Use graphical install

graphical
repo --name="AppStream" --baseurl=file:///run/install/sources/mount-0000-hdd-device/AppStream

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

Keyboard layouts

keyboard --xlayouts='us'

System language

lang en_US.UTF-8

Network information

network --bootproto=dhcp --device=eno2np1 --ipv6=auto --activate
network --bootproto=dhcp --device=ibs1f0 --onboot=off --ipv6=auto
network --bootproto=dhcp --device=ibs1f1 --onboot=off --ipv6=auto
network --hostname=co-sf-pm-208.xxxxxxxxx.com

Use hard drive installation media

harddrive --dir= --partition=LABEL=RHEL-9-3-0-

%packages
@^graphical-server-environment

%end

Run the Setup Agent on first boot

firstboot --enable

Generated using Blivet version 3.6.0

ignoredisk --only-use=sda
autopart

Partition clearing information

clearpart --none --initlabel

timesource --ntp-server=col-cdc-01.xxxxxxxxxxx.com
timesource --ntp-server=lax-cdc-01.xxxxxxxxxxx.com

System timezone

timezone America/Denver --utc

Root password

rootpw --iscrypted --allow-ssh $6$TEZeIrsNb/hFbV/g$I6OFdRxxxxxxxxxxxvEWbV2wOfvEX/uKfthFcvI.Yu2XTCS2nWuVNlUkMci7VmMnLpI8da1CJV0
user --name=ddn --password=$6$JFUmxxxxxxxxxBcaeuEDPkNSYG6KbCp7nmUWuFy.HBvYVhbGxLlLv.R3NCbkM.gQ8XBobncFz5q0 --iscrypted --gecos="ddn"

~~

version=RHEL9.3

Reboot after installation

reboot

Use graphical install

graphical
inst.repo --name="AppStream" --baseurl=http://10.36.16.11/cblr/links/rh9_3-x86_64/
inst.repo --name "BaseOS" --baseurl=http://10.36.16.11/cblr/links/rh9_3-x86_64/

%pre
$SNIPPET('local/kickstart_start')
%end

Clear the Master Boot Record

zerombr

Partition clearing information

clearpart --all --initlabel
autopart --type=lvm

System bootloader configuration

bootloader --append="rhgb quiet crashkernel=auto" --location=mbr

Use network installation

url --url="http://@@http_server@@/cblr/links/rh9_3-x86_64"

rhsm --organization="6xxxxx8" --activation-key="Dxxxxxler"

%packages
@^graphical-server-environment
kexec-tools
%end

Keyboard layouts

keyboard --vckeymap=us --xlayouts='us'

System language

inst.lang en_US.UTF-8

Firewall configuration

firewall --disabled

Logging

logging --level=debug

SELinux configuration

selinux --disabled
firstboot --disable

System timezone

timezone America/Denver --isUtc --ntpservers=col-cdc-01.xxxxxxxx.com,lax-cdc-01.xxxxxxxxx.com

Root password

rootpw --iscrypted $2b$10$pgy/GxxxxxxSpQGTsnL32

%addon com_redhat_kdump --enable --reserve-mb='auto'

%end

%post

@^graphical-server-environment

$SNIPPET('local/kickstart_done')
%end

Generated by the kickstart generator

lang en_US
keyboard --xlayouts='us'
timezone America/Denver --utc
rootpw $2b$10$gJmtx0FQtcCXQ8R3v17HzOE/rGu6bDFA6v6RGGkoTOMUrqUXTWcP6 --iscrypted
reboot
url --url=http://@@http_server@@/cblr/links/rh9_3-x86_64
bootloader --append="rhgb quiet crashkernel=1G-4G:192M,4G-64G:256M,64G-:512M"
zerombr
clearpart --all --initlabel
autopart
network --bootproto=dhcp
firstboot --enable
selinux --disabled
%pre
$SNIPPET('local/kickstart_start')
%end
%post
$SNIPPET('local/kickstart_done')
%end
%packages
@^graphical-server-environment
%end

So what is wrong with these ?? Why are my Cobbler rh9 installs failing now?

Chuck Forry
cforry@ddn.com
719 828 8331

Responses