From 4b4b7dc57876b3cd93ef2590c9b8dd23b791f9b3 Mon Sep 17 00:00:00 2001 From: Daniel Hilst <392820+dhilst@users.noreply.github.com> Date: Thu, 23 Jul 2026 21:39:23 -0300 Subject: [PATCH] fix(xcat-core): add the missing ppc64le netboot templates for EL8/EL9 copycds only defines a --netboot-compute osimage when the netboot compute pkglist/exlist/postinstall for that distro+arch exist under share/xcat/netboot//. For AlmaLinux the ppc64le set was present only for alma10, so on an el8/el9 ppc64le management node copycds created just the install-* osimages and no netboot one. The stateless provisioning test then fails in a confusing way: the case's own `chdef -t osimage -o -ppc64le-netboot-compute synclists=...` auto-creates a bare object, so lsdef reports the image exists (imagetype=NIM and nothing else), while genimage rejects it with Error: Cannot find image '-ppc64le-netboot-compute' from the osimage table. and packimage plus the install that follows fail with it. Two gaps are filled: - share/xcat/netboot/rh/compute.rhels9.ppc64le.pkglist did not exist at all (rhels8 and rhels10 both ship one). Add it with the same content as the rhels9 x86_64 list, matching rhels10 where the two arches are identical. - alma8/alma9 ppc64le compute exlist/pkglist/postinstall are added as symlinks into the rh/ equivalents, exactly as alma10 ppc64le and rocky10 ppc64le already do. With these present, copycds produces a fully populated netboot-compute osimage (provmethod=netboot, pkglist/exlist/postinstall/rootimgdir set) as it already does on alma10 ppc64le. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com> (cherry picked from commit 8bb0606120ddd0415cba80fc9d5b0b1729ab14e9) --- .../netboot/alma/compute.alma8.ppc64le.exlist | 1 + .../alma/compute.alma8.ppc64le.pkglist | 1 + .../alma/compute.alma8.ppc64le.postinstall | 1 + .../netboot/alma/compute.alma9.ppc64le.exlist | 1 + .../alma/compute.alma9.ppc64le.pkglist | 1 + .../alma/compute.alma9.ppc64le.postinstall | 1 + .../netboot/rh/compute.rhels9.ppc64le.pkglist | 30 +++++++++++++++++++ 7 files changed, 36 insertions(+) create mode 120000 xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.exlist create mode 120000 xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.pkglist create mode 120000 xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.postinstall create mode 120000 xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.exlist create mode 120000 xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.pkglist create mode 120000 xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.postinstall create mode 100644 xCAT-server/share/xcat/netboot/rh/compute.rhels9.ppc64le.pkglist diff --git a/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.exlist b/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.exlist new file mode 120000 index 000000000..f468ba7e1 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.exlist @@ -0,0 +1 @@ +../rh/compute.rhels8.ppc64le.exlist \ No newline at end of file diff --git a/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.pkglist b/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.pkglist new file mode 120000 index 000000000..38195cc33 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.pkglist @@ -0,0 +1 @@ +../rh/compute.rhels8.ppc64le.pkglist \ No newline at end of file diff --git a/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.postinstall b/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.postinstall new file mode 120000 index 000000000..011158f7b --- /dev/null +++ b/xCAT-server/share/xcat/netboot/alma/compute.alma8.ppc64le.postinstall @@ -0,0 +1 @@ +../rh/compute.rhels8.ppc64le.postinstall \ No newline at end of file diff --git a/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.exlist b/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.exlist new file mode 120000 index 000000000..47be8bdca --- /dev/null +++ b/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.exlist @@ -0,0 +1 @@ +../rh/compute.rhels9.ppc64le.exlist \ No newline at end of file diff --git a/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.pkglist b/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.pkglist new file mode 120000 index 000000000..1674eb9b3 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.pkglist @@ -0,0 +1 @@ +../rh/compute.rhels9.ppc64le.pkglist \ No newline at end of file diff --git a/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.postinstall b/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.postinstall new file mode 120000 index 000000000..1299428cb --- /dev/null +++ b/xCAT-server/share/xcat/netboot/alma/compute.alma9.ppc64le.postinstall @@ -0,0 +1 @@ +../rh/compute.rhels9.ppc64le.postinstall \ No newline at end of file diff --git a/xCAT-server/share/xcat/netboot/rh/compute.rhels9.ppc64le.pkglist b/xCAT-server/share/xcat/netboot/rh/compute.rhels9.ppc64le.pkglist new file mode 100644 index 000000000..635bd5046 --- /dev/null +++ b/xCAT-server/share/xcat/netboot/rh/compute.rhels9.ppc64le.pkglist @@ -0,0 +1,30 @@ +@minimal-environment +chrony +kernel +net-tools +nfs-utils +openssh-server +rsync +tar +util-linux +wget +python3 +tar +bzip2 +bc +dracut +dracut-network +rsyslog +hostname +e2fsprogs +ethtool +parted +openssl +dhclient +openssh-clients +bash +vim-minimal +rpm +iputils +perl-interpreter +