2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-29 09:13:08 +00:00

5213 Commits

Author SHA1 Message Date
zet809
d958b50d60 Merge pull request #4037 from robin2008/petitboot-error-handle-4-noderange
Enhance nodeset error handling not to exit with one node error when operating a node range
2017-10-17 14:34:44 +08:00
zet809
c4352ea46e Merge pull request #4097 from chenglch/rflash
Enhance openbmc framework with multi-processes
2017-10-17 10:32:44 +08:00
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
Victor Hu
86d45209c8 Merge pull request #4066 from xuweibj/I4062
Fix issue 4062, modify method of node type check in bmcdiscover
2017-10-11 23:47:11 -04:00
zet809
d6121a0a7e Merge pull request #4070 from samveen/fix_3981
Fix for #3981: update switch information during mtms discovery
2017-10-11 16:11:06 +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
XuWei
8db826016c mofidied depending on comments 2017-10-10 22:54:35 -04:00
Matt Ezell
20e203cd5b 'makehosts -n' Improvements
- 'makehosts -n' will leave the server without a hosts file while it is
  generating the new one, but there's really no reason for that.
- While /etc/hosts should never be missing, 'makehosts -n' should
  include the loopback addresses no matter what.
- makehosts with and without '-n' should use the same locking to prevent
  multiple concurrent execution.
2017-10-10 22:08:50 -04:00
Samveen Gulati
0cd882ae95 Fix for #3981: update switch information during mtms discovery 2017-10-10 10:31:52 +00:00
XuWei
b36c0ee19e Fix issue 4062, modify method of node type check in bmcdiscover 2017-10-10 02:35:18 -04:00
Bin Xu
76aa2ca666 Missing one possible error for node ip checking 2017-10-10 12:51:38 +08:00
Bin Xu
66cdb5c65c Merge pull request #4004 from chenglch/nodesetsubvar
Do not query noderes table in subvars subroutine
2017-10-10 10:31:18 +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
cxhong
f324bdca9b Merge pull request #4051 from whowutwut/rflash_error_failed
[OpenBMC] Enhance ERROR checking on the rflash code if the upload step does not succeed
2017-10-05 15:38:09 -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
b51f4271ce Merge pull request #4038 from cxhong/pduoutput
Change format of rinv/rvitals output for PDU
2017-10-05 09:35:29 -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
cxhong
7e6accbe09 Merge pull request #4012 from whowutwut/bmcdiscover_port
Assume that any bmc that has nmap response on the openbmc_port is a openbmc server
2017-10-03 16:14:57 -04:00
Victor Hu
df6209c381 Instead of testing for open, test if NOT closed,then OpenBMC 2017-10-03 14:02:09 -04:00
Bin Xu
7da8844f82 1, enhance error handling for grub2 plugin; 2, move grub2 configuration business logic into 'setstate' 2017-09-30 17:49:29 +08:00
Bin Xu
15a149583d More mac address prechecking to destiny plugin 2017-09-30 13:09:54 +08:00
Bin Xu
a717283a28 make xnba plugin error hanlding better for batch operation 2017-09-30 13:05:40 +08:00
Bin Xu
57aa417987 Not return directly for nodeset when hit one node failure 2017-09-30 10:29:32 +08:00
Casandra Qiu
9ff54dede6 Change format of rinv/rvitals output for PDU 2017-09-29 15:30:22 -04:00
Victor Hu
474b78dc52 Merge pull request #4001 from cxhong/3977
Add -c option for switchdiscover command to pass in community string
2017-09-29 13:15:44 -04:00
Casandra Qiu
a28edb3e6f modify community string 2017-09-28 09:56:32 -04:00
xuweibj
cf39880a20 fix issue 4008, modify rsetboot command logic (#4017) 2017-09-27 20:33:33 -05:00
Victor Hu
6f1e0bdab9 If the openbmc console port is returned by nmap, assume that it's openbmc 2017-09-26 14:25:27 -04:00
chenglch
3408e93e6b Do not query noderes table in subvars subroutine
This patch refactor the interface to get xcatmaster and tftpserver
attributes in the subvars subroutine to improve the performance.

partial-issue: #3958
2017-09-25 16:33:23 +08: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
Casandra Qiu
5ffaebd636 Add -c option for switchdiscover command to pass in community string 2017-09-22 16:36:06 -04:00
zet809
9b3664569b Merge pull request #3994 from xuweibj/I3993
Delete all '.' in mtm and serial string for OpenBMC
2017-09-22 13:21:31 +08:00
XuWei
01a4a49405 Delete all '.' in mtm and serial string for OpenBMC 2017-09-22 00:09:45 -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
122446a490 Merge pull request #3985 from immarvin/onswitchmac
fix issue switchtype didn't set for cumulus switch after discover #3976
2017-09-21 17:03:05 +08:00
immarvin
e0ec727564 fix issue switchtype didn't set for cumulus switch after discover #3976 2017-09-21 04:35:46 -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