2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-09-07 02:38:15 +00:00
Commit Graph

267 Commits

Author SHA1 Message Date
Jarrod Johnson
339720e137 Implement timeout for session sharing
When an ipmi session is shared, have waitforrsp
have a specified timeout.
2017-05-03 11:34:22 -04:00
Jarrod Johnson
b79c005061 Move pending UEFI to its own line
The pending info is not guaranteed to refer to the
primary bank.  Move to its own line to reflect the
ambiguity better.
2017-05-02 14:11:20 -04:00
Jarrod Johnson
a384f75f4d Have rspconfig understand comma delimited args
For a multi-node node, use commas to allow user to request other
parameters for distinct sub-nodes.
2017-05-02 12:02:51 -04:00
Jarrod Johnson
6f10116e59 Fix FPC reseat behavior on multiple nodes 2017-05-02 11:19:54 -04:00
Jarrod Johnson
25854e87a1 macdata can be a string, ignore that as well 2017-04-04 09:50:05 -04:00
Jarrod Johnson
4978055cd5 Correct wrong FPC abort code 2017-03-31 11:29:11 -04:00
Jarrod Johnson
2ac5da13ef Fix missing sessdata 2017-03-28 11:11:36 -04:00
Jarrod Johnson
edb97dc0f1 Fix if macdata does not exist
If macdata undefined, it took out all of inventory.
2017-03-28 09:28:20 -04:00
Jarrod Johnson
bebac9a567 Have FPC process handle failure to abort 2017-03-27 17:13:23 -04:00
Jarrod Johnson
201b2de89f Recognize CDI and PSI prefixes for IMM 2017-03-20 16:03:33 -04:00
Jarrod Johnson
e50cf37317 Provide UEFI version for TEI prefix 2017-03-20 15:49:57 -04:00
Jarrod Johnson
0dfe33edf5 Merge branch 'refs/heads/2.13' into lenovobuild2.13
Conflicts:
	xCAT/xCAT.spec
	xCATsn/xCATsn.spec
2017-03-01 09:46:50 -05:00
Casandra Qiu
c4e0f637c9 Add pdu support 2017-02-13 16:33:11 -05:00
Jarrod Johnson
d74bfd04d6 Fix rinv support for dimm 2017-01-18 14:28:00 -05:00
Jarrod Johnson
26a243c48b Revert "fix rinv should return correct warning message when the option is not valid"
This reverts commit 5d13aa4cf4.
2017-01-18 12:58:19 -05:00
Jarrod Johnson
06d7097f42 Recognize an alternative energy code
It may return C1 if not supported.
2017-01-17 15:56:45 -05:00
chenglch
7c5ef74565 Become process group leader when updating firmware
As exec is invoked, child process can not ignore the signal sent
to the process group, use setpgrp to set the pgid to itself.

close-issue: #1849
2016-12-01 16:44:02 +08:00
chenglch
8470c14090 Redirect progress message to rflash log files when updating firmware
Previously rflash process will be terminated when the tty session is closed
which is a very dangerous operation that may bricked the BMC. This patch will
ignore the `int`, `term` and `hup` signal when rflash is running and redirect
the output of ipmitool command to `/var/log/xcat/rflash/<node.log>` which make
the progress trackable. In addition,  -V option is provided to print more
verbose message from ipmitool when `hpm upgrade` command is running.

This patch also update the node status in the `nodelist` table to record
the rflash status.

fix-issue: #1849
2016-11-28 13:21:26 +08:00
penguhyang
5d13aa4cf4 fix rinv should return correct warning message when the option is not valid 2016-10-20 01:53:51 -04:00
penguhyang
b0e0b8fe92 support vlan for rspconfig 2016-09-20 03:17:22 -04:00
ertaozh
09b28930dc support options model|serial|deviceid|uuid|guid|vpd|mprom|firm for rinv for OpenPOWER servers 2016-08-30 03:40:36 -04:00
Patrick Lundgren
2586572132 Added check for GRS hardware current firmware version above 1.7_2.55 (1610A) 2016-08-17 11:07:54 -04:00
Patrick Lundgren
484cf08bfd Removed unintended changes that were result of scp from dev machine 2016-08-16 09:49:46 -04:00
Patrick Lundgren
5f5bb2052f Added check for GTB Model Type to hpm upgrade buffer size 2016-08-15 15:50:40 -04:00
Jarrod Johnson
76ed1ab158 Provide a workaround for SD350 beacon
SD350 standard command does not stay on indefinitely.
Provide a workaround to cause that to stay on.
2016-08-12 10:07:16 -04:00
Mark Gurevich
0a3fbd8d51 perltidy all perl files 2016-07-20 11:40:27 -04:00
XuWei
52ec24a9b1 Improve the performance for ipmi mgt(powering-on) 2016-07-13 01:32:02 -04:00
XuWei
cdfae3d40d add status powering-on for ipmi mgt 2016-06-29 03:47:18 -04:00
Jarrod Johnson
cb0dab1f92 Merge github.com:jjohnson42/xcat-core 2016-04-29 11:35:06 -04:00
Jarrod Johnson
0ac9feda3e Add Trusted IMM build to rinv
Report trusted build id when detected.
2016-04-29 11:32:51 -04:00
ertaozh
300dabc333 Enhance rinv for garrison server 2016-04-28 22:35:33 -04:00
chenglch
7fe3ba3c14 Merge pull request #643 from pdlun92/rflash_check
rflash -c output modifications
2016-03-25 09:29:33 +08:00
Patrick Lundgren
bbe6b6b35c Updated relevant comments in ipmi.pm. Removed rflash_delay description from Schema.pm and documentation/man pages 2016-03-21 14:54:48 -04:00
Patrick Lundgren
ed4469b3b0 rflash will now check for " 00" BMC response to raw command suggested by Uma Yadlapati. Removed sleep workaround 2016-03-18 14:07:27 -04:00
Patrick Lundgren
ce32b49db3 modified rflash output to use component description (BOOT, APP, BIOS) instead of ID numbers 2016-03-18 11:14:16 -04:00
Jarrod Johnson
05da0afb99 Suppress invalid mac data
Sometimes a FRU MAC address area may have
unitialized data for irrelevant portion.
Mask by filtering out scenarios where
mfg OUI changes for a single NIC, which
is never the case.
2016-03-07 15:26:42 -05:00
chenglch
02ceafc428 Add a attribute in site table to set the delay time for rflash
Currently abort failure(0x81) occur during the initiate stage as
the firmware state is not stable enough after cold reset. As the
delay time is not a constant value, this change add a interface in
site table for user to set this value.

Close-issue: #471
2015-11-30 03:59:31 -05:00
ertaozh
f99e7697dc fix issue 462: The result of "rvitals wattage" is not right on firestone and habanero 2015-11-25 01:20:34 -05:00
Victor Hu
f180db98f7 Merge pull request #443 from zet809/rspconfig_ip_S822LC
fix issue 440: IBM Power S812LC using rspconfig to set bmc ip address…
2015-11-23 21:38:57 -05:00
chenglch
0da58b39d9 Fix-defect: Add sleep function before upgrade firmware
Firmware or ipmitool-xcat may not stable enough. BMC can handle
the ipmi request from ipmitool, but can not be upgraded succesfully,
add a sleep function as a work around.

Fix-issue: #442
2015-11-20 01:40:01 -05:00
ertaozh
6dc8102594 fix issue 440: IBM Power S812LC using rspconfig to set bmc ip address failed if the bmc is in dhcp mode 2015-11-20 01:37:51 -05:00
Victor Hu
f997141422 Merge pull request #402 from zet809/renergy_for_power_s822l
renergy support for IBM power s822LC, add power_reading and temp_read…
2015-11-18 22:40:59 -05:00
ertaozh
2be4d11d9b renergy support for IBM power s822LC, add power_reading and temp_reading options 2015-11-18 03:40:06 -05:00
zet809
4d34f67799 Merge pull request #250 from whowutwut/rinv
Fix for xcat-core/issues/233, rinv recieve incorrect data from BMC
2015-11-17 13:43:58 +08:00
Victor Hu
743960c5a8 Add FRU ID into the error message to be more descriptive
about receiving the incorrect data from the BMC
2015-11-16 10:56:52 -05:00
chenglch
2608c753c1 Fix defect: Error to check the rflash option
rflash for ipmi also supports the fpc machines,
delete the check constraints for unknown options.
2015-11-16 07:52:40 -05:00
chenglch
a52c7166c2 Fork a rflash process for each node
Original implementation use thread to deal with the rflash
procedure for multiple nodes, but thread is not suggested
by perl. This patch aims to replace the thread with process.
2015-11-11 02:48:28 -05:00
Victor Hu
76acb1f315 Merge pull request #355 from chenglch/rflash
rflash to upgrade firmware with ipmitool-xcat
2015-11-05 16:16:11 -05:00
chenglch
63b3b6facb rflash to upgrade firmware with ipmitool-xcat
- check ipmitool-xcat version (1.8.15 or above)
- check hpm file
- upgrade firmware with ipmitool-xcat
- add thread support for rflash
2015-11-05 03:08:51 -05:00
Casandra Qiu
956310878b Github issue #234, add more sensor type support for rvitals command 2015-11-03 17:12:57 -05:00