2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-28 06:23:26 +00:00

253 Commits

Author SHA1 Message Date
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
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
Victor Hu
317d7cf08e When doing rinv, the message comes out:
Recieved incorrect data from BMC.

Fix this by checking if the array value is defined, it not
return clear;undef
2015-10-09 13:56:38 -04:00
Victor Hu
ac063c6e11 Fix formatting issue in subroutine inv 2015-10-09 13:55:43 -04:00
Victor Hu
e1d5d815fb Fix more formatting issues to help readability 2015-10-08 18:05:08 -04:00
Victor Hu
702c67036c Fix obvious formatting alignment issue. Change tab to 4 space, added vim
configuration at the top comments to help developers switch tabstop
to 4 spaces
2015-10-08 17:54:11 -04:00
ertaozh
6f50243602 fix issue 212: rinv all doesn't work for firestone JMET machine 2015-09-24 04:46:57 -04:00
ertaozh
4f5682ede2 enhancement of rflash for firestone machine, check extra options 2015-08-20 06:38:56 -04:00
ertaozh
d8b62e3888 enhancement of rflash for firestone machine 2015-08-20 02:15:08 -04:00
ertaozh
d3b57a9378 support rflash for firestone machine, need to verify with Firestone machine 2015-08-18 04:06:41 -04:00
Jarrod Johnson
23456e552f Extend system x check for Lenovo system x
Now that system x can be one of three mfg ids, support all
of them.  This means there's some potential conflict with Lenovo
thinkservers, but that can be addressed later.
2015-07-14 09:49:38 -04:00
zhaoertao
a5d9750588 IPMI message enable for BMC account 2015-06-25 03:18:13 -04:00
ertaozh
7b740fb507 The default null-username ipmi account doesn't support set user access 2015-06-18 02:45:51 -04:00
ertaozh
4b59e1cdc1 rspconfig ip=dhcp to set BMC get ip address through DHCP 2015-05-20 04:54:36 -04:00
ertaozh
292fd7abfd For command 'rspconfig <node> "userid=<username>" "username=<username>" "password=<password>"', if no userid and username specified, the default userid will be 1, if userid not set but with username specified, the default userid will be 2 2015-05-20 02:38:39 -04:00
ertaozh
fb9edfa7dd won't update ipmi table inside rspconfig <node> "userid=N" "username=<username>" "password=<password>" command 2015-05-18 01:56:59 -04:00