2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-21 19:22:05 +00:00

267 Commits

Author SHA1 Message Date
Mark Gurevich
4a6ccf0ca5 Update docker build containers to CentOS8 (3) 2022-05-13 13:05:11 -04:00
Mark Gurevich
e58074ad4a Update doxcat discovery script to run on Fedora34 generated image 2021-09-30 17:42:07 -04:00
Mark Gurevich
a80c172f83 RH8 genesis scripts 2021-09-22 15:36:45 -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
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
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
Mark Gurevich
2d706b9c75 bmcsetup Other LAN and 802.3 LAN for Channel Medium Type 2019-10-22 11:51:23 -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
GONG Jie
6dac9ae943 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/updateflag.awk 2017-12-31 23:59:59 +00:00
GONG Jie
815d4a5653 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/update_flash 2017-12-31 23:59:59 +00:00
GONG Jie
f52b4c3664 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/restart 2017-12-31 23:59:59 +00:00
GONG Jie
9e4c168da2 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/remoteimmsetup 2017-12-31 23:59:59 +00:00
GONG Jie
0e5b1dd5fa Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/raidutils 2017-12-31 23:59:59 +00:00
GONG Jie
9486f23b74 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/raidcmd 2017-12-31 23:59:59 +00:00
GONG Jie
a4563635eb Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/getipmi 2017-12-31 23:59:59 +00:00
GONG Jie
642d9daa3d Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/getcert 2017-12-31 23:59:59 +00:00
GONG Jie
c30238cd73 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/getadapter 2017-12-31 23:59:59 +00:00
GONG Jie
8cf5ac93a7 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/doxcat 2017-12-31 23:59:59 +00:00
GONG Jie
a1a9d1b460 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/dodiscovery 2017-12-31 23:59:59 +00:00
GONG Jie
02c4f1ba22 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/diskdiscover 2017-12-31 23:59:59 +00:00
GONG Jie
acb79d7216 Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/configraid 2017-12-31 23:59:59 +00:00
GONG Jie
d53e54081c Remove trailing spaces in file xCAT-genesis-scripts/usr/bin/bmcsetup 2017-12-31 23:59:59 +00:00
GONG Jie
2766f8f5c6 Remove trailing spaces in file xCAT-genesis-scripts/etc/init.d/functions 2017-12-31 23:59:59 +00:00
GONG Jie
3fb5ace2dc Remove trailing spaces in file xCAT-genesis-scripts/debian/copyright 2017-12-31 23:59:59 +00:00
ertaozh
7c1ef91cb5 Fix issue 5360: dodiscovery does not handle lldp failures in some cases 2018-07-24 03:19:51 -04:00
XuWei
9d5dede0d1 update node status when enter shell/standby 2018-04-25 04:46:12 -04:00
cxhong
8f61ee5ace Add ondiscover support for chain table (#4903)
* Add ondiscover support for chain table

* For ondiscover, run nextdestiny after the current operation is done

* Don't set OpenPower server boot from network if boot
2018-03-29 17:50:04 +08:00
zet809
7d3c3c41b9
Merge pull request #4863 from robin2008/nodediscover
Failed to discover nodes as the discovery method is set  to undef by wrong
2018-03-01 15:59:45 +08:00
Bin Xu
b962479353 Fix the issue: Failed to discover nodes as the discovery method is set to udef by wrong (#4860)
- zvmdiscovery plugin will not handle findme
 - not change request if no temp discovered bmc nodes, to avoid the confusing error message
 - add more logs, and ignore the `ipmitool sol info` error output
2018-03-01 15:20:25 +08:00
Casandra Qiu
721d77b6bc Remove "dynamic" checking in the doxcat scripts 2018-02-27 16:42:14 -05:00
zet809
4af7ba619b
Merge pull request #4781 from stanford-rc/dodiscovery_syntax
dodiscovery: fix syntax error in case flag_serial is not defined
2018-02-02 14:05:37 +08:00
Kilian Cavalotti
ea9b20e1fe dodiscovery: fix syntax error in case flag_serial is not defined 2018-02-01 17:34:29 -08:00
zet809
c6d0cbb094
Merge pull request #4760 from stanford-rc/MTM_fixes
dodiscovery: fallaback to DMI if FRU is incomplete
2018-02-01 09:41:48 +08:00
Kilian Cavalotti
49b8f0cf44 dodiscovery: FRU info may be present may incomplete. Check the contents
of MTM obtained from FRU and fallback to DMI if it's empty.
2018-01-31 16:47:28 -08:00
Kilian Cavalotti
e32d37e625 bmcsetup: add missing / in /dev/null 2018-01-24 11:20:23 -08:00
zet809
179b1cdf6c modify directory to copy bmcsetup/getipmi scripts (#4649) 2018-01-17 23:48:13 -06:00
ertaozh
a2d2ed1d34 From 2.13.10, the genesis scripts is moved to usr/bin or usr/sbin 2018-01-17 03:41:35 -05: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
ladams00
5d4925c317 Add if/else statement to allow ipmi=on just for Intel S2600BP system boards 2017-12-29 12:08:49 -08:00
ladams00
60388ddf1e Added "ipmi=on" to channel setaccess so ipmi user can remotely hit bmc on Intel S2600 compute boards (not enabled out of box). 2017-12-26 22:52:21 -08:00
Samveen Gulati
04fba5e277 Fix check for MTM values with spaces 2017-11-23 10:05:47 +00:00
Matt Ezell
ded43107e2 Fix 4363 - discovery broken (#4364) 2017-11-22 20:11:23 -06:00
Samveen
0d924af0fe dodiscovery: better disksize - ordered by major,minor and no \n (#4219)
* better disksize: ordered by major,minor and no `\n`

* nodediscover:`disksize` sent correctly: no need to `split`,`join`

* general sort with explicit key columns, fix search pattern

* dodiscovery: Fix bugs

* dodiscovery: Fix ShellCheck SC2007,SC2004

* dodiscovery: simpler kcmdline parsing, disksize as IEC binary prefix
2017-11-16 01:49:54 -06:00
Victor Hu
b34131e1a6 Remove the access on for OpenBMC and use raw command 2017-11-06 14:04:22 -05:00
Samveen Gulati
5009c31d67 dodiscovery: get lan channel, dont use 1 (eg. HP uses 2) 2017-10-24 07:15:23 +00:00
ertaozh
b3b1432b64 spelling error, change from ISOPENPOEWR to ISOPENPOWER 2017-10-15 23:21:55 -04:00
ertaozh
b8358ec066 Modify the comments for Supermicro Boston and B/S servers 2017-10-13 02:13:56 -04:00
ertaozh
6e66cb7ec9 fix issue 4065: bmcsetup as postscript hangs due to background process 2017-10-12 04:30:09 -04:00