Victor Hu
23f2b1c864
Merge pull request #4322 from gurevichmark/openbmc_rflash_hash_mismatch
...
Verify hash ID before activating uploaded firmware
2017-11-17 15:28:47 -05:00
Mark Gurevich
9b7a8eccc7
Enhancements after the review
2017-11-17 11:50:45 -05:00
zet809
be1dc2a6a9
Merge pull request #4320 from xuweibj/I4264
...
Modify timeout of login by curl command for OpenBMC
2017-11-17 17:09:49 +08:00
XuWei
5ae2aadc5f
modified depending on comments
2017-11-17 01:54:21 -05:00
zet809
be9116f5ff
Merge pull request #4289 from xuweibj/T4235
...
Task 4235, rspconfig BMC dump for OpenBMC
2017-11-17 14:12:04 +08:00
Samveen
b314b1eb3b
natural_sort_cmp: recursion to iterative implementation ( #4314 )
...
* natural_sort_cmp: recursion to iterative implementation
* natural_sort_cmp: correct prototype with parameters, as per `man perlfunc`
2017-11-16 23:52:24 -06:00
XuWei
80966800e2
modified depending on comments
2017-11-16 22:08:31 -05:00
Mark Gurevich
8ecd711c3d
Verify hash ID
2017-11-16 13:37:16 -05:00
Mark Gurevich
b1b310b302
Merge pull request #4312 from whowutwut/unknown_purpose
...
[OpenBMC] Initialize variables to Unknown in loop incase BMC doesn't respond with values
2017-11-16 10:41:09 -05:00
XuWei
fd8ba44039
Modify timeout of login by curl command for OpenBMC
2017-11-16 03:44:04 -05:00
Victor Hu
a88903e0e1
Initialize variables to Unknown in loop incase BMC doesn't respond with any values
2017-11-15 23:00:45 -05:00
Bin Xu
585d771ed1
Introduce a natural compare func for sorting array and using it for rinv/rvital ( #4307 )
...
* Introduce a natural compare func for sorting array and using it for rinv/rvital
* 1, Remove the comments for previous codes 2,not using a new array variable there
2017-11-15 21:31:03 -06:00
Mark Gurevich
f781e5bfed
openbmc rflash reduce output and msg enhancements
2017-11-14 17:40:33 -05:00
XuWei
8591620a13
Task 4235, rspconfig BMC dump for OpenBMC
2017-11-13 21:23:12 -05:00
Victor Hu
03f3fe0c6e
Fix bug in the output if rinv firm verbose that was displaying * for all active listings
2017-11-10 15:08:09 -05:00
zet809
e5584399a2
Merge pull request #4273 from xuweibj/M503
...
modify error msg when login by 'curl' failed
2017-11-10 09:59:21 +08:00
XuWei
47115a9141
modified depending on comments
2017-11-09 19:56:02 -05:00
Victor Hu
a72a1d2ff6
Merge pull request #4266 from xuweibj/I4126
...
Fix issue 4126, sort firmware with B/H
2017-11-09 17:30:09 -05:00
XuWei
c2311306f9
modify error msg when login by 'curl' failed
2017-11-08 20:24:02 -05:00
XuWei
acb731bf84
Fix issue 4126, sort firmware with B/H
2017-11-07 21:01:05 -05:00
XuWei
74c3742e6c
modified depenging on comments
2017-11-07 20:02:43 -05:00
XuWei
572a386a72
modify retry time for rpower reset
2017-11-07 02:50:28 -05:00
chenglch
16dac76a31
Fix the typo in openbmc rflash
...
Add $ before node to indicate the variable.
2017-11-07 13:40:34 +08:00
XuWei
6a050f5974
Fix issue 4192, fork to login before send real login request
2017-10-31 05:31:56 -04:00
zet809
a69504b1bf
Merge pull request #4168 from whowutwut/debug_rflash_openbmc
...
[OpenBMC] rflash -l, Reset the update_priority on each loop, or it will pick up the priority from the previous
2017-10-30 19:47:46 +08:00
Victor Hu
a115e3b7a3
Change update_priority to local variable since it's only used inside the loop
2017-10-27 14:29:16 -04:00
zet809
151144f6bf
Merge pull request #4151 from chenglch/rflash
...
Fix the spelling error for the openbmc rflash message
2017-10-27 17:53:39 +08:00
zet809
70a1c5b71e
Merge pull request #4170 from whowutwut/bmc_reboot
...
[OpenBMC] Hide the 504 timeout when doing a reboot of BMC since the REST service may be down
2017-10-27 17:42:00 +08:00
Bin Xu
9abe96809b
Fix 3026, ignore the rsetboot for openbmc box in petitboot during the stateful installation ( #4193 )
2017-10-27 04:10:47 -05:00
zet809
7e7ba8b252
Merge pull request #4153 from xuweibj/reset_boot
...
rpower reset and boot for OpenBMC support
2017-10-27 15:41:05 +08:00
chenglch
1aca1aa60b
Merge pull request #4191 from whowutwut/4053_multiple_args
...
Improve the parsing for rflash and detect error arguments in parsing
2017-10-26 21:35:09 -05:00
Victor Hu
d947e6b899
Improve the parsing for rflash and detect issues early on
2017-10-26 16:39:46 -04:00
Victor Hu
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
Victor Hu
08c4fc67ce
Remove the indication of 504 and check that bmcreboot was the command called
2017-10-26 09:53:38 -04:00
Victor Hu
dbb9cca156
Inform the user of the workaround when running rsetboot
2017-10-25 11:57:17 -04:00
XuWei
a97149756b
modified depending on comments
2017-10-25 01:46:55 -04:00
chenglch
4209f09c60
Fix the spelling error for the openbmc rflash message
...
Fix the spelling error
2017-10-25 09:19:02 +08:00
cxhong
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
Victor Hu
89594ba192
Hide the 504 timeout when doing a reboot of BMC since the REST service may already have gone down
2017-10-24 13:06:37 -04:00
Victor Hu
03a7e660d5
Remove the check for {Priority} because a valid value is 0
2017-10-24 11:49:38 -04:00
Victor Hu
d6bcd2f0e2
Reset the update_priority on each loop, or it will pick up the priority
...
from the last firmware that it checked (regardless of activation)
- Added some debug information to print when BYPASS is set
2017-10-24 09:46:31 -04:00
xuweibj
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
XuWei
b552a68977
rpower reset and boot for OpenBMC support
2017-10-23 04:14:14 -04:00
xuweibj
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
Victor Hu
3b22746c34
Return NotReady when looking for bmcstate if response is not OK
2017-10-20 15:53:04 -04:00
Victor Hu
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
Victor Hu
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
Victor Hu
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
Victor Hu
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
Victor Hu
9b5a2c7f3e
Merge pull request #4129 from chenglch/rflash
...
Use green sleep to help retry the request
2017-10-20 10:42:47 -04:00