2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-22 11:42:05 +00:00

186 Commits

Author SHA1 Message Date
chenglch
8d3f9e111f Enhance openbmc framework with multi-processes
This patch integrate the process worker with the state machine
to support upload firmware in parallel.

partial-issue: #4055
2017-10-16 11:50:25 +08:00
zet809
09edb40a3d Merge pull request #4061 from xuweibj/I4057
Fix issue 4057, enhance framework to print node range when unsupport
2017-10-11 13:47:36 +08:00
xuweibj
1b63d1d3e1 Merge pull request #4047 from whowutwut/openbmc_transition
Support transition states for OpenBMC - phase1
2017-10-10 08:50:55 +08:00
XuWei
37ff4814b7 Fix issue 4057, enhance framework to print node range when unsupport 2017-10-09 02:31:15 -04:00
Victor Hu
d605a39c45 For IPMI and OpenBMC managed nodes, rbeacon can only perform
the on or off action, nothing else is supported.
2017-10-05 21:47:15 -04:00
Victor Hu
1b9956e1fa Merge pull request #4054 from whowutwut/protect_rflash_options
Change to protect from user specifying multiple firmware to activate/delete
2017-10-05 16:46:27 -04:00
Victor Hu
f0bfce5aa9 Adding quick change to protect from user specifying multiple firmware images to activate/delete 2017-10-05 16:42:35 -04:00
cxhong
b0c4b36952 Merge pull request #4052 from whowutwut/rflash_activate_error
If Activate status of firmware is Failed, return out
2017-10-05 16:21:37 -04:00
Victor Hu
834f22a69c If status is Failed on activation, need to decrement and return 2017-10-05 15:22:35 -04:00
Victor Hu
e629fad188 Add code to detect when a firmware that is uploaded cannot
be found when attempting to activate.  Currently, we cannot
detect this error and it's more difficult to track the bugs in the
firmware
2017-10-05 13:00:45 -04:00
Victor Hu
afd1762417 Fix another location where the OPENBMC_PWR needs to be checked before printing transition state 2017-10-04 15:58:37 -04:00
Victor Hu
0026daf6d7 Change the state to powering-on, if transition states is requested 2017-10-04 15:12:47 -04:00
Victor Hu
5b6074c9b4 Add support for OpenBMC to show power state where host is not booted 2017-10-04 13:58:00 -04:00
Victor Hu
78ef2e752e Add a env variable XCAT_OPENBMC_POWER_TRANSITION=YES, that can be used to turn on and off transition mode 2017-10-03 16:41:29 -04:00
Victor Hu
1c43c11c83 Add transition state codes to rpower, this only works when
softoff is used as transition states is not accurate on a hard power off
2017-10-03 16:15:23 -04:00
xuweibj
cf39880a20 fix issue 4008, modify rsetboot command logic (#4017) 2017-09-27 20:33:33 -05:00
Victor Hu
cafc3ba8e4 To support machines with older firmware than OP910 1738, we need to
allow for an environment variable that takes care of any URL endpoints
that might have changed to maintain backwards compatiability during FW
development
2017-09-23 08:57:20 -04:00
Victor Hu
cd985c3fa0 Merge pull request #3990 from gurevichmark/openbmc_set_hostname
Setting BMC hostname message fix
2017-09-21 23:02:21 -04:00
Mark Gurevich
80385cc806 Setting BMC hostname message fix 2017-09-21 14:37:14 -04:00
zet809
53dbeaf6b0 Merge pull request #3967 from xuweibj/reventlog_clear
reventlog clear for OpenBMC
2017-09-21 15:58:19 +08:00
zet809
2552882f32 Merge pull request #3978 from xuweibj/dis_reset
disable rpower reset and boot command for OpenBMC
2017-09-21 15:56:11 +08:00
zet809
b0e50845ce Merge pull request #3983 from xuweibj/I3979
Fix issue 3979, do not set next status if command is getopenbmccons
2017-09-21 15:52:12 +08:00
XuWei
af33fbe131 disable rpower reset and boot command for OpenBMC 2017-09-21 03:27:52 -04:00
XuWei
6572e3f595 Fix issue 3979, do not set next status if command is getopenbmccons 2017-09-21 03:03:19 -04:00
XuWei
23bab5d402 modify rsetboot url based on new interface for 1738 2017-09-21 02:39:25 -04:00
XuWei
46ebe37f18 modify rpower reset to hard reset for OpenBMC 2017-09-20 02:50:19 -04:00
XuWei
553cdd59d0 reventlog clear for OpenBMC 2017-09-20 01:24:05 -04:00
Victor Hu
304120530a Merge pull request #3914 from gurevichmark/openbmc_rflash_multiple_nodes
Handle more than one node for openbmc rflash
2017-09-18 16:38:47 -04:00
Mark Gurevich
5ac1f04791 Simplify code based on review comment 2017-09-18 11:49:51 -04:00
XuWei
14b5c39d89 Add node name in output of reventlog for OpenBMC 2017-09-17 22:48:42 -04:00
Victor Hu
94d0f1b917 Merge pull request #3911 from gurevichmark/openbmc_reventlog_sort
OpenBMC reventlog output formatting and sorting
2017-09-13 23:58:51 -04:00
Mark Gurevich
8bfbb5e258 Handle more than one node for openbmc rflash 2017-09-13 15:06:56 -04:00
Mark Gurevich
7d3ebe3583 OpenBMC reventlog output formatting and sorting 2017-09-13 08:44:30 -04:00
XuWei
e4b2ae6528 expose rspconfig get options and rflash command 2017-09-13 01:17:38 -04:00
Victor Hu
6ad7e30ab7 Merge pull request #3895 from gurevichmark/openbmc_rflash_version_BMC
BMC update image check and upload+activate rflash options
2017-09-12 16:22:57 -04:00
Victor Hu
7ce22fbe6f Add check for priority before using the value 2017-09-11 14:36:09 -04:00
Mark Gurevich
1118a047db BMC update image check and upload+activate rflash options 2017-09-11 14:10:19 -04:00
Victor Hu
e5623c7663 Indicate software at priority 0 with a '*' 2017-09-11 10:15:55 -04:00
XuWei
f1c40ec54f fix a typo in openbmc.pm 2017-09-01 04:34:57 -04:00
zet809
6e9971968b Merge pull request #3793 from whowutwut/openbmc_rspcfg_hostname
Add Support for rspconfig to set/get hostname of the BMC
2017-09-01 12:51:01 +08:00
xuweibj
50039719b0 add trace log in openbmc (#3813)
* Task #3796, add trace log in openbmc
2017-09-01 10:33:17 +08:00
Victor Hu
193ba55a7e Change the formatting for BMC output text to match IPMI output 2017-08-31 16:37:24 -04:00
Mark Gurevich
5055ff4b04 Do not dispay firmware entry if no Version attribute 2017-08-31 14:24:42 -04:00
zet809
8df2af819d Merge pull request #3812 from xuweibj/T3808
Task 3808, ignore transition state until get stable firmware for rpower state
2017-08-31 15:38:49 +08:00
XuWei
7031dc0e4f Task 3808, ignore transition state until get stable firmware for rpower state 2017-08-30 20:22:25 -04:00
Mark Gurevich
a1951f8f46 Make sure authorized_keys file was created 2017-08-30 15:39:50 -04:00
Victor Hu
c4c640d18a Open the functions that are currently supported, sshcfg, ip=dhcp, and hostname for rspconfig 2017-08-29 17:07:14 -04:00
Victor Hu
1542027192 Sync up the format of the rspconfig output on the BMC 2017-08-29 16:31:11 -04:00
Victor Hu
3935971a22 Merge pull request #3750 from gurevichmark/openbmc_upload_and_update
OpenBMC PNOR upload and activate firmware image file
2017-08-29 15:42:48 -04:00
Victor Hu
db08fe8fb2 Add support for setting hostname for the BMC 2017-08-28 16:48:38 -04:00