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

259 Commits

Author SHA1 Message Date
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 4aa3205bca Merge pull request #7567 from VersatusHPC/fix/makedhcp-remote-networks
fix: non-local networks being skipped in makedhcp
2026-05-08 01:57:19 +02:00
Vinícius Ferrão afbb9114cf fix: remove dead check that skips all remote networks in makedhcp
The activenics{"!remote!"} hash key is checked at line 1940 but never
set by any code path — neither the dhcpinterfaces parsing nor the
querynics discovery populates it. This causes the guard to always
evaluate true, hitting next and silently skipping every !remote!
network when dhcpinterfaces is defined in the site table or on a
service node.

Remove the dead check so remote networks are processed correctly.
The inner activenics{$netif} check (which uses the actual interface
name after stripping the !remote! prefix) is the correct guard and
is preserved.

Original analysis by lebonez in xcat2/xcat-core#7242.

Co-authored-by: Lebonez <25910791+lebonez@users.noreply.github.com>
2026-05-07 18:05:27 -03:00
Vinícius Ferrão ab86139959 Support configurable ISC OMAPI TSIG policy
Add a shared OMAPI policy helper for ISC DHCP and DDNS so administrators can select the key name, signing algorithm, and omshell path from the site table while preserving the existing xcat_key hmac-md5 default.

Keep local ISC updates from hanging indefinitely when omshell does not exit, and use a static host-declaration fallback for local Ubuntu ISC releases where omshell is unstable for xCAT host updates.

Co-authored-by: gskouson <1507929+gskouson@users.noreply.github.com>
2026-05-07 03:57:10 -03:00
Vinícius Ferrão bb8dd525da Error when node IP overlaps DHCP dynamic range
Previously, makedhcp warned but still created host entries without
a static IP reservation when a node's address fell inside the
dynamic range. The node would silently get a random IP from the
pool instead of its configured address.

Now errors and skips the node on all four DHCP paths (ISC v4/v6,
Kea v4/v6) with a clear message telling the admin to move the IP
outside the range or adjust the dynamic range.

This makes ISC DHCP and Kea behavior consistent and aligns with
xCAT's design: the dynamic range is for hardware discovery,
known nodes should have static IPs outside it.

Closes #6539
2026-05-05 00:48:30 -03: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 1babd7b0e4 fix: improve Ubuntu LTS provisioning support 2026-04-29 18:19:12 -03:00
Vinícius Ferrão 0f606615b3 Fix Kea UEFI reservation boot policy 2026-04-28 03:35:53 -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 fcd22757d2 Refine Kea xNBA handling and validation notes 2026-04-23 11:14:01 -03:00
Vinícius Ferrão 6f3d9bb9d1 Add Kea DHCP backend 2026-04-23 02:01:33 -03:00
Markus Hilger 40ac583410 Do not use hacked armgrub plugin 2024-02-21 11:59:50 +01:00
Jarrod Johnson 1b44680217 Preliminary aarch64 support
Add hooks to do a draft implementation of aarch64 using grub
2024-02-21 11:59:50 +01:00
Markus Hilger 172678ac87 Allow IPoIB MAC addresses for provisioning via IPoIB
Examples:

EFI Boot MAC address: 20:b8:ce:f6:03:00:31:33:3e
OS MAC address: b8:ce:f6:31:33:3e
2024-02-12 16:41:43 +01:00
cxhong 3456d4dd98 Add SLE15 Hierarchy support for ppc64le 2020-01-16 16:07:31 -05:00
GONG Jie 267f44de7c Fix dhcp.pm for grub2-http and grub2-tftp 2019-04-30 12:11:39 +08:00
GONG Jie 4ee60e49f9 Merge branch 'master' into rhels8-tmp 2019-02-26 16:53:49 +08:00
Jarrod Johnson 6df30438b2 Add comments to explain the hwtype change 2019-01-25 10:43:20 -05:00
Jarrod Johnson 1a4b89523b Allow IB/OPA addresses in mac table again
The change blocked valid addresses.
2019-01-24 13:44:15 -05:00
Jarrod Johnson f60a97dcb2 Have dhcp.pm recognize OPA hwaddr 2019-01-23 22:21:50 -05:00
Gᴏɴɢ Jie efc60c8825 Make makedhcp working on RHEL 8 xCAT management node (#5930)
* Patch dhcp.pm for RHEL 8

* Ignore interface lo while makenetworks

* Revise the comments to reflect the code changes
2019-01-08 15:54:47 +08:00
yangsong 6514297599 fix issue of site.httpport support in makedhcp (#5904) 2018-12-18 16:57:00 +08:00
yangsbj c4fe5ad5d9 support site.httpport in dhcp lease and config 2018-11-01 23:08:01 -04:00
ertaozh 366eef33a2 Modify warning message based on comments 2018-09-25 07:58:02 -04:00
ertaozh 26b142d2d4 Fix issue 5649: makedhcp misleading error message 2018-09-21 02:11:58 -04:00
GONG Jie 38cd104958 Remove trailing spaces in file xCAT-server/lib/xcat/plugins/dhcp.pm 2017-12-31 23:59:59 +00:00
GONG Jie 5dba261cd1 Remove trailing spaces in file ./xCAT-server/lib/xcat/plugins/dhcp.pm 2017-12-31 23:59:59 +00:00
bybai 880a84ce07 makedhcp check if mac format is valid 2018-07-27 00:49:22 -04:00
cxhong 7bbf1cacec Support nodeset <switch> osimage command for cumulus switch (#5144)
* Support nodeset <switch> osimage command for cumulus switch

* Add logical checking for provemethod and pkgdir

* fix conflict
2018-05-03 10:47:17 +08:00
bybai d60477b1f9 enhance 2018-02-26 22:37:31 -05:00
Yuan Bai 74d9eba944 Update dhcp.pm 2018-02-23 10:05:01 +08:00
bybai c655395d60 when no domain defined, should print error 2018-02-22 02:16:28 -05:00
Russ Auld da902b017c Add dhcp-client-identifier to lease block (#4429)
Machines that use Infiniband for PXE booting need to have the
dhcp-client-identifier set in the lease block.
Without it, they will not get the lease from the server.
2017-12-06 03:03:50 -06:00
Bin Xu ca6024750f makedhcp does not work well when all service nodes not running dhcp but disjointdhcps=1 (#4426) (#4440)
- if all service nodes not running dhcp, to treat it as disjointdhcps=0
- nodeset will send request to MN by default even if disjointdhcps=1
- Move out of the dhcp service checking from opts pre-check, and do it just before real makedhcp handling.
2017-12-05 02:48:29 -06:00
Bin Xu 6d345ab62d Fix #4023, remove the redundancy codes to report mac missing warning, and adjust message line make it better show in IDE (#4141) 2017-10-23 01:50:25 -05:00
Bin Xu 8a66d84381 Fix 3930, 1, only re-distribute to accessible dhcpsrv; 2, for non-sharedtftp mode, run makedhcp -d -l for offline (#3954) 2017-09-19 15:35:59 +08:00
Bin Xu 95fb719532 makedhcp dispatch the requesting to all available xcatd when the request is from service node (#3565)
- for non-disjoin mode, forward the request to MN also if preprocess is handled on SN
 - for disjoint mode, forward the request to dhcpservers which is serving dynamic range
2017-08-02 21:18:44 -05:00
yangsong 6ed46ff77f support service node pool (#3268) 2017-06-22 18:04:55 +08:00
cxhong 56500ea6bf Failed to run dhcpd if tftpserver defined as <xcatmaster> in the network (#3223)
table
2017-06-12 08:08:53 -05:00
cxhong bd60341cb6 Support ZTP process for Cumulus Switch (#3085)
* Support ZTP process for Cumulus Switch

* change name of onieztp to cumulusztp and add server ip
2017-05-22 21:45:18 -05:00
ertaozh 23bc17d365 To have petitboot and onie based node be able to get configuration from SN 2017-02-10 03:34:41 -05:00
Kilian Cavalotti c839a2c838 dhcp.pm: fix indentation of generated dhcpd.conf file 2017-02-07 14:21:14 -08:00
Casandra Qiu c972a8989b Filter out global local ipv6 address for makedhcp command 2016-11-16 15:40:21 -05:00
immarvin c02c101156 refine the dhcp conf for cumulus support 2016-11-08 15:51:30 +08:00
immarvin c933502500 refine the dhcp conf for cumulus support 2016-11-08 11:11:15 +08:00
cxhong 1cd4b6446c Check in init version of cumulus support[Do Not Merge] (#2020)
* Check in init version of cumulus support

* Add cumulus installation doc

* modify victor's comments.
2016-11-08 10:21:56 +08:00
Victor Hu c7e9625d3f Merge pull request #1930 from zet809/fix_issue_1881
Provide a 'noboot' option to disable genesis kernel on specific dhcp interfaces
2016-10-14 09:45:11 -04:00
ertaozh 45c676e3a4 Fix issue 1881: Garrison boots genesis kernel when mutliple interfaces have dhcp dynamic ranges 2016-10-14 02:33:15 -04:00
Matt Ezell 1e11b6e80f Add support for a default MTU on a network
Add a MTU column to the networks table.  If set, this will configure the MTU in
DHCP so that nodes will have the correct MTU during provisioning.  This is
important for large systems to enable jumbo frames to reduce CPU usage when
copying diskless images over the network (before the confignics postscript can
run to set the desired MTU).
2016-10-01 16:01:28 -04:00