2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-11 15:50:11 +00:00
Commit Graph

20836 Commits

Author SHA1 Message Date
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
daaf1d747c Merge pull request #4078 from mattaezell/makehosts_noclobber
'makehosts -n' Improvement
2017-10-11 11:05:59 +08:00
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
ac0ea2d2af fix xHRM fails when installnic is not set (#4060)
* fix xHRM fails when installnic is not set

* polished

* polished
2017-10-10 03:49:52 -05:00
73e1912f93 dodiscovery: Collapse unnecessary awk invocations into one (#4045) 2017-10-10 02:31:05 -05:00
61805a19ab Improvements to RH/Centos Kickstart templates. (#4046)
* remove spaces at EOL

* Saner partitioning section in templates

* Save install time xCAT logs for service nodes

* remove duplicates from `service.rhels7.*.pkglist`
2017-10-10 00:37:41 -05:00
66cdb5c65c Merge pull request #4004 from chenglch/nodesetsubvar
Do not query noderes table in subvars subroutine
2017-10-10 10:31:18 +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
9dc508f9c0 Merge pull request #4056 from whowutwut/beacon_stat
Print a better message for rbeacon indicating that only on and off is supported
2017-10-09 14:22:35 +08: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
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
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
b51f4271ce Merge pull request #4038 from cxhong/pduoutput
Change format of rinv/rvitals output for PDU
2017-10-05 09:35:29 -04:00
4864967d4a Merge pull request #4044 from whowutwut/mellanox_sample_postscripts
Include sample postscripts to help admins check firmware version and update mellanox adapter firmware
2017-10-04 16:04:05 -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
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
df6209c381 Instead of testing for open, test if NOT closed,then OpenBMC 2017-10-03 14:02:09 -04:00
6c01fed51c Create some sample postscripts that users can run to check
Mellanox OFED/Adapter firmware levels and update the adapter
firmware level independent on installing a new version of OFED
2017-10-03 12:00:54 -04:00
f295689c22 Merge pull request #4005 from mattaezell/ztp_improvements
Improvements to Cumulus ZTP
2017-10-02 13:39:29 -04:00
9ff54dede6 Change format of rinv/rvitals output for PDU 2017-09-29 15:30:22 -04:00
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
faff9c51e6 Merge pull request #4027 from hu-weihua/case_switch
test case for testing switch-based switch discovery key process
2017-09-29 14:54:31 +08:00
c66f73ccd9 modify depending on comments 2017-09-29 02:13:33 -04:00
bcee7b19e0 modify depending on comments 2017-09-29 02:09:09 -04:00
ad9179b18f modify depending on comments 2017-09-29 02:07:30 -04:00
20e1e7213c Support config snmpv1/2 community string for Mellanox switches during discovery phase (#4030)
* Support config snmpv1/2 community string for Mellanox switches during
discovery phase

* checking snmpversion defined in the switches table
2017-09-28 22:07:55 -05:00
a28edb3e6f modify community string 2017-09-28 09:56:32 -04:00
4318da8e7e test case for testing switch-based switch discovery key process 2017-09-28 04:19:13 -04:00
55e1dde86f fix issue Switch-based node discovery failed on cumulus switch #4007 (#4022) 2017-09-28 14:18:45 +08:00
f93f5e8e2c Workaround switches that report ifindex in bridge (#4019)
Some switches report ifindex instead of bridge index.

This is not compliant behavior.  However, we can detect
that every last mac was a dead end, and assume this is
the case to try to get better result.  This won't work
if there is overlap in interface and bridge indexes, so
in that case, the spec compliant behavior is assumed.
2017-09-27 21:31:30 -05:00
2d024b5aeb Have xcoll take a try at sorting output groups (#4018)
It isn't natural sort, but in many cases it should work.

Natural sort in perl is a pain or a dependency.
2017-09-27 20:36:30 -05:00
cf39880a20 fix issue 4008, modify rsetboot command logic (#4017) 2017-09-27 20:33:33 -05:00
489ee67c6a Oneclipasu (#4020)
* Filter out extraneous output of OneCli

* Remove extraneous content from pasu

* Update pasu filtering

* Fix recognizing success to filter

* Update for new Lenovo OneCLI rpm

The new packaging offers up iflash64 and asu in a consistent
location.

* Workaround different IPv6 syntax for asu/onecli

* Filter out header of new version of OneCLI

* Filter out the Invoking SET command output of onecli
2017-09-27 20:32:17 -05:00
6f1e0bdab9 If the openbmc console port is returned by nmap, assume that it's openbmc 2017-09-26 14:25:27 -04:00
90c10ede1d Merge pull request #3997 from immarvin/oncumulusgrade
add cumulus upgrade doc
2017-09-26 10:13:56 -04:00
ce443ed0e4 Merge pull request #3937 from mattaezell/docfix_3891
Fix the documentation from #3891
2017-09-26 10:47:17 +08:00
a9b23dfa1d Improvements to Cumulus ZTP
- Use the full path to cl-license
- Allow configinterface to download files
- Run enablesnmp in mypostscript so we have the correct community string
2017-09-25 16:04:09 -04:00
dbefcc9f95 Modified switchdiscover man page 2017-09-25 15:55:57 -04:00
d8d40f184c add cumulus upgrade doc 2017-09-25 09:38:37 -04:00
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
69900c5313 Merge pull request #4003 from whowutwut/rsetboot_net_fix
[OpenBMC] Support older endpoint path before OP910 1738 driver, fix rsetboot, 403 message.
2017-09-23 14:31:01 -04:00