2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-05 17:58:14 +00:00
Commit Graph

37 Commits

Author SHA1 Message Date
Jarrod Johnson
2357c29887 Add Walker Pass to bmcsetup 2020-06-25 11:55:34 -04:00
Jarrod Johnson
abc782473a Merge tag '2.16.0' into lenovobuild 2020-06-22 11:07:17 -04:00
Jarrod Johnson
4c3124dcf5 Skip slot detection on SR655
The firmware incorrectly describes slot 2 as 'name locked'
when it is in fact not.
2020-04-27 10:45:54 -04:00
adorsey-NOAA
996b05ce6a Update bmcsetup
Don't check $LOCKEDUSERS at all, instead fall back to userslot 2 as a last resort if the user doesn't already exist, and the automatic slot detection doesn't find an unlocked slot.  This is essentially what was happening in the older version of the script before #6380 as $LOCKEDUSERS was only ever referenced here.

Also move setting the username before setting privileges and access levels, as those steps fail if done before username is set for the slot.
2020-04-08 11:07:25 -04:00
adorsey-NOAA
e5c6039855 Update bmcsetup 2020-04-07 12:45:51 -04:00
Jarrod Johnson
78fa77584e Support longer passwords in bmcsetup 2020-03-18 10:28:33 -04:00
Jarrod Johnson
efbab45817 Merge tag '2.15.1' into lenovobuild 2020-03-06 11:10:19 -05:00
Mark Gurevich
d60d63ff09 Do not use Mihawk codename 2020-02-19 14:50:05 -05:00
Mark Gurevich
88ee3f1d67 Mihawk support for bmcdiscover and bmcsetup 2020-02-19 14:23:43 -05:00
Jarrod Johnson
6af6ed227e Merge tag '2.15.0' into lenovobuild 2020-01-24 10:39:24 -05:00
Mark Gurevich
0de926b4ab Merge pull request #6380 from adorsey-NOAA/patch-1
Automatically find first unlocked user slot
2019-12-05 12:48:36 -05:00
Jarrod Johnson
943905724e Enable IPMI over IPv6 for SR635/SR655 2019-12-05 09:58:14 -05:00
Jarrod Johnson
9786c542f1 Extend duration of the TSM restart
The TSM restart seemed inadequate in testing
2019-12-03 17:01:47 -05:00
Jarrod Johnson
5b98b4c7b6 Confirmed that there is another deeper problem
Extend and retry bringup attempt
2019-12-03 12:12:17 -05:00
Jarrod Johnson
70c13189cd Revert "Remove TSM networking restart"
This reverts commit 87df6c9ab6.
2019-12-03 12:03:35 -05:00
Jarrod Johnson
87df6c9ab6 Remove TSM networking restart
The cause of the problems was likely a NCSI failover
behavior.
2019-12-03 11:49:54 -05:00
Jarrod Johnson
6d17223f25 Fix bmcsetup syntax mistake 2019-11-22 14:08:36 -05:00
Jarrod Johnson
1da1c23d40 Attempt another strategy for TSM network config 2019-11-21 08:31:21 -05:00
Jarrod Johnson
8128989802 Abandon trying to run the dedicated in ipv6 mode.
The network stack on the TSM is unable to handle this
situation well.
2019-11-20 10:03:14 -05:00
Jarrod Johnson
55472c8654 Try another strategy for bmcsetup
Try to disable the channel and re-enable.
2019-11-19 16:34:31 -05:00
Jarrod Johnson
408cf2b353 Adapt channel number dynamically
SR635/SR655 lan channel identity may swap.
Use the oem command to determine the correct
port.
2019-11-19 15:35:48 -05:00
Jarrod Johnson
765e2ad358 Force only one path in SR635/SR655
In some scenarios, it can cause confusion for both interfaces
to be enabled.  Leave the dedicated port with ipv6 only and
disable the shared otherwise.
2019-11-18 14:33:59 -05:00
Jarrod Johnson
02da8a6b4f Enable IPMI on SR635/SR655 2019-11-15 14:51:14 -05:00
Jarrod Johnson
42357f9d67 Fix SR635/SR655
First, have to preclude the generic thinksystem treatment.

Also, IPMI 1.5 is no longer supported and we don't need it
so stop enabling it.
2019-11-12 11:59:11 -05:00
Jarrod Johnson
922dfe18c4 Enable bmcsetup for Lenovo SR635/SR655
The SR635/SR655 has a particular scheme for dedicated/shared
and hard coded correlated lan channels.  Implement
support for those scenarios.
2019-11-12 11:17:35 -05:00
Jarrod Johnson
949532f362 Add sleep after port change
The BMC net configuration was not yet ready in the wake
of having had the port changed immediately.  Put in an
opportunity for net cfg to catch up.
2019-10-23 08:46:32 -04:00
Jarrod Johnson
aaaa5755df Revert "Rearrange bmcsetup"
This reverts commit ff3e6c9557.
2019-10-23 08:45:12 -04:00
Mark Gurevich
2d706b9c75 bmcsetup Other LAN and 802.3 LAN for Channel Medium Type 2019-10-22 11:51:23 -04:00
Jarrod Johnson
ff3e6c9557 Rearrange bmcsetup
The password must be set first in some platforms.
2019-10-17 11:11:28 -04:00
Jarrod Johnson
afc999c43c Fix incorrect interpreter
The incorrect interpreter was indicated
2019-08-22 09:20:22 -04:00
Jarrod Johnson
4a459177e1 Implement IPMI enablement through redfish
Newer firmware will disable IPMI by default.

If a user is using bmcsetup, they are preparing explictly
to use with IPMI, so use redfish to turn on the IPMI.
2019-08-21 16:23:49 -04:00
adorsey-NOAA
b23d6d6615 Automatically find first unlocked user slot
Instead of relying on hard coded offsets, query each slot's status with ```ipmitool channel getaccess``` and use the first slot that is unlocked.

This fixes an issue on certain Cray x86 nodes that have arbitrary locked IPMI user slots.
2019-07-18 17:56:05 -04:00
Jarrod Johnson
dad3f26b9c Merge tag '2.14.3' into lenovobuild2.14
xCAT 2.14.3 release
2018-08-24 09:05:24 -04:00
Jarrod Johnson
e16cea2688 Merge tag '2.13.11' into lenovobuild2.13
xCAT 2.13.11 release
2018-03-26 10:49:04 -04:00
Kilian Cavalotti
e32d37e625 bmcsetup: add missing / in /dev/null 2018-01-24 11:20:23 -08:00
Samveen Gulati
63a3efe8bb move /*bin to /usr/ to fix path conflict of genesis base and scripts
RH7/Centos7 and recent versions of fedora relocate `/*bin/*` into `/usr/*bin/`. This causes
conflicts for upgrades against xCAT-genesis-scripts-* packages which expect the `/bin` a to be
a directory while `xCAT-genesis-base-*` packages provide a link. Relocating all files into `/usr`
fixes that conflict and allows a clean upgrade from all old versions.
2018-01-12 06:06:25 +00:00
GONG Jie
d53e54081c Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/bmcsetup 2017-12-31 23:59:59 +00:00