2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-02 11:37:07 +00:00

8671 Commits

Author SHA1 Message Date
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
XuWei
a17e5773d2 Fix issue 4135, the syntax error of openbmc.pm 2017-10-19 22:53:47 -04:00
chenglch
7bd250897b Use green sleep to help retry the request
As sleep may block the main thread, this commit compare the
timestamp with the node timer in the main loop to avoid of
the blocking.
2017-10-20 09:32:25 +08:00
Bin Xu
da60d783d0 1, make the error as node level error in sles/debian plugin so that nodeset can know which are the failure nodes (#4122)
2, using global variable for failurenodes in grub2 plugin
2017-10-19 03:09:33 -05:00
ertaozh
12ef155577 Modify message for rspconfig ipsrc option 2017-10-19 03:51:21 -04:00
zet809
9c5446645e Merge pull request #4110 from cxhong/3989
Add more configuration support for Mellanox switches
2017-10-19 14:54:01 +08:00
Victor Hu
a8371f7a7f Merge pull request #4098 from immarvin/onissue
fix [OpenBMC] rspconfig sshcfg issue where keys are not copied seems to be in xCAT #4074
2017-10-18 21:59:06 -04:00
xuweibj
ec86bac0ae Merge pull request #4115 from whowutwut/rflash_active
[OpenBMC] Add support to show firmware levels that are really active
2017-10-19 08:58:30 +08:00
Casandra Qiu
0f2cba3ce7 use nic facing ip address instead of master 2017-10-18 15:25:55 -04:00
zet809
26f46fbed6 Merge pull request #4095 from immarvin/ondhcp
add a helper script to remove dhcp lease of specified mac,ip and nodename
2017-10-18 17:20:55 +08:00
zet809
a6661f84b7 Merge pull request #2927 from zVMopenstack/ZVM_XCAT_DEV
Merge the changes made for zVM into the xCAT development branch
2017-10-18 17:06:31 +08:00
ertaozh
c92834bfe1 Add ipsrc for rspconfig, fix rspconfig vlan reading 2017-10-18 04:44:16 -04:00
immarvin
2e63607c8c refine the message in rspconfig sshcfg 2017-10-18 02:46:56 -04:00
immarvin
1b1e2267a8 remove /.ssh/tmp/ directory 2017-10-17 23:18:04 -04:00
Victor Hu
c5f55c3a1e Add support for displaying the really active running firmware
on the rinv output (non verbose)
2017-10-17 16:13:41 -04:00
Victor Hu
8ac06ef335 To reuse the code to obtain functional software IDs, move the code to
extract IDs into a function to be used by rinv response.
2017-10-17 16:13:28 -04:00
Victor Hu
d6a2ba2bf0 Add code to support parsing the IDs that are returned by the functional
endpoint, which marks the firmware IDs that are REALLY active on the server.
2017-10-17 16:13:18 -04:00
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
Casandra Qiu
eac35e7e3d Add more configuration support for Mellanox switches 2017-10-16 15:26:37 -04:00
immarvin
d7d56ddd7b remove intermidiate files after rspconfig 2017-10-16 03:41:23 -04:00
immarvin
b176fc3d15 fix [OpenBMC] rspconfig sshcfg issue where keys are not copied seems to be in xCAT #4074 2017-10-16 02:54:58 -04: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
immarvin
7552b616fa add a helper script to remove dhcp lease of specified mac,ip and nodename 2017-10-12 22:38:18 -04:00
Bin Xu
2a12699598 Merge pull request #4083 from immarvin/onissue
fix issue If service node is down, control to OpenBMC node never returns #3888
2017-10-12 15:31:27 +08:00
immarvin
7515be4590 fix issue If service node is down, control to OpenBMC node never returns #3888:use port 3054 instead of 3001 to run debug commands inside installer 2017-10-12 01:55:20 -04: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
immarvin
35d299f9d6 fix issue If service node is down, control to OpenBMC node never returns #3888:use port 3004 instead of 3001 to run debug commands inside installer 2017-10-11 04:21:01 -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
Yuan Bai
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
XuWei
b36c0ee19e Fix issue 4062, modify method of node type check in bmcdiscover 2017-10-10 02:35:18 -04:00
Samveen
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
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