2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-09-21 16:39:30 +00:00
Commit Graph

825 Commits

Author SHA1 Message Date
Daniel Hilst eb30c1d134 fix(xcat-server): install tmux on KVM hosts for the serial console
cons/kvm drives the KVM guest serial console through a shared tmux session on
the hypervisor (tmux, unlike screen, is present on every libvirt host we target
incl. ppc64le hosts that ship no screen). The KVM host package lists were never
updated for that switch, so an xCAT-provisioned KVM host got 'screen' (now
unused) -- or nothing -- where tmux is required, leaving rcons broken.

Ship tmux in the KVM host pkglists:
  - install/rh, install/ubuntu: screen -> tmux / add tmux.
  - netboot/{alma,centos,rocky}: were symlinks to the RHEL 5.4 list; make them
    real lists with tmux (the rhel5/6/7 lists keep screen).
  - install/suse: add a KVM host list (SUSE had none) carrying tmux.

screen stays where it is still used: the Xen console, and the EOL rhel5/6/7 and
centos6/7 lists.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit c1db278e1a)
2026-07-19 12:19:49 -03:00
Daniel Hilst 4c530e44c9 fix(xCAT-server): ship rhels10 ppc64le service-node otherpkgs pkglist
The diskful service-node otherpkgs pkglist exists for every EL version and
both arches EXCEPT rhels10 ppc64le: install/rh/ has
service.rhels10.x86_64.otherpkgs.pkglist (and install/alma/ symlinks it) but
no ppc64le counterpart, while rhels5/6/7/8/9 and the netboot/ tree carry both
arches. xcat-test's SN_setup_case points a ppc64le service node's osimage
otherpkglist at install/<distro>/service.<ver>.ppc64le.otherpkgs.pkglist; with
the file absent the list resolves empty, so the otherpkgs postscript installs
nothing -- xCATsn never lands, xcatd never starts on the service node, and
every hierarchical dispatch fails with "<sn>:3001 No route to host /
Connection refused", cascading the whole *_hierarchy test suite.

Add install/rh/service.rhels10.ppc64le.otherpkgs.pkglist (xCATsn + the rh10
ppc64le goconserver, mirroring rhels9) and the install/alma symlink to it,
matching the existing x86_64 layout.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit 9ea3de343b)
2026-07-19 12:19:48 -03:00
Daniel Hilst be85fd9a7f fix(xcat-server): fix Ubuntu autoinstall netplan for match-by-MAC nodes
When a node's install NIC is selected by MAC (installnic=mac), the generated
netplan was invalid: it named the ethernet device the literal string 'mac' and
set its MAC match to the full pipe-delimited list of all node MACs. The result
had no valid interface, so neither the installer environment nor the installed
system came up on the network. Match the install NIC by interface-name glob in
the installer, and in the target use only the primary MAC and omit set-name
when the install NIC is selected by MAC.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit c6e38483fb)
2026-07-19 12:19:46 -03:00
Daniel Hilst 52d2435528 fix(xcat-server): add an identity section to the Ubuntu autoinstall config
The generated Subiquity autoinstall config defined no identity section. Newer
Subiquity treats a config without an identity as incomplete and stops at an
interactive "Continue with autoinstall?" confirmation, so the install never
proceeds unattended (the prompt's advice to add 'autoinstall' to the kernel
command line is a red herring -- it was already present). Provide an identity
with a password sourced from the cluster passwd table so the install runs
non-interactively.

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit 86e77bcd7f)
2026-07-19 12:19:46 -03:00
Daniel Hilst 638f0d75c4 Fix xCAT 2.18 EL10 x86_64 package build issues
Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
2026-06-20 18:48:14 -03:00
Vinícius Ferrão 9f33b19214 fix: restore legacy SLES provisioning paths 2026-05-05 17:09:37 -03:00
Markus Hilger d5831828d6 Merge pull request #7533 from VersatusHPC/fix/opensuse-leap-support
feat: add openSUSE Leap 15 and SLES 15 provisioning support
2026-05-04 17:20:59 +02:00
Vinícius Ferrão a6145b402b Merge pull request #7534 from VersatusHPC/fix/el10-bios-stateful-biosboot
fix: add EL10 BIOS boot partition
2026-05-03 02:36:39 +02:00
Vinícius Ferrão 5aa1cda179 feat: add openSUSE Leap 15 provisioning support 2026-05-02 16:57:46 -03:00
Vinícius Ferrão 1f9173f07a Fix some EL9 and EL10 provisioning gaps (#7530)
* Fix EL9 and EL10 provisioning gaps
2026-05-02 04:27:54 +02:00
Vinícius Ferrão 023beff053 Add Ubuntu 26.04 provisioning support 2026-05-01 11:13:45 -03:00
Vinícius Ferrão 1babd7b0e4 fix: improve Ubuntu LTS provisioning support 2026-04-29 18:19:12 -03:00
Vinícius Ferrão fcd22757d2 Refine Kea xNBA handling and validation notes 2026-04-23 11:14:01 -03:00
Daniel Hilst Selli a03b61a2eb fix: Fix Rocky Linux template and pkglist
Make it point to rhels10 as these files exists now

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 20:07:01 -03:00
Daniel Hilst Selli 3cb359e711 feat: Add support for RHEL 10
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-26 16:07:19 -03:00
Andrey Kiryanov 8432960e02 Automatically add biosboot partition on >2TB drives with RHEL 7/8 (#7400)
Co-authored-by: Andrey Kiryanov <kiryanov_ak@pnpi.nrcki.ru>
2024-06-24 23:37:02 +02:00
Markus Hilger dc13997f14 Remove even more useless executable permissions 2024-05-07 16:34:59 +02:00
Markus Hilger 2643c1edd6 Remove useless executable bit 2024-05-07 16:19:25 +02:00
Markus Hilger a5ed2d690e Fix goconserver path for EL9 2024-04-21 17:09:53 +02:00
Markus Hilger 55d6d13fe4 Add perl-lib required for xCAT on EL9 2024-04-21 16:13:13 +02:00
Markus Hilger 1783d53bb1 Add osimage symlinks for EL9 distros 2024-02-10 03:13:55 +01:00
Mark Gurevich a5bf52445a Move SLES12 Postgres package from pkglist to otherpkglist 2023-03-13 10:32:12 -04:00
Mark Gurevich 0b2be4ba5a SLES Service Node pkglist should include Postgres 2023-03-09 14:16:50 -05:00
Mark Gurevich a886e8c480 Enable go-xcat to insall xCAT on Alma Linux 2023-01-19 13:11:41 -05:00
Mark Gurevich 9fbd58bfc3 Initial Alma8 support 2023-01-18 11:00:59 -05:00
Mark Gurevich 471fd4d7c0 Support for Ubuntu20.04 legacy OS image 2022-09-14 14:47:04 -04:00
Mark Gurevich 4a6ccf0ca5 Update docker build containers to CentOS8 (3) 2022-05-13 13:05:11 -04:00
Mark Gurevich f5a9be5050 Initial template and pkg files for RHEL9 2022-04-13 09:51:24 -04:00
Mark Gurevich 77d65f3a0c Add packages missing from default SLES15 SP3 installation 2022-02-24 15:18:23 -05:00
Mark Gurevich 1bc43bc987 Handle SLES15 persistent kcmdline attribute (2) 2022-02-11 11:25:51 -05:00
Mark Gurevich 2040f0a89d Update SLES15 service and compute template 2022-02-08 16:19:35 -05:00
Mark Gurevich 89a0869250 Update SLES15 compute template 2022-01-27 15:18:46 -05:00
besawn cf1dbe78bc Merge pull request #6975 from NCI-Cloud/master
Add initial support for deploying Ubuntu 20.04 nodes.
2022-01-26 14:31:15 -05:00
Wai Yee Wong fa7ed9f8a0 Disable internet repos to avoid unexpected and silent upgrades 2022-01-06 22:46:11 -05:00
Simon Fowler 55c521a405 Add initial support for deploying Ubuntu 20.04 nodes.
This configures automated installation using the subiquity installer, as
documented at
https://ubuntu.com/server/docs/install/autoinstall-quickstart and other
locations on the Internet.

Installation uses the NFS export of /install, and configures the
installer to use the nocloud-net datasource, creating a per-node
directory containing the processed template file as the user-data file,
and an empty meta-data file.

Kernel and initrd files are pulled from the casper/ directory under the
package dir.

Unnecessary elements of the kernel command line have been removed in the
subiquity installer path.

Support has been added for selecting a subiquity specific default
template, as well as an updated pre-install script and some minor POSIX
shell compliance fixes for the getinstdisk script.
2021-12-13 11:54:49 +11:00
Mark Gurevich 3c643e6598 Genesis base based on Fedora 28 2021-10-14 16:57:14 -04:00
Mark Gurevich 472fa1456a Support Fedora34 diskful install 2021-09-30 11:35:10 -04:00
besawn 100f455215 Merge pull request #7034 from peterwywong/service
compute.ol8.tmpl and compute.rocky.tmpl point to compute.rhels8.tmpl instead of having their own files
2021-09-23 14:53:09 -04:00
Wai Yee Wong bb81472779 Remove #version=RHEL8 for all RHEL-like distros and let Rocky and Oracle Linux point to respective tmpl files. 2021-09-22 15:25:24 -04:00
Wai Yee Wong 77982a8ad2 Add service.ol8.tmpl for OL8, instead of pointing to service.rhels8.tmpl 2021-09-15 11:10:38 -04:00
Mark Gurevich 77e74f820c Add service node links 2021-09-01 10:20:06 -04:00
Mark Gurevich 1147726242 Support CentOS8 Stream 2021-08-31 15:54:43 -04:00
Mark Gurevich 908ccf9922 Rename otherpkgs.pkglist for Rocky8 2021-07-27 11:38:13 -04:00
Mark Gurevich 890aa93bd1 Support Rocky Linux on service nodes 2021-07-27 10:07:01 -04:00
fangjzh b9585a78e1 add Rocky Linux 8.4 support 2021-07-13 07:52:55 +08:00
Jarrod Johnson 5251e67c00 Fix mistake where someone used ext4
RHEL uses xfs by default, selecting ext4 is a peculiar thing
to do.
2021-04-29 15:04:25 -04:00
Mark Gurevich f045f67994 Support Oracle Linux on service nodes 2021-04-21 08:46:17 -04:00
Mark Gurevich 3651690830 Merge pull request #6919 from viniciusferrao/oraclelinux
Support for Oracle Linux 7 and Oracle Linux 8
2021-04-20 16:52:34 -04:00
Mark Gurevich cdc565ff04 SLES15.2 service node pkglist needs wget 2021-04-01 14:03:15 -04:00
besawn 04a1b2a7cd Merge pull request #6924 from gurevichmark/sles15.2_support
Add support for SLES15 SP2
2021-03-26 15:03:21 -04:00