2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-08 09:40:11 +00:00
Commit Graph

272 Commits

Author SHA1 Message Date
Mark Gurevich 998a9e82e2 Message fixes suggested in review comments 2017-04-12 15:16:47 -04:00
Mark Gurevich ffd203eeaf Add --retry option to rflash command 2017-04-12 14:03:18 -04:00
Mark Gurevich f9d065ee06 Improve progress messages 2017-04-10 11:12:18 -04:00
Mark Gurevich 7b65e01db8 add --buffersize option to rflash 2017-04-07 14:12:17 -04:00
Mark Gurevich 79706016ef modify rflash to make sure BMC ready code 00 stays on 2017-04-06 16:38:55 -04:00
zet809 96f3cdcedc Merge pull request #2764 from jjohnson42/fixrinv
Fix if macdata does not exist
2017-03-30 10:18:25 +08:00
zet809 f8214f9f6d Merge pull request #2725 from chenglch/rflashipmitimeout
Fix timeout issue if bmc is unreachable for rflash
2017-03-29 17:39:55 +08:00
Mark Gurevich cf872bf57b Merge pull request #2736 from zet809/enable_xcatdebugmodel_for_ipmiraw
enable ipmi raw data if xcatdebugmodel set
2017-03-28 13:11:40 -04:00
Jarrod Johnson d0da3108cf Fix if macdata does not exist
If macdata undefined, it took out all of inventory.
2017-03-28 09:30:05 -04:00
cxhong 377b2349d5 Merge branch 'master' into 2335 2017-03-28 08:43:35 -04:00
chenglch e9b395d1ae Fix timeout issue if bmc is unreachable for rflash
As the original ipmi code do not exit with error code, it is
not possible to judge the success or not from return code of child
procss. This patch will send message from child processes directly.
This patch also change the wait time to check whether the ipmi
session is useable and add power on at the end of rflash process.

close-issue: #2693
close-issue: #2682
2017-03-28 14:09:07 +08:00
ertaozh 8e879cec0e fix an issue when list ipmi raw data 2017-03-27 11:25:47 -04:00
ertaozh 39b1df045f use wrong site attribute xcatdebugmodel before, change to xcatdebugmode 2017-03-27 09:10:28 -04:00
Casandra Qiu 8b8021fa3f remove checking for Habanero server 2017-03-24 14:18:25 -04:00
Casandra Qiu d022582718 add back the line I deleted 2017-03-23 17:29:30 -04:00
Casandra Qiu 35e704bd14 modify with Victor's review 2017-03-23 15:05:21 -04:00
Casandra Qiu f26aba338b rinv command get error message on Habanero 2017-03-23 12:07:52 -04:00
ertaozh 6047515122 enable ipmi raw data if xcatdebugmodel set 2017-03-23 05:48:56 -04:00
Casandra Qiu 865527400f ADD support for power reset of PDU outlet 2017-03-21 12:01:42 -04: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
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