22b7660b93
Add timestamp into the debug message in order to help trace the time
...
being spent in certain areas against the BMC. Re-ordered the debug
logging to print BEFORE we issue the command in order to capture the correct
timestamp
2017-10-26 11:08:11 -04:00
dbb9cca156
Inform the user of the workaround when running rsetboot
2017-10-25 11:57:17 -04:00
71258305bf
Merge pull request #4149 from whowutwut/flash_output
...
[OpenBMC] Improve the error for rflash activate/delete to return something more meaningful to the user
2017-10-24 17:09:29 -04:00
869642ed69
Enhance rspconfig sshcfg command (OpenBMC) by using multi-processes ( #4140 )
...
* Enhanse rspconfig sshcfg command (OpenBMC) by using multi-processes
* modified depending on comments
* modified depending on comments
2017-10-24 03:35:53 -05:00
61dcb9c0b8
Merge pull request #4125 from whowutwut/bmcready_state
...
Return NotReady when looking for bmcstate if response is not OK
2017-10-23 10:57:58 +08:00
3b22746c34
Return NotReady when looking for bmcstate if response is not OK
2017-10-20 15:53:04 -04:00
fa1d77c229
Provide better response messages when deleting or activating
...
IDs that are not valid in the BMCs
2017-10-20 15:52:08 -04:00
d077c36cf7
Sync up the summary output line for rflash openbmc so admins can grep 'Firmware' and get an good picture of the summary
2017-10-20 15:33:22 -04:00
1dd8943ea0
Merge pull request #4121 from zet809/rspconfig_ipsrc_ip_for_openbmc
...
Add ipsrc for rspconfig, fix rspconfig vlan reading
2017-10-20 14:07:54 -04:00
d40660fc63
Fix bug where the array is not being processed correctly in getting active
...
firmware in openbmc code.
2017-10-20 11:58:23 -04:00
9b5a2c7f3e
Merge pull request #4129 from chenglch/rflash
...
Use green sleep to help retry the request
2017-10-20 10:42:47 -04:00
a17e5773d2
Fix issue 4135, the syntax error of openbmc.pm
2017-10-19 22:53:47 -04:00
7bd250897b
Use green sleep to help retry the request
...
As sleep may block the main thread, this commit compare the
timestamp with the node timer in the main loop to avoid of
the blocking.
2017-10-20 09:32:25 +08:00
12ef155577
Modify message for rspconfig ipsrc option
2017-10-19 03:51:21 -04:00
a8371f7a7f
Merge pull request #4098 from immarvin/onissue
...
fix [OpenBMC] rspconfig sshcfg issue where keys are not copied seems to be in xCAT #4074
2017-10-18 21:59:06 -04:00
c92834bfe1
Add ipsrc for rspconfig, fix rspconfig vlan reading
2017-10-18 04:44:16 -04:00
2e63607c8c
refine the message in rspconfig sshcfg
2017-10-18 02:46:56 -04:00
1b1e2267a8
remove /.ssh/tmp/ directory
2017-10-17 23:18:04 -04:00
c5f55c3a1e
Add support for displaying the really active running firmware
...
on the rinv output (non verbose)
2017-10-17 16:13:41 -04:00
8ac06ef335
To reuse the code to obtain functional software IDs, move the code to
...
extract IDs into a function to be used by rinv response.
2017-10-17 16:13:28 -04:00
d6a2ba2bf0
Add code to support parsing the IDs that are returned by the functional
...
endpoint, which marks the firmware IDs that are REALLY active on the server.
2017-10-17 16:13:18 -04:00
d7d56ddd7b
remove intermidiate files after rspconfig
2017-10-16 03:41:23 -04:00
b176fc3d15
fix [OpenBMC] rspconfig sshcfg issue where keys are not copied seems to be in xCAT #4074
2017-10-16 02:54:58 -04:00
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
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
1b63d1d3e1
Merge pull request #4047 from whowutwut/openbmc_transition
...
Support transition states for OpenBMC - phase1
2017-10-10 08:50:55 +08:00
37ff4814b7
Fix issue 4057, enhance framework to print node range when unsupport
2017-10-09 02:31:15 -04:00
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
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
f0bfce5aa9
Adding quick change to protect from user specifying multiple firmware images to activate/delete
2017-10-05 16:42:35 -04:00
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
834f22a69c
If status is Failed on activation, need to decrement and return
2017-10-05 15:22:35 -04:00
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
afd1762417
Fix another location where the OPENBMC_PWR needs to be checked before printing transition state
2017-10-04 15:58:37 -04:00
0026daf6d7
Change the state to powering-on, if transition states is requested
2017-10-04 15:12:47 -04:00
5b6074c9b4
Add support for OpenBMC to show power state where host is not booted
2017-10-04 13:58:00 -04:00
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
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
cf39880a20
fix issue 4008, modify rsetboot command logic ( #4017 )
2017-09-27 20:33:33 -05:00
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
cd985c3fa0
Merge pull request #3990 from gurevichmark/openbmc_set_hostname
...
Setting BMC hostname message fix
2017-09-21 23:02:21 -04:00
80385cc806
Setting BMC hostname message fix
2017-09-21 14:37:14 -04:00
53dbeaf6b0
Merge pull request #3967 from xuweibj/reventlog_clear
...
reventlog clear for OpenBMC
2017-09-21 15:58:19 +08:00
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
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
af33fbe131
disable rpower reset and boot command for OpenBMC
2017-09-21 03:27:52 -04:00
6572e3f595
Fix issue 3979, do not set next status if command is getopenbmccons
2017-09-21 03:03:19 -04:00
23bab5d402
modify rsetboot url based on new interface for 1738
2017-09-21 02:39:25 -04:00
46ebe37f18
modify rpower reset to hard reset for OpenBMC
2017-09-20 02:50:19 -04:00
553cdd59d0
reventlog clear for OpenBMC
2017-09-20 01:24:05 -04:00