2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-08-21 10:40:24 +00:00
Commit Graph

9005 Commits

Author SHA1 Message Date
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
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
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
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
43c2cd72d8 Merge pull request #4744 from chenglch/restapi
Define some attributes as array type in rest api ver 1.0
2018-01-29 13:49:57 +08:00
chenglch
231d934732 Define some attributes as array type in rest api ver 1.0
Split attribute with comma is not a standard way, this commit
bumped REST version to 1.0 to deal with these attributes in
array type.

```
curl -X GET -k 'http://10.5.101.10/xcatws/nodes/restnode1?userName=root&userPW=cluster'
{"restnode1":{"serialspeed":"115200","nicips.ib1":"10.0.0.100|fd55::214:5eff:fe15:849b","nicnetworks.ib0":"IB00","nicnetworks.ib1":"IB01","cons":"ipmi","postscripts":"syslog,remoteshell,syncfiles,hello,world2","nicips.ib0":"10.10.100.9","groups":"conpute,staticconsolegroup","postbootscripts":"otherpkgs","nictypes.ib0":"Infiniband","nicips.ib2":"10.0.0.103|10.0.0.104"}}

 curl -X GET -k 'http://10.5.101.10/xcatws/nodes/restnode1?userName=root&userPW=cluster&ver=1.0'
{"restnode1":{"nicnetworks.ib0":"IB00","nicnetworks.ib1":"IB01","cons":"ipmi","postscripts":["syslog","remoteshell","syncfiles","hello","world2"],"nicips.ib0":["10.10.100.9"],"nicips.ib2":["10.0.0.103","10.0.0.104"],"groups":["conpute","staticconsolegroup"],"postbootscripts":["otherpkgs"],"serialspeed":"115200","nicips.ib1":["10.0.0.100","fd55::214:5eff:fe15:849b"],"nictypes.ib0":"Infiniband"}}

```
2018-01-29 11:19:09 +08: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
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
cxhong
9184d33e33 remove remote host key from known_hosts file (#4722) 2018-01-25 01:17:03 -06: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
Victor Hu
d00ee26c67 Merge pull request #4651 from gurevichmark/openbmc_rspconfig_dump_all
Add rspconfig dump download all function
2018-01-22 15:33:35 -05:00
Mark Gurevich
b608dea24a Support rspconfig powersupplyredundancy 2018-01-22 11:20:52 -05:00
xuweibj
2e405d6678 Merge branch 'master' into rflash_python 2018-01-22 16:28:54 +08:00
zet809
b32764540c Merge pull request #4634 from gurevichmark/openbmc_rspconfig_restore_policy
Support for OpenBMC PowerRestorePolicy attribute
2018-01-22 09:41:41 +08:00
XuWei
589ee960e3 fix issue 4658, parameter check for rpower openbmc 2018-01-19 02:57:02 -05:00
zet809
7928a734c9 Merge pull request #4643 from jjohnson42/fixmacdatacheck
Fix IMM MAC data check
2018-01-19 15:23:53 +08:00
Mark Gurevich
956719b53e Add rspconfig dump download all function 2018-01-18 11:42:32 -05:00
bybai
55fed03a81 handle error 2018-01-18 03:01:45 -05:00
bybai
7f7c4e4dea enhance print error message 2018-01-18 02:36:31 -05:00
XuWei
fe63484909 rflash for openbmc on python, including options a|c|l|delete|u 2018-01-18 02:10:01 -05:00
bybai
df3eb6c4f4 change empty_zones_enable in named.conf 2018-01-18 01:44:29 -05:00
XuWei
7e286494c0 modified depending on comments 2018-01-17 00:32:54 -05:00
Jarrod Johnson
e718235ae2 macdata can be a string, ignore that as well 2018-01-16 11:13:37 -05:00
XuWei
26ccc9fabd Add perl files of openbmc2 2018-01-16 02:21:49 -05:00
zet809
a41e138fc0 Merge pull request #4625 from gurevichmark/ipmi_rflash_version
Enhance rflash -c output for ipmi controlled machines
2018-01-16 13:09:04 +08:00
Mark Gurevich
7b4af8f393 Support for OpenBMC PowerRestorePolicy attribute 2018-01-15 11:49:29 -05:00
Mark Gurevich
a4e9fbf01f Changes after review 2018-01-15 09:45:54 -05:00
zet809
ca1ea1d702 Merge pull request #4633 from chenglch/gcons_cfg
Modify the default configuration for gocons
2018-01-15 17:51:28 +08:00
zet809
e2ae1787de Merge pull request #4607 from cxhong/rvitals
Support rvitals command for Intelligent PDU
2018-01-15 16:50:13 +08:00
xuweibj
8a91ba7e08 Merge pull request #4619 from gurevichmark/openbmc_reventlog_resolve_led
Add resolved=LED option to reventlog
2018-01-15 14:21:47 +08:00