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
Samveen
73e1912f93
dodiscovery: Collapse unnecessary awk
invocations into one ( #4045 )
2017-10-10 02:31:05 -05:00
XuWei
01a4a49405
Delete all '.' in mtm and serial string for OpenBMC
2017-09-22 00:09:45 -04:00
Victor Hu
e6613a8fb5
Merge pull request #3833 from zet809/enhance_bmcsetup_for_WSP
...
enhance bmcsetup for WSP
2017-09-13 23:57:56 -04:00
ertaozh
95f6e07614
Remove the log to output Disabling VLAN configuration information
2017-09-11 23:17:51 -04:00
zet809
a4c525836a
Merge pull request #3133 from stanford-rc/enhance_mtm
...
Enhance MTM detection from FRU pages
2017-09-06 16:19:55 +08:00
ertaozh
586d086b95
modify bmcsetup according to Victor's comments
2017-09-06 02:44:13 -04:00
ertaozh
40f3b88c1e
enhance bmcsetup for WSP:1. use raw to untag vlan, 2. enable ipsrc static, 3. open set access on and don't check the return code
2017-09-01 04:13:01 -04:00
ertaozh
38cd44d6fe
fix issue 3809: doxcat can not deal with destiny osimage
2017-08-31 05:36:53 -04:00
Victor Hu
b7c2a76423
Remove the call to logger before rsyslog is started
2017-08-30 22:50:41 -04:00
zet809
e1a230e10c
Merge pull request #3591 from whowutwut/discovery_msg_cleanup
...
Remove commented code and fix typo in dodiscovery
2017-08-11 14:12:29 +08:00
immarvin
02fa80fba3
fix issue dodiscovery sending findme packet 4 times for each node #3408
2017-08-04 03:20:49 -04:00
Victor Hu
9ed7419096
Remove commented code, fix spelling error in dodiscovery
2017-08-02 00:15:36 -04:00
Samveen Gulati
0174dc353f
Fix bug introduced into bmcsetup
by commit bb460dc
...
Commit bb460dc introduced a minor bug, where the value of LOCKEDUSERS
was no longer considered while handling existing entries in the user
list. This fixes that by adding back the check.
2017-08-01 12:24:29 +00:00
Yuan Bai
f329a2efa7
Merge pull request #3512 from chenglch/getadapter
...
Make getadapter work during discovery process
2017-07-24 15:17:17 +08:00
XuWei
4d54889a36
Task 3406, add BMC MAC in bmcdiscover and discovery process
2017-07-21 03:39:01 -04:00
chenglch
e8df039d42
Make getadapter work during discovery process
...
This patch redesign the original getadapter plugins. Currently,
getadapter do not work as a common command but only a chain command
works during discovery.
2017-07-20 16:03:52 +08:00
Samveen
90aead7217
doxcat
: Check if governor exists before applying (#3509 )
2017-07-19 20:27:12 -05:00
ertaozh
554c35924e
remove the log message "snooze for 1 second" in bmcsetup
2017-06-28 01:51:34 -04:00
ertaozh
254fc0b151
The MAC is not got correct when doing hardware discovery
2017-06-27 04:35:54 -04:00
Samveen Gulati
f1b406dbc0
Reduce grep
invocations by passing -[46]
to ip
2017-06-06 09:53:29 +00:00
Victor Hu
bf382dcd10
Sync up the spelling to use: OpenPOWER and OpenBMC
2017-06-02 15:02:02 -04:00
Kilian Cavalotti
b7676f7448
MTM: some systems have FRU entries, but set to "NONE"
2017-05-25 17:24:23 -07:00
Kilian Cavalotti
7067220128
Enhance MTM detection from FRU pages
...
For systems that don't provide "Product Name", try to use "Product
Part Number" instead. Supermicro does this, for instance:
# ipmitool fru print 0
Chassis Type : Other
Chassis Part Number : CSE-118GQETS-R2K03P
Chassis Serial : [...]
Board Mfg Date : Sun Dec 31 16:00:00 1995
Board Mfg : Supermicro
Board Serial : [...]
Board Part Number : X10DGQ
Product Manufacturer : Supermicro
Product Part Number : SYS-1028GQ-TR
Product Serial : [...]
2017-05-24 15:38:31 -07:00
ertaozh
69f38cbb87
Update bmcsetup related code for OpenBMC
2017-05-09 04:03:41 -04:00
ertaozh
2aa3136094
add set channel access on to apply network setting for OpenBMC
2017-05-08 05:11:27 -04:00
ertaozh
fe8e4b800c
enhance bmcsetup logic for openbmc
2017-05-05 04:33:09 -04:00
Kilian Cavalotti
a08134d9f7
dodiscovery: add a fallback for getting MTM from DMI
...
In some cases, FRU pages are not available, or don't contain relevant
readable or relevant information. In those cases, we could still fall
back to DMI to get the MTM information, and log a warning that
MTMS-based discovery may not work as expected.
2017-03-21 14:03:53 -07:00
Victor Hu
d6531550ec
Merge pull request #2627 from zet809/fix_issue_2327
...
Have ntp sync up waiting for 1 minute in case sync up failed
2017-03-21 14:39:55 -04:00
ertaozh
38831c8358
Modify the waiting time clearer for user for ntp-wait
2017-03-21 05:27:52 -04:00
Victor Hu
799d143e90
Merge pull request #2593 from zet809/fix_issue_2362
...
fix issue 2362: If packimage is not run, osimage in the chain table w…
2017-03-16 15:42:32 -04:00
ertaozh
b425feb494
fix issue 2362: If packimage is not run, osimage in the chain table will fail on netboot images
2017-03-14 23:22:54 -04:00