2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-06-18 12:20:40 +00:00
Commit Graph

21695 Commits

Author SHA1 Message Date
01f80c52f9 Update rspconfig in python PR based on comments 2018-02-22 23:18:55 -05:00
6ed2e68c59 update rspconfig in python based on Mark and XuWei's comments 2018-02-22 04:25:47 -05:00
d864d9efdc add set bmc hostname 2018-02-22 03:17:26 -05:00
a21a1e3b86 use parallel-ssh: ssh client + scp to deal with rspconfig sshcfg 2018-02-14 03:07:39 -05:00
d1946af0d5 add rspconfig get network information 2018-02-13 09:19:08 -05:00
50acb80ead Merge pull request #4801 from cxhong/4742
Support user defined password from pdu table
2018-02-13 15:57:27 +08:00
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
60e3eb2566 ange pduhash to global value 2018-02-12 22:15:03 -05:00
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
5de4e26a59 Better handling multiple dots in copycds name 2018-02-12 14:32:51 -05:00
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
7d2c0e1926 fix issue error message improvement when adding users in hierarchical configuration #4820 2018-02-12 09:20:41 -05:00
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
41b68a1478 add libnss_dns to xcat-genesis-base 2018-02-11 21:32:29 -05:00
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
79df80057c add example of snmpv3 configuration for chdef 2018-02-09 13:41:38 -05:00
a222012bdc Add EXCEPT: prefix 2018-02-09 11:39:40 -05:00
f61ee56aea Merge pull request #4810 from chenglch/gorcons
Move sleep retry from xcat to goconserver
2018-02-09 23:28:33 +08:00
a3755e17b2 Merge pull request #4813 from bybai/opdeb
support packaging openbmc python deb
2018-02-09 14:20:42 +08:00
4a66b00c38 polished 2018-02-09 01:03:46 -05:00
094d15e69c polished 2018-02-09 00:54:37 -05:00
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
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
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
7722c15b18 Allow choosing individual openbmc commands to use Python 2018-02-08 15:25:56 -05:00
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
28586e3a83 files for build openbmc python deb package 2018-02-08 02:23:59 -05:00
9efd298ccb script to build openbmc python deb package 2018-02-08 02:23:20 -05:00
cb78be8f4d fix issue 3913: support rpower cycle for ipmi managing severs 2018-02-08 01:40:59 -05:00
acae60a30a Merge pull request #4786 from zet809/rspconfig_sshcfg
Rspconfig framework for openbmc in python
2018-02-08 13:27:16 +08:00
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
003d3a4a53 Merge pull request #4806 from xuweibj/I4805
fix issue 4805, support rspconfig openbmc in hierarchy
2018-02-08 13:08:35 +08:00
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
0e9442d177 Merge pull request #4796 from chenglch/makegocons
List console status with makegocons -q|--query
2018-02-08 12:48:32 +08:00
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
fa85934d5c fix issue 4805, support rspconfig openbmc in hierarchy 2018-02-07 21:34:47 -05:00
580c6bf5bd routeop: support setting the default route 2018-02-07 09:36:01 -08:00
cdd89cf970 rinv for openbmc in python (#4802)
* rinv for openbmc in python
2018-02-07 17:04:04 +08:00
6f397510cc rspconfig in python 2018-02-07 14:47:18 +08:00
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
862fa5973e Support user defined password from pdu table 2018-02-06 18:59:16 -05:00
56814b4908 Merge pull request #4726 from cxhong/irnet
Support hostname and network setting changes for IRPDU
2018-02-06 23:54:24 +08:00
5d1c8c7092 deal with rspconfig in python 2018-02-06 21:11:11 +08:00
ce3a32fdeb rbeacon & rvitals for openbmc in python (#4795)
* rbeacon & rvitals for openbmc in python
2018-02-06 18:24:06 +08:00
09ee65672c Merge pull request #4800 from robin2008/list_firm
refactor the method to get firmware list
2018-02-06 17:41:43 +08:00
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
c3963283aa add list_firmware method in hwctl/openbmc_client.py 2018-02-06 15:51:14 +08:00
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
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
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