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
ertaozh
38d9914d35
Have ntp sync up waiting for 1 minute in case sync up failed
2017-03-14 23:06:03 -04:00
zet809
f1ac7b8564
Merge pull request #2479 from stanford-rc/enhance_mtm
...
Enhance mtm discovery for non-IBM hardware
2017-03-05 23:13:35 +08:00
Kilian Cavalotti
ed27765bf1
fix indentation (tabs instead of spaces)
2017-03-03 09:30:28 -08:00
ertaozh
5323cd4f64
To have xcat-genesis-script depended on xcat-genesis-base 2.13.2
2017-02-21 03:23:43 -05:00
Kilian Cavalotti
c0c6082b13
dodiscovery: use information from FRU instead of DMI for MTM
...
Don't use information from DMI to populate the MTM field, as there is no
guarantee it will match with what's in the FRU pages. Since
`bmcdiscover` uses FRU information, use it in `dosdiscovery` too so they
will match for MTMS discovery.
2017-02-13 10:57:26 -08:00
Kilian Cavalotti
603c7785f7
MTM: add support for other vendors, in the form of vendor::model
2017-02-10 13:38:22 -08:00
Victor Hu
defecc7496
Fix typo in bmcsetup if test
2017-01-31 13:52:14 -05:00
Victor Hu
b4d6b817ce
Merge pull request #2424 from zet809/fix_issue_2422
...
Don't use "which" to check whether ipmitool is installed in genesis
2017-01-19 10:12:44 -05:00
zet809
92b4408077
Merge pull request #2419 from jjohnson42/fixbmcsetup
...
Quote user and password in ipmitool
2017-01-19 15:22:30 +08:00
ertaozh
3040050e1d
Don't use which to check whether ipmitool is installed
2017-01-18 22:11:10 -05:00
Jarrod Johnson
fad57b6aff
Quote user and password in ipmitool
...
If a value had certain characters, the command would be incorrect.
For example, a password with a '#' in it would break.
2017-01-18 14:19:13 -05:00