2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-12 17:34:16 +00:00
Commit Graph

5951 Commits

Author SHA1 Message Date
zet809 99884208c7 Merge pull request #4309 from cxhong/openbmccons
[openbmc]Do not send exec command to bmc console if bmc is not reachable
2017-11-17 11:12:30 +08:00
zet809 f816d95799 enhance nodediscovery process: don't write "NOIP" if the node can not be resloved to an IP (#3995)
* enhance nodediscovery process, if only 1 mac and have \*NOIP\* append, don't write mac table and don't generate dhcp lease entry

* Enhance PR 3995: enhance nodediscovery process: don't write "NOIP" if the node can not be resloved to an IP
2017-11-16 21:07:45 -06: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
Samveen 0d924af0fe dodiscovery: better disksize - ordered by major,minor and no \n (#4219)
* better disksize: ordered by major,minor and no `\n`

* nodediscover:`disksize` sent correctly: no need to `split`,`join`

* general sort with explicit key columns, fix search pattern

* dodiscovery: Fix bugs

* dodiscovery: Fix ShellCheck SC2007,SC2004

* dodiscovery: simpler kcmdline parsing, disksize as IEC binary prefix
2017-11-16 01:49:54 -06: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
Casandra Qiu f6690b648e [openbmc]Do not send exec command for bmc console if bmc is not reachable 2017-11-15 16:56:16 -05:00
Mark Gurevich f781e5bfed openbmc rflash reduce output and msg enhancements 2017-11-14 17:40:33 -05:00
xuweibj 5f4051f3d4 Merge pull request #4283 from whowutwut/4236
Fix bug in the output if rinv firm verbose that was displaying * for all listings
2017-11-14 09:55:34 +08:00
Victor Hu 796aa8dccb Merge pull request #4258 from zet809/disable_check_ipsrc_for_bmcdiscover
Disable option --check and --ipsource for bmcdiscover
2017-11-13 20:20:52 -05:00
ertaozh 64e831d7ee Modify the error information for --check and --ipsource for bmcdiscover 2017-11-13 03:44:11 -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
Yuan Bai 2b7b0b4e19 enhance my_ip_facing when multiple ips found for xcatmaster for mypost(#4274)
* Using facing IP first than sitemaster

* enhance my_ip_facing when multiple ips found
2017-11-09 17:37:34 +08:00
XuWei c2311306f9 modify error msg when login by 'curl' failed 2017-11-08 20:24:02 -05:00
zet809 eee0ec90db Merge pull request #4256 from xuweibj/reset
modify retry time for rpower reset
2017-11-08 10:49:33 +08:00
zet809 57ff82caa6 Merge pull request #4260 from jjohnson42/mknbdotfiles
Copy in hidden files to mknb
2017-11-08 10:19:12 +08: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
Jarrod Johnson 1dfc1ae80e Copy in hidden files to mknb
mknb was ignoring hidden files (e.g. .screenrc), fix this.
2017-11-07 11:52:16 -05:00
ertaozh 031baf5940 Disable option --check and --ipsource for bmcdiscover 2017-11-07 03:40:37 -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
zet809 c3c394d9eb Merge pull request #4174 from robin2008/stateless-sn-doc
Stateless service node RTD update
2017-11-02 15:00:53 +08:00
Casandra Qiu 469babefab bmcdiscover blathering garbage on non OpenBMC nodes 2017-11-01 13:03:20 -04: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 ce1c0859e1 Merge pull request #4147 from chuckbrazie/master_ChuckB_updatesSinceApril
Chuck Brazie updates since April, plus add back in xcatws.cgi from 2.13
2017-10-27 17:59:08 +08: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 c4da6435a6 Merge pull request #4171 from jjohnson42/sortnodels
Sort nodels attribute names
2017-10-24 21:16:53 -05: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
Jarrod Johnson 358ea0584f Sort nodels attribute names
The ordering of attribute names out of nodels
is inconsistent.  Use sort to provide consistent
output
2017-10-24 16:21:11 -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
Matt Ezell 628df6c47c Manage /var/log/xcat/rflash permissions 2017-10-23 15:17:07 -04:00