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

5312 Commits

Author SHA1 Message Date
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
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
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
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
XuWei
af33fbe131 disable rpower reset and boot command for OpenBMC 2017-09-21 03:27:52 -04:00
zet809
e5d917fd33 Merge pull request #3982 from xuweibj/rsetboot
modify rsetboot url based on new interface for 1738
2017-09-21 15:26:19 +08: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
cxhong
a0edcd65fd Merge pull request #3970 from zet809/enhance_pdudiscover_with_unique_nodename
enhance switchdiscover to deal with finding nodes hash
2017-09-20 22:32:52 -04:00
ertaozh
b02df90e02 set nodename as pdu or switch incase no name get by snmp or nmap 2017-09-20 21:52:53 -04:00
chenglch
5c532433a8 Do not check the directory if pUpdate is not used
fix-issue: #3972
2017-09-21 09:11:44 +08:00
ertaozh
4410d4e282 enhance switchdiscover to deal with finding nodes hash 2017-09-20 02:51:02 -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
zet809
d6b6d9205e Merge pull request #3961 from bybai/mkhosts
nic interface check to avoid dot in short host name
2017-09-19 18:01:04 +08:00
zet809
0b5a2580ca Merge pull request #3962 from xuweibj/I3951
Fix issue 3951, rm all bmc nodes when discovered
2017-09-19 17:42:15 +08:00
bybai
c7ea492e6b polished 2017-09-19 05:21:07 -04:00