2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

26833 Commits

Author SHA1 Message Date
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
Markus Hilger
c8cb1d6a38
Merge pull request #7257 from Obihoernchen/aarch64
Initial aarch64 support, cross arch stateless images with qemu-user-static, grub2 for x86
2024-07-25 16:12:11 +02:00
Alex Richert
0a3852e787 configib: fix/clean up el9 support 2024-07-24 18:01:38 -07:00
Markus Hilger
c41a2d4423 Add Alma support to all testcases 2024-07-16 12:42:39 +02:00
Markus Hilger
597fea5a64 Enable grub2 support for x86 2024-07-12 19:43:14 +02:00
Markus Hilger
8329cf6631 Update documentation for aarch64 and grub2 support 2024-07-12 19:37:15 +02:00
Markus Hilger
857e2909d9 Update man pages for aarch64 2024-07-12 17:13:59 +02:00
Kilian Cavalotti
7ef19295f1
bmcsetup: add support for setting bmcport on Supermicro servers (#7318)
* bmcsetup: add support for setting bmcport on Supermicro servers

* bmcsetup: set real shared mode for Supermicro BMC interface, and add web reference
2024-07-12 16:15:52 +02:00
Kilian Cavalotti
255ff27d8f
bmcsetup: revert previous meaning of bmcport for Dell servers (#7317)
* bmcsetup: revert previous meaning of bmcport for Dell servers, to
conform with other server types: 0=shared, 1=dedicated

* bmcsetup: remove dependency on `ipmitool delloem` and use raw cmds instead

ipmitool delloem may not work on all Dell server generations,
functionnality depends on ipmitool versions (see
https://github.com/ipmitool/ipmitool/issues/18).

So removing thatdependency and using raw IPMI commands seems more robust.
2024-07-12 16:05:54 +02:00
Markus Hilger
9da20387d7 Fix nicutils syntax, improve regex 2024-06-26 15:48:39 +02:00
Marc Nguyen
b9baaa9c98
Fix hack_uname() of mlnxofed_ib_install: POSIX compliance (#6989) 2024-06-25 17:09:17 +02:00
Andrey Kiryanov
8432960e02
Automatically add biosboot partition on >2TB drives with RHEL 7/8 (#7400)
Co-authored-by: Andrey Kiryanov <kiryanov_ak@pnpi.nrcki.ru>
2024-06-24 23:37:02 +02:00
Alex Richert
1e22382125
Use 'nmcli con modify' for nicextraparams on RHEL9 (#7444)
* Use 'nmcli con modify' for nicextraparams on RHEL9

* update configeth to support nic extra params for RHEL9

* fix new rc logic

* update configeth to support nic extra params for RHEL9, pt 2

* Add alma9+rocky9 for configeth

* Add alma9+rocky9 to nicutils.sh

* configib: use nmcli calls for el9

* configib: fix tabs

* Fix tabs

---------

Co-authored-by: Markus Hilger <markus.hilger@megware.com>
2024-06-24 23:35:36 +02:00
Markus Hilger
52e8399e4f
Merge pull request #7447 from Obihoernchen/el9_confignetwork_ipv6
Add support for static IPv6 addresses for EL9
2024-06-24 22:54:56 +02:00
Markus Hilger
4b40e4c7cb Add support for static IPv6 addresses for EL9 2024-06-17 15:55:43 +02:00
Markus Hilger
1acc57025b
Merge pull request #7440 from Obihoernchen/megware/el9_dns
EL9: Adding parsing NM resolv.conf for dns entries
2024-06-11 11:00:39 +02:00
Markus Hilger
167d029242
Merge pull request #7441 from Obihoernchen/permissions
Remove useless executable bit
2024-05-08 11:46:47 +02:00
Markus Hilger
f42011a493 Unify shebang lines 2024-05-07 16:43:07 +02:00
Markus Hilger
dc13997f14 Remove even more useless executable permissions 2024-05-07 16:34:59 +02:00
Markus Hilger
df64bf8feb Add missing shebang lines 2024-05-07 16:31:30 +02:00
Markus Hilger
2643c1edd6 Remove useless executable bit 2024-05-07 16:19:25 +02:00
sgr
0f95df177f adding parsing NM resolv.conf for dns entries (if there is no lease file) 2024-05-07 15:58:18 +02:00
Obihörnchen
549e6ba5ca
Merge pull request #7437 from xcat2/consortium
Do not rely on GPG key id
2024-04-23 20:52:25 +02:00
Markus Hilger
a5ed2d690e Fix goconserver path for EL9 2024-04-21 17:09:53 +02:00
Markus Hilger
55d6d13fe4 Add perl-lib required for xCAT on EL9 2024-04-21 16:13:13 +02:00
Markus Hilger
f7f3bdb5c7 Do not rely on GPG key id
- use the key name if possible
- instead of downloading repomd.xml.key, create it on the fly
2024-04-20 02:18:05 +02:00
Obihörnchen
5883584fde
Merge pull request #7436 from xcat2/nodeset_testcase
nodeset testcase: Allow dash in hostnames
2024-04-15 18:20:51 +02:00
Obihörnchen
ae379a71e8
Merge pull request #7435 from samveen/fix_7433
Fix for #7433 , #7434
2024-04-14 17:22:35 +02:00
Obihörnchen
7b7d488379
nodeset testcase: Allow dash in hostnames 2024-04-14 17:18:52 +02:00
Samveen
e54aabef0e
Fix #7433: correct typo in variable name
Signed-off-by: Samveen <samveen@samveen.in>
2024-04-13 12:37:01 +05:30
Samveen
e582521ec7
Fix #7434: add debian to check
Signed-off-by: Samveen <samveen@samveen.in>
2024-04-13 12:36:08 +05:30
Obihörnchen
ec04eba39e
Merge pull request #7429 from xcat2/discinfo-rhel
Fix RHEL 8 names
2024-03-04 03:45:35 +01:00
Obihörnchen
bd85efe305
Fix RHEL 8 names
A .0 patch level is actually part of the name in RHEL8.
This is not the case for RHEL 9 though.
2024-03-04 03:44:22 +01:00
Obihörnchen
cbee70bfc9
Merge pull request #7425 from xcat2/logrotate
Do not use copytruncate for xcat log rotation
2024-02-29 00:23:41 +01:00
Obihörnchen
a545bedc41
Merge pull request #7426 from Obihoernchen/nonzerolun
Add support for non-zero LUN
2024-02-29 00:21:33 +01:00
besawn
50652856ba
Merge pull request #7427 from xcat2/no_certificate
Do not check certificate when getting repomd.xml.key
2024-02-28 14:05:15 -05:00
Mark
1d5f504e05 Do not check certificate when getting repomd.xml.key 2024-02-28 13:34:24 -05:00
Jarrod Johnson
b4bda3e80f Add support for non-zero LUN
Systems are now more likely to do non-zero LUN
2024-02-28 12:34:27 +01:00
Obihörnchen
ef57011de2
Add rsyslog postrotate for Ubuntu/Debian
Thank you @samveen
2024-02-25 01:54:28 +01:00
Obihörnchen
fc80e758cc
Do not use copytruncate for xcat log rotation
PR https://github.com/xcat2/xcat-core/pull/6510 tried to fix missing logs for goconserver, but also added copytruncate to all xcat logs in /var/log/xcat*.log. This is not needed because these logs are written by rsyslog and xcat itself, not goconserver.

The main rsyslog developer does not recommend to use copytruncate for rsyslog: https://serverfault.com/a/901366

For HA setups with logs on NFS etc. copytruncate can be very slow.
2024-02-23 02:32:44 +01:00
Markus Hilger
0d2c97022c Update man pages with aarch64 and qemu-user-static 2024-02-21 12:04:18 +01:00
Markus Hilger
b27f419b25 qemu-user-static support for genimage + aarch64 support 2024-02-21 11:59:50 +01:00