2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-16 11:24:16 +00:00
Commit Graph

26878 Commits

Author SHA1 Message Date
Daniel Hilst Selli 698ed4bed6 fix: Fix container setup for EL8
Also add --regennginxconfig to reset nginx config, and
ensure nginx configuration is generated for all targets
not only the ones provided in the command line. This avoid
the anoying effect of overriding the repositories of previous
builds.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 17:11:16 -03:00
Daniel Hilst Selli a0261a907a fix: Fix buildrpms.pl mock configuration bug
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 15:11:25 -03:00
Daniel Hilst Selli ff6828f252 fix: Fix verbosity bug in buildrpms.pl
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 14:55:53 -03:00
Daniel Hilst Selli f920ae4b9e doc: Add test/README.md
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 14:40:19 -03:00
Daniel Hilst Selli 5b7f5f45f9 build: Add build and testing logic to be used in the CI
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 13:38:47 -03:00
Daniel Hilst Selli 83f6b74302 fix!: Skip settunnables if running inside a container
This commit adds an early return to xcatconfig settunnables function.
This function set parameters at

    /proc/sys/net/ipv4/neigh/default/gc_thresh1
    /proc/sys/net/ipv4/neigh/default/gc_thresh2
    /proc/sys/net/ipv4/neigh/default/gc_thresh3

And set sysctl attributes by writing to /etc/sysctl.d/ and
/etc/sysctl.conf

These are tunning network parameters for running on production
and should not affect the overall function for testing purposes.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 13:33:57 -03:00
Daniel Hilst Selli bfe52d03a7 fix: Fix build with mock
Add buildrpms.pl to build RPMs in parallel using mock
Add xCAT-buildkit to the build list
Fix build dependency in xCAT-buildkit.spec
Add fallback in /etc/init.d/xcatd for /etc/rc.d/init.d/functions

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 00:33:47 -03:00
Vinícius Ferrão 619c00ee54 Merge pull request #1 from VersatusHPC/feat/el10 2025-12-02 16:55:27 -03:00
Vinícius Ferrão ebfdfd5a4a chore: Update README.md with project status
Signed-off-by: Vinícius Ferrão <2031761+viniciusferrao@users.noreply.github.com>
2025-12-02 16:51:11 -03:00
Daniel Hilst Selli 7f32086384 build: Add rockylinux github action
Commented it out for now. The github_action_xcat_test has debian
commands in it and need to be generalized before running on EL.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-02 16:34:12 -03:00
Daniel Hilst Selli e8b043f7c3 build: Add buildrpms.sh to build RPMs for multiple EL targets
Fix warning in xCAT/xCAT.spec about macro inside comments
Fix missing build dependencies in .spec files
Enable passsing gitinfo as command line argument in perl-xCAT.spec

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-02 15:27:27 -03:00
Daniel Hilst Selli 460451cef2 fix: Fix installation warnings regarding egrep and grep
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-28 13:06:02 -03:00
Daniel Hilst Selli 8c2babfe60 fix!: Drop xCAT-genesis-scripts dependencies
BREAKING CHANGE: This disables the automatic installation of
xCAT genesis packages.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 20:23:15 -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 4aae56970d build: Update Version and Release files
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 18:21:17 -03:00
Daniel Hilst Selli 786d7d93e1 fix: Fix RPM dependencies
Add initscripts as dependency and openssl if we're
building for EL10 or greater.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 18:06:33 -03:00
Daniel Hilst Selli b5e35483a2 fix: Fix certificate and hostkey generation for EL10
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-11-27 17:51:34 -03:00
Daniel Hilst Selli 54742d7d57 fix: Fix makedns for Net::DNS >= 1.36 and bind >= 9.18 2025-11-27 12:12:03 -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
Kilian Cavalotti 62522bc29f Support /etc/sysctl.d/ for Debian-based systems (#7509)
On Debian-based systems, /etc/sysctl.conf doesn't exist and
/etc/sysctl.d/ directory is used instead. Modified xcatconfig
to prefer /etc/sysctl.d/99-xcat.conf when the directory exists,
falling back to /etc/sysctl.conf for backward compatibility.
2025-11-14 01:50:10 +01:00
Markus Hilger 9bcdb35b20 Fix links 2025-11-04 19:26:24 +01:00
Markus Hilger b042b5a1a7 Sunsetting xCAT and transitioning to Confluent (#7508) 2025-11-04 19:11:26 +01:00
davidmonro 661b579927 mknb: look for newer types of ssh keys to insert into the authorized keys file in the image (#7502) 2025-08-23 15:30:13 +02:00
davidmonro 6c2480fb5e dodiscovery: when parsing DMI FRU data, only ignore the product name if it is entirely whitespace, rather than just containing some (#7500) 2025-05-31 01:33:20 +02:00
dubmarm ee5479c26f Adjustments to configib to handle Rocky9 precreated connections (#7490)
* take out useless arp_ignore/arp_filter lines

* create logic to use con add if con doesn't exist, else con modify

* swap the con modify vs con add logic so that it matches the test logic

* add back arp_filter and arp_ignore

---------

Co-authored-by: dmarm <dmarm@dmarms-MBP.lan>
2025-05-27 21:15:43 +02:00
Markus Hilger 10a485dca5 Improve genimage AlmaLinux support 2025-05-23 19:27:37 +02:00
Markus Hilger d5108c025d Fix GitHub action 2025-05-23 19:23:03 +02:00
Simon Fowler 6d446a55b4 Use default MaxStartups value.
Some versions of openssh (notably 8.9p1, as ships with Ubuntu 22.04) are
buggy with values of MaxStartups >= 1024 (see
https://lists.mindrot.org/pipermail/openssh-bugs/2022-March/023864.html
for details). Rather than try to tweak this setting, use the default
value of '10:30:100'.
2025-04-17 16:23:47 +02:00
Markus Hilger 7cc8f8b979 Merge pull request #7482 from Obihoernchen/ssl
Fix certificate creation with OpenSSL >= 3.2 (fixes #7481)
2025-02-07 18:37:51 +01:00
Markus Hilger ddbeb291b5 Fix certificate creation with OpenSSL >= 3.2 (fixes #7481) 2024-12-04 18:36:21 +01:00
Markus Hilger f7e389a0c0 Fix 2.17 release date 2024-11-13 15:51:29 +01:00
Markus Hilger 2960b0e9f9 Add 2.17 release info 2.17.0 2024-11-07 14:09:12 +01:00
Markus Hilger 7f97b0e8aa Add 2.17.0 release info (#7475)
* Add 2.17.0 release info

* Update 2.17.x.csv
2024-11-07 13:44:53 +01:00
Markus Hilger ba90d9e24d Merge pull request #7477 from vigo332/patch-1
Add support for nvme device partition names.
2024-11-02 16:59:14 +01:00
vigo332 b43dc3eb20 Add support for nvme device partition names. 2024-10-31 16:17:33 -04:00
Markus Hilger d8ce286412 Merge pull request #7460 from abhishek-sa1/master
Genesis fix for x86_64
2024-09-10 17:17:26 +02:00
Markus Hilger 6e4dbfabc9 Update man pages 2024-08-28 02:27:54 +02:00
Markus Hilger 3930b55550 Merge pull request #7047 from Obihoernchen/vm-macvtap
Create macvtap VM nics
2024-08-28 02:23:21 +02:00
Markus Hilger 0570cda371 Update man pages 2024-08-28 02:19:51 +02:00
Markus Hilger d2378d87e5 Merge pull request #7469 from stanford-rc/dell_bmcport
Provide more options to setup BMC port for Dell servers
2024-08-28 01:09:02 +02:00
Markus Hilger 39664c5d8e Merge pull request #7459 from alexrichert/configib_fix_jul24
configib: fix/clean up el9 support
2024-08-28 01:05:06 +02:00
Alex Richert c89dbe309b configib: don't rm config file for el9/nmcli 2024-08-15 11:30:40 -07:00
sgr 10713bfc6e fix for multiply nameservers in /var/run/NetworkManager/resolv.conf 2024-08-15 15:11:41 +02:00
Kilian Cavalotti 8092f312b9 Schema.pm: add documentation for multi-value ipmi.bmcport for Dell
servers
2024-08-12 13:30:03 -07:00
Kilian Cavalotti 787ea2191e bmcsetup: enhance BMC port configuration for Dell systems
Add optional values to ipmi.bmcport to support more fine-grained
configuration for Dell servers, and mirror the `ipmitool delloem`
capabilities:

   lan set <Mode>
    sets the NIC Selection Mode :
        dedicated, shared with lom<idx>

   lan set <Shared Failover Mode>
    sets the shared Failover Mode :
        shared with failover lom<idx>
        shared with failover all loms,
        shared with failover none.

This patch introduces the possibility to provide 3 (space-separated)
values for ipmi.bmcport:
  1st value:  0 = shared / 1 = dedicated
  2nd value   shared LOM (1-4)   (0 or no value means first available LOM)
  3rd value:  failover LOM (1-4) (0 means no failover, no value means all LOMs)

To ensure maximum compatibility with the default 0/1 shared/dedicated
scheme, the 2nd and 3rd values are optional, and will retain the
previous behavior when not specified.

Examples:

ipmi.bmcport value      BMC interface configuration
0                       Shared with first available interface, failover with
                        all LOMs (catch-all mode)
0 1                     Shared with LOM1, failover all LOMs
0 1 2                   Shared with LOM1, failover LOM2
0 2 0                   Shared with LOM2, no failover
1                       Dedicated
2024-08-12 13:20:16 -07:00
Kilian Cavalotti a299d61cac Schema.pm: reformat ipmi.bmcport help section to make it more compact 2024-08-12 12:08:27 -07:00
Markus Hilger 1534231ae7 Merge pull request #7464 from stanford-rc/onie_macmap
Fix for getting MAC table over SSH on recent ONIE switches
2024-08-09 23:17:51 +02:00
Kilian Cavalotti 959672ef14 Tries to address #7463
- run the remote `bridge` command in a login shell, to make sure PATH is
  properly defined
- add `set -o pipefail` to ensure that errors are properly propagated
  back through the remote SSH command
2024-08-08 15:52:49 -07:00
Abhishek S A f89fb8763d Update doxcat 2024-07-31 08:56:28 +05:30
abhishek-sa1 88447104e5 Update doxcat 2024-07-31 08:54:55 +05:30