2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-02 19:40:10 +00:00

5678 Commits

Author SHA1 Message Date
zet809
50acb80ead
Merge pull request #4801 from cxhong/4742
Support user defined password from pdu table
2018-02-13 15:57:27 +08:00
Casandra Qiu
60e3eb2566 ange pduhash to global value 2018-02-12 22:15:03 -05:00
Victor Hu
aba8b368ab
Merge pull request #4815 from gurevichmark/openbmc_rflash_perl
Allow choosing individual openbmc commands to use Python
2018-02-09 16:13:22 -05:00
Casandra Qiu
79df80057c add example of snmpv3 configuration for chdef 2018-02-09 13:41:38 -05:00
Mark Gurevich
a222012bdc Add EXCEPT: prefix 2018-02-09 11:39:40 -05:00
zet809
496d13e81e
Merge pull request #4809 from chenglch/makegoconslocal
Add consoleenabled column to help store the console status
2018-02-09 11:13:42 +08:00
chenglch
dd7e1d51df Add consoleenabled column to help store the console status
On diskless SN, the nodes file of goconserver is missing when
reinstalling. This patch add a column in nodehm table to help
recover the console information on service node.

```
[root@c910f03c09k04 ~]# makegocons -q

NODE                             SERVER                           STATE
c910f03c09k05                    c910f03c09k04.pok.stglabs.ibm.com error
node-7912ac1-06vag36             c910f03c09k04.pok.stglabs.ibm.com error

NODE                             SERVER                           STATE
c910f03c09k04                    c910f03c09k03.pok.stglabs.ibm.com connected
[root@c910f03c09k04 ~]# rm /var/lib/goconserver/*
rm: remove regular file ‘/var/lib/goconserver/nodes.json’? y
rm: remove regular file ‘/var/lib/goconserver/nodes.json.bak’? y
[root@c910f03c09k04 ~]# service xcatd restart
Restarting xcatd (via systemctl):                          [  OK  ]
[root@c910f03c09k04 ~]# makegocons -q

NODE                             SERVER                           STATE
c910f03c09k05                    c910f03c09k04.pok.stglabs.ibm.com error
node-7912ac1-06vag36             c910f03c09k04.pok.stglabs.ibm.com error

NODE                             SERVER                           STATE
c910f03c09k04                    c910f03c09k03.pok.stglabs.ibm.com connected
```
2018-02-09 10:34:20 +08:00
Mark Gurevich
7722c15b18 Allow choosing individual openbmc commands to use Python 2018-02-08 15:25:56 -05:00
ertaozh
cb78be8f4d fix issue 3913: support rpower cycle for ipmi managing severs 2018-02-08 01:40:59 -05:00
xuweibj
acae60a30a
Merge pull request #4786 from zet809/rspconfig_sshcfg
Rspconfig framework for openbmc in python
2018-02-08 13:27:16 +08:00
zet809
003d3a4a53
Merge pull request #4806 from xuweibj/I4805
fix issue 4805, support rspconfig openbmc in hierarchy
2018-02-08 13:08:35 +08:00
zet809
0e9442d177
Merge pull request #4796 from chenglch/makegocons
List console status with makegocons -q|--query
2018-02-08 12:48:32 +08:00
XuWei
fa85934d5c fix issue 4805, support rspconfig openbmc in hierarchy 2018-02-07 21:34:47 -05:00
xuweibj
cdd89cf970 rinv for openbmc in python (#4802)
* rinv for openbmc in python
2018-02-07 17:04:04 +08:00
zhao er tao
6f397510cc rspconfig in python 2018-02-07 14:47:18 +08:00
chenglch
28a84fa997 List console status with makegocons -q
Add `-q|--query [noderange]` for makegocons to list the console
status and the host server. If node is not registered in
goconserver, the status will be `unregistered`.

If console releated attribute is not defined for the specified
node but it is included in the noderange, error message for that
node will be printed at first.
2018-02-07 10:32:43 +08:00
Casandra Qiu
862fa5973e Support user defined password from pdu table 2018-02-06 18:59:16 -05:00
zet809
56814b4908
Merge pull request #4726 from cxhong/irnet
Support hostname and network setting changes for IRPDU
2018-02-06 23:54:24 +08:00
zhao er tao
5d1c8c7092 deal with rspconfig in python 2018-02-06 21:11:11 +08:00
xuweibj
ce3a32fdeb rbeacon & rvitals for openbmc in python (#4795)
* rbeacon & rvitals for openbmc in python
2018-02-06 18:24:06 +08:00
xuweibj
64f8602755 rsetboot for openbmc in python (#4784)
* rsetboot for openbmc in python
2018-02-05 16:42:37 +08:00
Victor Hu
44938a324a
Merge pull request #4773 from gurevichmark/openbmc_rflash_dash_in_filename
Handle update files with - in the path
2018-02-04 13:02:26 -05:00
Victor Hu
6c261ce1bb
Merge pull request #4752 from gurevichmark/openbmc_respconfig_dump_invalid
Detect invalid dump id
2018-02-04 13:01:31 -05:00
Victor Hu
5edae8d52e Handle the PowerSupplyRedundancy API issue where Value is lower case 2018-02-01 15:59:03 -05:00
Casandra Qiu
fc14f5274f Add gateway info 2018-02-01 11:20:05 -05:00
Mark Gurevich
913873430c Handle update files with - in the path 2018-01-31 16:39:19 -05:00
Victor Hu
31c47c3034 Add code to support timesyncmethod for OpenBMC using rspconfig 2018-01-31 15:43:53 -05:00
Casandra Qiu
3e4d70383a return sub routine if ip is not reachable 2018-01-31 12:11:08 -05:00
XuWei
601df79729 modify error msg for rflash unsupported option 2018-01-31 00:42:56 -05:00
ertaozh
08ffa002fb fix issue 4652: extra warning message for bmcdiscover 2018-01-30 00:21:27 -05:00
Mark Gurevich
e944582a65 Detect invalid dump id 2018-01-29 11:14:34 -05:00
xuweibj
f40ea6d4b1 fix issue 4731, specify variable to hash type (#4732) 2018-01-26 11:14:05 +08:00
Victor Hu
84ea2dd458 PowerSupplyRedundancy does not take effect in bmcreboot, but on IPL 2018-01-25 13:56:21 -05:00
Casandra Qiu
2acd4365f0 Support hostname and network setting changes for IRPDU 2018-01-25 13:34:37 -05:00
Victor Hu
0a51ba60fd Reduce duplicate print statement, only print when value does not match 2018-01-25 13:26:51 -05:00
Victor Hu
e2d49ce2b2 Add data structure to support get/set BootMode of the BMC 2018-01-25 13:12:21 -05:00
Victor Hu
e70ed0f3f0 Handle some warning messages based on this code
- isn't numeric in numeric ne (!=)
  - Scalar value @attr_value[-1] better written as $attr_value[-1]
2018-01-25 09:17:41 -05:00
Victor Hu
44c6c695c3
Merge pull request #4720 from gurevichmark/openbmc_rspconfig_powersupplyredundancy2
powersupplyredundancy enhancements
2018-01-24 20:11:49 -05:00
Mark Gurevich
691669bf54 powersupplyredundancy enhancements 2018-01-24 16:48:32 -05:00
Mark Gurevich
7561337bec Fix incorrect usage output for OpenBMC rspconfig command 2018-01-24 10:47:47 -05:00
ertaozh
3ebe911473 enhance of fix for issue 4652 2018-01-24 06:50:32 -05:00
zet809
4acf102b07 fix issue 4652: bmcdiscover command will not able to find Boston node (#4710) 2018-01-24 18:22:08 +08:00
XuWei
691e0ee464 fix issue 4705, modify usage output 2018-01-24 03:16:41 -05:00
Mark Gurevich
99cac5264a Second pass for autogenerating usage 2018-01-23 13:47:11 -05:00
Mark Gurevich
0d29e5d5e1 Move code block for usage string processing 2018-01-23 12:09:37 -05:00
Mark Gurevich
d395e8b73b Build usage string based on command definitions 2018-01-23 12:09:35 -05:00
Bin Xu
cb25622331 It is for provision log enhancement and partial address #4582 (#4648)
- clear logs in the key components during provisioning (not only debug mode, but debug mode will have more logs)
 - now only cover rhel7 stateful and stateless
 - make more syslogs into cluster.log (tag = xcat or xcat.*)
 - the changes will not impact other distro
2018-01-23 03:20:42 -06:00
zet809
0982cdf282
Merge pull request #4645 from xuweibj/rflash_python
rflash for openbmc on python, including options a|c|l|delete|u
2018-01-23 16:13:30 +08:00
xuweibj
a662bb5a01
Merge pull request #4694 from xcat2/gurevichmark-openbmc_rspconfig_powersupplyredundancy
Gurevichmark openbmc rspconfig powersupplyredundancy
2018-01-23 15:12:21 +08:00
zet809
5d91fe3778 modify rspconfig powersupplyredundancy based on comments 2018-01-23 00:49:41 -05:00