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

1898 Commits

Author SHA1 Message Date
Vinícius Ferrão eed45bee6b test(nodech): cover comma-delimited group updates
(cherry picked from commit 25c9fb3836)
2026-07-24 21:42:07 +00:00
Vinícius Ferrão 9d1628f577 test(packaging): verify systemd omits SysV init script
(cherry picked from commit 185af5a3aa)
2026-07-19 12:20:06 -03:00
Vinícius Ferrão 9910390e99 test(xcatprobe): run listener checks in CI
(cherry picked from commit c135abe679)
2026-07-19 12:19:52 -03:00
Vinícius Ferrão 29c1747cbe fix(xcat-server): retry suite 3 on zero RAKP2 HMAC
(cherry picked from commit 695dd485cf)
2026-07-19 12:19:50 -03:00
Daniel Hilst 432ae0fd53 fix(buildrpms): stage xCAT-probe helper modules before target builds
xcatprobe subcommands (xcatmn, discovery, osdeploy) and hierarchy.pm load
xCAT:: perl modules but only add $XCATROOT/probe/lib/perl to @INC, not the
main $XCATROOT/lib/perl where perl-xCAT ships them. The RPM builder stopped
embedding those helpers, so /opt/xcat/probe/lib/perl/xCAT/ was absent on
installed systems and the subcommands were reported "Unsupported sub command".

Stage GlobalDef.pm, NetworkUtils.pm and ServiceNodeUtils.pm into a temporary
xCAT-probe tree and build its source tarball once, before the parallel target
builds fork, so workers only read a complete archive. Add package-payload
regression tests. Adopts the approach from upstream PR #7581.

The remaining buildrpms.pl changes are deployment-compliance refactoring
(signed, self-contained core repo output).

Closes #7579

Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
(cherry picked from commit 0c3c44f28b)
2026-07-19 12:19:49 -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
Markus Hilger 5463a7c46c Merge pull request #7558 from VersatusHPC/fix/mkdef-partial-object-on-validation-error
fix: prevent mkdef partial writes on validation errors
2026-05-07 11:50:41 +02:00
Vinícius Ferrão 2ae97c2ac4 fix: prevent mkdef partial writes on validation errors 2026-05-06 20:40:38 -03:00
Vinícius Ferrão 2915e9be0e Add xCAT TLS policy selection 2026-05-05 23:20:18 -03:00
Vinícius Ferrão 7897f30bfe Modernize xcatd service packaging 2026-05-04 18:13:23 -03:00
Markus Hilger 2bdb0d4d02 Merge pull request #7540 from VersatusHPC/fix/remove-docker-lifecycle
fix: remove Docker container lifecycle management (dead code since 2016)
2026-05-04 17:15:58 +02:00
Vinícius Ferrão 4165b26a04 fix: remove Docker container lifecycle management (dead code since 2016)
Docker container lifecycle management (mgt=docker, mkdocker, rmdocker,
lsdocker) was added in 2015-2016 as an experiment targeting Docker API
v1.22 on Ubuntu only. Documentation and man pages were deliberately
removed in 2019 (PRs #6222 and #6324) with the original developer's
approval, noting that "the interface of Docker has become very simple
right now, so there is no value for xCAT to offer such functions."

The plugin was still being shipped but has had no functional code changes
since April 2016, was never listed as a valid mgt value in Schema.pm,
and no user ever filed an issue about it.

Removed:
- xCAT-server/lib/xcat/plugins/docker.pm (1,142 lines)
- xCAT/postscripts/setupdockerhost
- xCAT-server/share/xcat/scripts/setup-dockerhost-cert.sh
- xCAT-test/autotest/testcase/dockercommand/ (test cases)
- Docker attribute definitions in Schema.pm
- Client symlinks (mkdocker, rmdocker, lsdocker)
- Usage entries and dockerhost cert handling in credentials.pm
- Docker attribute documentation in man7 pages

The "Running xCAT in Docker" documentation (dockerized_xcat/) is
retained as it documents containerizing xCAT itself, not the removed
mgt=docker feature.

Closes #7518
2026-05-03 12:11:33 -03:00
Vinícius Ferrão 260ce4420d Add OpenBMC rspconfig user and alert support 2026-05-03 01:34:56 -03:00
Vinícius Ferrão ec097e9d69 fix: show useful error when mkdef is called without attributes
When mkdef is called with an object name but no attributes (e.g.
mkdef -t node -o mynode), setFINALattrs produces an empty hash
and the OBJ loop has nothing to iterate. The code falls through to
"0 object definitions have been created or modified" with no
explanation of what went wrong.

Add a check after setFINALattrs: if FINALATTRS is empty, tell the
user what's missing. For nodes, mention that 'groups' is required.

Fixes #2765
2026-04-26 20:48:09 -03:00
Vinícius Ferrão 88579fbd77 Wire DHCP unit tests into xcattest 2026-04-23 15:10:40 -03:00
Markus Hilger c41a2d4423 Add Alma support to all testcases 2024-07-16 12:42:39 +02:00
Markus Hilger df64bf8feb Add missing shebang lines 2024-05-07 16:31:30 +02:00
Obihörnchen 7b7d488379 nodeset testcase: Allow dash in hostnames 2024-04-14 17:18:52 +02:00
Markus Hilger 32c4a9cfbe Remove redundant makedhcp_n_linux test case from CI pipeline
makedhcp_n_linux is the same as makedhcp_n. It doesn't make sense to run
both test cases.
2024-02-11 22:16:17 +01:00
besawn de3976ac37 Merge pull request #7384 from gurevichmark/bmcdiscover_c684
Add/remove routing for bmcdisover testcases
2023-05-12 14:18:57 -04:00
Mark ed1fbb1fae Add routing for bmcdisover testcases 2023-05-12 12:06:24 -04:00
besawn a104f63d56 Merge pull request #7376 from peterwywong/disjointdhcps 2023-05-09 09:16:26 -04:00
Wai Yee Wong cb75d9c8ba More changes to nodeset_disjointdhcps_petitboot, nodeset_grub2, nodeset_petitboot 2023-05-08 12:17:37 -04:00
Mark Gurevich d2a3ae77e1 Use explicit pseries machine type in c684 environment 2023-05-01 16:34:58 -04:00
Wai Yee Wong bde6f4ccab The IP address of testnode1 in nodeset_disjointdhcps_petitboot must be in the subnet of MN and SN 2023-04-21 18:30:17 -04:00
Mark Gurevich f9f79cbd72 Add restapi testcase to reset attribute 2023-03-13 15:00:03 -04:00
Mark Gurevich 60c2dd4efe More testcase changes for AlmaLinux 2023-02-13 09:23:19 -05:00
Mark Gurevich a5d5ee03be Additional testcase and postscript changes for AlmaLinux 2023-02-07 14:54:35 -05:00
Mark Gurevich 369683e139 Additional testcase changes for AlmaLinux 2023-02-06 14:23:16 -05:00
Mark Gurevich 89c81844af Modify testcases to run on AlmaLinux 2023-02-03 13:08:24 -05:00
Mark Gurevich d43cb1f134 Fix password testcases for sha512 2023-02-01 11:47:16 -05:00
Mark Gurevich 20ce89e153 Update docs and testcases to use sha512 2023-01-30 14:55:29 -05:00
Mark Gurevich 1172e462bc Debug RHEL8.6 modules testcase 2023-01-17 10:49:12 -05:00
besawn f4314bbc2a Merge pull request #7310 from gurevichmark/makedhcp_test
Testcase enhancements
2023-01-10 15:07:06 -05:00
besawn f6837b12c5 Merge pull request #7291 from gurevichmark/lzma_test3
Ignore lzma dependency on Oracle
2023-01-10 11:13:09 -05:00
Mark Gurevich cb72906054 Testcase enhancements 2023-01-10 10:21:40 -05:00
Wai Yee Wong 45f55e08c1 Remove added osimage and node attributes at the end of linux_diskless_kdump 2022-12-05 01:04:46 -05:00
Mark Gurevich 5ea831704d Ignore lzma dependency on Oracle 2022-11-28 15:10:28 -05:00
besawn 56a1403ad3 Merge pull request #7241 from gurevichmark/RH_module_support
Support module installation on RHEL8
2022-11-15 13:17:47 -05:00
Mark Gurevich e942dd6f37 Limit lzma testcase to run only on EL8 family of OSes 2022-11-14 16:00:33 -05:00
Mark Gurevich fc168cc9b8 Test lzma compression for genesis network boot 2022-11-08 14:46:00 -05:00
Mark Gurevich 89d36b9b94 more_diskspace3 2022-11-07 14:32:31 -05:00
Mark Gurevich f4fc0014da Free up disk space for regression test on SLES (2) 2022-10-31 11:31:57 -04:00
besawn 3d88b70d81 Merge pull request #7273 from gurevichmark/apt_key_test3
Use correct string compare operator for testcase
2022-10-27 15:48:00 -04:00
Mark Gurevich fe41b7008b Use correct string compare operator for testcase 2022-10-27 12:00:39 -04:00
Wai Yee Wong f4351a98a5 Return year only for date for currentyear in makentp_extntpserver_value 2022-10-27 11:59:21 -04:00
besawn 2b25878533 Merge pull request #7271 from gurevichmark/apt_key_test2
Better way to check OS in testcase
2022-10-26 15:43:03 -04:00
Mark Gurevich 03741fdd37 Add more time for node to reboot 2022-10-26 11:02:50 -04:00
Mark Gurevich 5ebb85a080 Better way to check OS in testcase 2022-10-26 10:21:01 -04:00
Mark Gurevich a6e08e4229 Free up disk space for regression test on SLES 2022-10-25 15:24:27 -04:00