2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-09 02:00:10 +00:00
Commit Graph

26911 Commits

Author SHA1 Message Date
Daniel Hilst Selli 3bbdcf5900 Revert "Remove doxcat changes from 4a1905171d0994c2a44e72aa10bcaa05139889bc"
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-27 11:20:29 -03:00
Daniel Hilst Selli 3569fbe77e Revert "fix: Replace yaboot with grub2 for PPC nodediscovery"
This reverts commit 90a84dc375.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-27 11:14:47 -03:00
Daniel Hilst Selli 42d23c7d92 fix: Fix regresion in makedns in update mode
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-20 13:26:46 -03:00
Daniel Hilst Selli d7e8ec9607 fix: Pull xCAT-genesis-scripts based on the arch
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-18 18:22:37 -03:00
Daniel Hilst Selli ee87e90099 build: Add local repo mode for buildrpms.pl
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-18 18:21:09 -03:00
Daniel Hilst Selli 90a84dc375 fix: Replace yaboot with grub2 for PPC nodediscovery
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-18 18:20:10 -03:00
Daniel Hilst Selli d309601a30 fix: Fix templates for EL10 in ppc64le enviroment
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-12 11:27:37 -03:00
Daniel Hilst Selli 4a1905171d fix: Fix genesis boot in ppc64le
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-11 09:32:35 -03:00
Daniel Hilst Selli 3767e0a25f fix: Fix typo in xCAT-test/xcattest
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-05 08:26:50 -03:00
Daniel Hilst Selli fd69b14d75 fix: Generalize buildrpms to handle ppc64le and other distros*
* Motivation: Before this commit we hardcoded "rhel" in the mock chroot
  names, but these depend running over RHEL host. After this commit the
  distribution name is read from /etc/os-release ID variable. So it
  should work on any EL clone now.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-05 08:21:21 -03:00
Daniel Hilst Selli 4780ba9400 fix: Fix genesis loop where osimage value grows at each boot
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-02-26 13:54:56 -03:00
Daniel Hilst Selli 0e0ead786f fix: Fix genesis & sequential node discovery in x86_64
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-02-25 14:08:40 -03:00
Daniel Hilst Selli 51c638476e fix: Fix dracut dependencies in buildrpm.pl
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-02-20 11:25:47 -03:00
Daniel Hilst Selli 7c01777fd5 fix: Add install_deps to buildrpm.pl to automate deps installation
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-02-20 10:57:29 -03:00
Daniel Hilst Selli d691c5ccda fix: [WIP] Build xCAT-genesis-base source package in buildrpms.pl
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-02-13 14:31:26 -03:00
Daniel Hilst Selli 3e657daee8 fix: Add xCAT-genesis-scripts to build list
doc: Document a GPG error solution in buildrpm.pl manual.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-02-09 12:57:54 -03:00
Daniel Hilst Selli 8507813961 fix: Add script to build xCAT-genesis-base in EL10
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-02-06 15:28:10 -03:00
Daniel Hilst 7451aed445 Merge pull request #7 from VersatusHPC/fix/fix-unit-tests-failing
Fix xcat-genesis-scripts & xcat-vlan build in build-ubunturepo
2026-01-29 16:48:50 -03:00
Daniel Hilst Selli f61b0401da fix: Fix xcat-genesis-scripts and xcat-vlan build in build-ubunturepo
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-29 14:46:49 -03:00
Daniel Hilst 5d9ea71d23 Merge pull request #6 from VersatusHPC/feat/prepare-merge-upstream
Prepare for upstream merge
2026-01-26 13:55:32 -03:00
Daniel Hilst Selli 048d82768e doc: Add comments to /etc/init.d/xcatd changes
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-26 13:51:07 -03:00
Daniel Hilst Selli 32acf9af04 revert: Revert changes in github_action_xcat_test.pl
- And Cosmetic change in Utils.pm

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-26 13:50:57 -03:00
Daniel Hilst Selli a8d80ad820 debug: Echo build-ubunturepo output during the build
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-26 12:55:56 -03:00
Daniel Hilst Selli ed076c9243 fix: Revert cosmetic changes
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-26 10:37:30 -03:00
Daniel Hilst Selli 971df49d6e fix: Fix CI build.
* WIP in github_action_xcat_test.pl
* Fix typo in build-ubunturepo.sh

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-23 11:42:18 -03:00
Daniel Hilst Selli c638ec3d35 fix: Fix version format in Version
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-22 12:27:43 -03:00
Daniel Hilst Selli 8bbf4246fb revert: Revert README.md to upstream version
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-22 12:15:14 -03:00
Daniel Hilst Selli 9ce1120356 revert: Revert xCAT.spec adding genesis dependencies again
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-22 11:57:29 -03:00
Daniel Hilst Selli 3a1d458df7 fix: Remove -extension from openssl req call in setup-server-cert.sh
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>

See: https://github.com/openssl/openssl/issues/22966#issuecomment-1858396738
2026-01-22 11:30:37 -03:00
Daniel Hilst Selli 1bcc1293e6 revert: Revert changes in github workflow, versions and build scripts
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-01-22 11:29:26 -03:00
Vinícius Ferrão d63e4fbb06 Merge pull request #2 from VersatusHPC/fix/mock-build-packaging
fix: build with mock
2025-12-08 21:31:39 -03:00
Daniel Hilst Selli 86250a4165 doc: Update build/test scripts options in test/README.md
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-08 11:15:03 -03:00
Daniel Hilst Selli 01f508da09 fix: Fix the help messages in all the scripts
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2025-12-05 17:59:32 -03:00
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