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

26943 Commits

Author SHA1 Message Date
Markus Hilger
d017a941ca Merge pull request #7521 from VersatusHPC/fix/rspconfig-same-ip-verification
Fix/rspconfig same ip verification
2026-04-26 20:18:50 +02:00
Vinícius Ferrão
05a23be37a retrigger CI 2026-04-26 14:35:45 -03:00
Vinícius Ferrão
dd53d1bff7 fix: rspconfig verification fails when setting BMC IP to current value
The verification logic in rspconfig_response uses a mutually exclusive
if/else to check for the old IP (origin_type) and new IP (check_result).
When setting the same IP, both match the same entry but only origin_type
gets set — check_result stays 0 and the command reports "Config IP failed".

Make the two checks independent so both can match the same IP object.

Fixes #5121
2026-04-26 04:36:07 -03:00
Vinícius Ferrão
ca8baff388 Merge branch 'xcat2:master' into master 2026-04-26 04:35:05 -03:00
Markus Hilger
a0117699f4 Merge pull request #7519 from VersatusHPC/fix/vm-only-if-guard
fix: remove only_if mgt=kvm guard from vm table attributes
2026-04-26 03:08:50 +02:00
Markus Hilger
e448d0ac70 Merge pull request #7520 from VersatusHPC/fix/nodeset-empty-repo-template
fix: skip empty local-repository.tmpl in nodeset
2026-04-26 03:06:31 +02:00
Vinícius Ferrão
893769e7e8 Merge pull request #2 from VersatusHPC/fix/nodeset-empty-repo-template
fix: skip empty local-repository.tmpl in nodeset
2026-04-25 19:10:57 -03:00
Vinícius Ferrão
2d07295d8c fix: skip empty local-repository.tmpl in nodeset
When a pkgdir has no valid repodata, Yum.pm creates an empty
local-repository.tmpl file. Template.pm then reads it and generates
an empty yum repo config block in the kickstart. Adding a -s check
skips empty template files instead of silently including them.

Revives the fix from PR #4769 which was closed without merging.

Fixes #3572
2026-04-25 19:04:20 -03:00
Vinícius Ferrão
c5f4ac1a59 fix: remove only_if mgt=kvm guard from vm table attributes
Five vm attributes (vmhost, vmothersetting, vmmemory, vmcpus, vmnics)
had an only_if => 'mgt=kvm' guard in Schema.pm that silently hid them
from lsdef output unless mgt=kvm was set. The other 16 vm attributes
had no such guard. This inconsistency caused the documented regex
example in "Groups and Regular Expressions in Tables" to produce
incomplete output.

Fixes: xcat2/xcat-core#3006
2026-04-25 17:47:52 -03:00
Vinícius Ferrão
c881291e4a Merge pull request #1 from VersatusHPC/fix/vm-attributes-only-if-guard
fix: remove only_if mgt=kvm guard from vm table attributes
2026-04-25 17:44:30 -03:00
Vinícius Ferrão
8176947a1c fix: remove only_if mgt=kvm guard from vm table attributes
Five vm attributes (vmhost, vmothersetting, vmmemory, vmcpus, vmnics)
had an only_if => 'mgt=kvm' guard in Schema.pm that silently hid them
from lsdef output unless mgt=kvm was set. The other 16 vm attributes
had no such guard. This inconsistency caused the documented regex
example in "Groups and Regular Expressions in Tables" to produce
incomplete output.

Fixes: xcat2/xcat-core#3006
2026-04-25 16:42:42 -03:00
Markus Hilger
7b5e585dce Merge pull request #7517 from VersatusHPC/kea-dhcp-backend
Add Kea DHCP backend
2026-04-25 17:29:29 +02:00
Vinícius Ferrão
24266c8fa8 Record ppc64le Genesis blocker provenance 2026-04-24 12:19:52 -03:00
Vinícius Ferrão
1412850457 Document DHCP backend validation matrix 2026-04-23 23:19:56 -03:00
Vinícius Ferrão
e0e04f017d Render Kea additional classes by version 2026-04-23 19:39:25 -03:00
Vinícius Ferrão
714c0785b6 Preserve OPAL conf-file handling for Kea 2026-04-23 19:19:29 -03:00
Vinícius Ferrão
c2a90293ea Address DHCP backend review findings 2026-04-23 18:41:42 -03:00
Vinícius Ferrão
88579fbd77 Wire DHCP unit tests into xcattest 2026-04-23 15:10:40 -03:00
Vinícius Ferrão
792b0a07dc Clarify Kea live DHCP operations in makedhcp docs 2026-04-23 14:12:08 -03:00
Vinícius Ferrão
889b4ad254 Document the DHCP backend validation matrix 2026-04-23 11:51:09 -03:00
Vinícius Ferrão
fcd22757d2 Refine Kea xNBA handling and validation notes 2026-04-23 11:14:01 -03:00
Vinícius Ferrão
8399d88509 Address Perl quality findings 2026-04-23 03:04:37 -03:00
Vinícius Ferrão
6f3d9bb9d1 Add Kea DHCP backend 2026-04-23 02:01:33 -03:00
Markus Hilger
cf9a654b45 Merge pull request #7516 from xcat2/sunset-revert
Update sunset notice
2026-04-22 02:06:16 +02:00
Markus Hilger
ff1f1cde9b Update sunset notice 2026-04-22 02:01:41 +02:00
Markus Hilger
b6fd6148c0 Merge pull request #7515 from VersatusHPC/master
README update & Rebuild xCAT-genesis-base inside mock
2026-04-22 01:56:37 +02:00
Daniel Hilst
40a7e4c43d Merge pull request #8 from VersatusHPC/fix/rebuild-genesis-base
Build xCAT-genesis-base in EL10
2026-04-17 11:11:09 -03:00
Vinícius Ferrão
749f9fa9c7 docs: update xCAT status in README 2026-04-17 03:14:04 -03:00
Daniel Hilst Selli
baa2380cd2 fix: Move dracut call to the .spec
This fixes a problem where the dracut image was pulling artifacts from
the build host and not the mock image, e.g. building for EL9 in EL10.

Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-04-14 11:15:56 -03:00
Daniel Hilst Selli
1b0deaf9af fix: Fix dhcp-client dependency failure during genimage
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-04-01 13:02:35 -03:00
Daniel Hilst Selli
fccdc3ec64 fix: Fix genesis-base package build
Signed-off-by: Daniel Hilst Selli <392820+dhilst@users.noreply.github.com>
2026-03-30 20:46:42 -03:00
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
Markus Hilger
169d416480 Merge pull request #7513 from VersatusHPC/master
Preliminary support for EL10
2026-02-24 16:06:48 +01: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