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

21691 Commits

Author SHA1 Message Date
Mark Gurevich
f499b21f67 Initial pass for Python reventlog 2018-02-20 16:03:57 -05:00
zet809
50acb80ead
Merge pull request #4801 from cxhong/4742
Support user defined password from pdu table
2018-02-13 15:57:27 +08:00
Weihua Hu
7ff4d02fcb Add milestone and labels checking in the CI test system (#4825)
* Add milestone checking

* test for labels, please ignore this commit

* add labels checking

* test for labels, please ignore
2018-02-13 15:52:36 +08:00
Casandra Qiu
60e3eb2566 ange pduhash to global value 2018-02-12 22:15:03 -05:00
Victor Hu
d9e7ecacdf
Merge pull request #4823 from gurevichmark/copycds_name_with_dot
Better handling multiple dots in copycds name
2018-02-12 15:39:41 -05:00
Mark Gurevich
5de4e26a59 Better handling multiple dots in copycds name 2018-02-12 14:32:51 -05:00
cxhong
a449a8fe75
Merge pull request #4822 from immarvin/onxdsh
fix issue error message improvement when adding users in hierarchical configuration #4820
2018-02-12 14:28:19 -05:00
immarvin
7d2c0e1926 fix issue error message improvement when adding users in hierarchical configuration #4820 2018-02-12 09:20:41 -05:00
Victor Hu
3a2e3f5fee
Merge pull request #4821 from zet809/fix_issue_4804
add libnss_dns to xcat-genesis-base
2018-02-11 23:00:18 -05:00
ertaozh
41b68a1478 add libnss_dns to xcat-genesis-base 2018-02-11 21:32:29 -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
f61ee56aea
Merge pull request #4810 from chenglch/gorcons
Move sleep retry from xcat to goconserver
2018-02-09 23:28:33 +08:00
Gᴏɴɢ Jie
a3755e17b2
Merge pull request #4813 from bybai/opdeb
support packaging openbmc python deb
2018-02-09 14:20:42 +08:00
bybai
4a66b00c38 polished 2018-02-09 01:03:46 -05:00
bybai
094d15e69c polished 2018-02-09 00:54:37 -05:00
chenglch
2da3f5140d Move sleep retry from xcat to goconserver
If cons script is waiting, goconserver could not aware of
the status of the console connection. This patch check
the environment when running the script, if it is gocons
and retrying is needed, exit immediately.
2018-02-09 12:11:48 +08: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
xuweibj
6f6fbbd16e
Merge pull request #4812 from zet809/fix_issue_3913
fix issue 3913: support rpower cycle for ipmi managing severs
2018-02-08 15:27:40 +08:00
bybai
28586e3a83 files for build openbmc python deb package 2018-02-08 02:23:59 -05:00
bybai
9efd298ccb script to build openbmc python deb package 2018-02-08 02:23:20 -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
Yuan Bai
f06b0e09ea routeop: support remove GATEWAY from /etc/sysconfig/network (#4807)
* remove GATEWAY from /etc/sysconfig/network

* polished
2018-02-07 23:14:33 -06: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
zhao er tao
b88f6e60f7 update rspconfig framework,1: deal with unicode string for args, 2. move set/get attribute to openbmc_client class 2018-02-08 12:49:38 +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
Yuan Bai
bd6d3b266e
Merge pull request #4803 from stanford-rc/routeop_default
routeop: support setting the default route on RHEL
2018-02-08 12:44:05 +08:00
XuWei
fa85934d5c fix issue 4805, support rspconfig openbmc in hierarchy 2018-02-07 21:34:47 -05:00
Kilian Cavalotti
580c6bf5bd routeop: support setting the default route 2018-02-07 09:36:01 -08: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
09ee65672c
Merge pull request #4800 from robin2008/list_firm
refactor the method to get firmware list
2018-02-06 17:41:43 +08:00
Yuan Bai
2528631737 enhance setroute doc and routeop return code (#4798)
* enhance return code when error happen

* specify removing gateway from networks when configure static route
2018-02-06 01:59:59 -06:00
Bin Xu
c3963283aa add list_firmware method in hwctl/openbmc_client.py 2018-02-06 15:51:14 +08:00
Yuan Bai
cb9ac0d4fb enhance confignetwork -s return code (#4789)
* enhance confignetwork -s return code

* restart nic when updatenode and postbootscripts

* enhance >/dev/null 2>&1

* polished
2018-02-06 00:57:54 -06:00
Bin Xu
64773c84ec
Merge pull request #4793 from whowutwut/makerpm-scripts
Sync up the naming for the 'makerpm*' helper scripts
2018-02-06 11:08:41 +08:00
Victor Hu
a46c086c2a Rename the makerpm files to all start with the same name to group the scripts better 2018-02-05 10:54:54 -05:00
Victor Hu
4aab8997c6 Allow makepythonrpm to build as non root user, remove hard code 2018-02-05 10:53:31 -05:00
zet809
95fdb87c97
Merge pull request #4788 from robin2008/openbmc-refactor
using docopt here for arguments parsing
2018-02-05 17:34:07 +08:00
xuweibj
64f8602755 rsetboot for openbmc in python (#4784)
* rsetboot for openbmc in python
2018-02-05 16:42:37 +08:00
Bin Xu
1a5795573a using docopt here for arguments parsing 2018-02-05 16:39:25 +08:00