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
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
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
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
zet809
4af7ba619b
Merge pull request #4781 from stanford-rc/dodiscovery_syntax
...
dodiscovery: fix syntax error in case flag_serial is not defined
2018-02-02 14:05:37 +08:00
Gᴏɴɢ Jie
55b2b1e61c
Revert patch 8d06fe119545b0b1f69b32f8b73ea3238a616b66 on xCAT/xCAT.spec and xCATsn/xCATsn.spec ( #4783 )
2018-02-01 22:49:31 -06:00
Kilian Cavalotti
ea9b20e1fe
dodiscovery: fix syntax error in case flag_serial is not defined
2018-02-01 17:34:29 -08:00
xuweibj
795b09282a
Merge pull request #4779 from whowutwut/power_supply_sensor_Fix
...
Handle the PowerSupplyRedundancy Sensor API issue where Value is lower case
2018-02-02 08:32:04 +08: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
1cf4d75612
Merge pull request #4772 from whowutwut/time_sync_method
...
Add code to support timesyncmethod for OpenBMC using rspconfig
2018-02-01 10:38:33 -05:00
Victor Hu
e25be9b9cf
Modify man page for dumps based on review comments
2018-02-01 09:49:56 -05:00
Weihua Hu
1d57396b6b
Merge pull request #4775 from tingtli/bug4761
...
print go-xcat.log each time when we run go-xcat
2018-02-01 17:44:25 +08:00
xuweibj
182a6d7463
Merge pull request #4763 from robin2008/openbmc-refactor
...
openbmc python refactor
2018-02-01 16:58:58 +08:00