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

21639 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
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
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
Bin Xu
6925eb9196 - adjust the directory layout
- remove the deprecate rpower related codes
2018-02-01 16:41:44 +08:00
litingt@cn.ibm.com
bb40c2356e print go-xcat.log each time when we run go-xcat 2018-02-01 01:57:18 -05:00
Bin Xu
15b7ace1d9 - rpower <nr> boot should show 'reset' instead 2018-02-01 13:55:30 +08:00
Bin Xu
ddf4cd932c openbmc python refactor 2018-02-01 13:36:22 +08:00
zet809
367a5c3be0
Merge pull request #4768 from neo954/packaging
Add package dependency for goconserver
2018-02-01 11:39:10 +08:00
zet809
c6d0cbb094
Merge pull request #4760 from stanford-rc/MTM_fixes
dodiscovery: fallaback to DMI if FRU is incomplete
2018-02-01 09:41:48 +08:00
Kilian Cavalotti
29db21e20c Merge branch 'MTM_fixes' of https://github.com/stanford-rc/xcat-core into MTM_fixes 2018-01-31 16:48:51 -08:00
Kilian Cavalotti
49b8f0cf44 dodiscovery: FRU info may be present may incomplete. Check the contents
of MTM obtained from FRU and fallback to DMI if it's empty.
2018-01-31 16:47:28 -08: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
zet809
32724414aa
Merge pull request #4759 from xuweibj/I4758
fix issue 4758, add '-V' in rflash Usage and manpage
2018-01-31 15:09:37 +08:00
XuWei
9b04b8483c fix issue 4758, add '-V' in rflash Usage and manpage 2018-01-31 02:03:01 -05:00
zet809
b1fce536db
Merge pull request #4767 from xuweibj/I4764
modify error msg for rflash unsupported option
2018-01-31 14:20:43 +08:00
GONG Jie
8d06fe1195 Add package dependency dependency for goconserver 2018-01-31 13:59:30 +08:00
XuWei
601df79729 modify error msg for rflash unsupported option 2018-01-31 00:42:56 -05:00
Kilian Cavalotti
df3a89c6a9 dodiscovery: FRU info may be present may incomplete. Check the contents
of MTM obtained from FRU and fallback to DMI if it's empty.
2018-01-30 17:56:14 -08:00
cxhong
4e52afbaa1
Merge pull request #4757 from zet809/fix_issue_4652
fix issue 4652: extra warning message for bmcdiscover
2018-01-30 13:19:41 -05:00
ertaozh
08ffa002fb fix issue 4652: extra warning message for bmcdiscover 2018-01-30 00:21:27 -05:00
cxhong
86d8c4749e Remove not existing table fields in PDU table (#4750) 2018-01-29 20:12:53 -06: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
Weihua Hu
e98e2701e0
Update Version 2018-01-26 15:49:04 +08:00
Weihua Hu
a3004d29fd
Merge pull request #4737 from zet809/modify_genesis_reference_data
reminder user to rebuild xcat-genesis-base to update xCAT newer than 2.13.10
2018-01-26 15:34:28 +08:00
ertaozh
b8e77ae4c7 reminder user to rebuild xcat-genesis-base to update xCAT newer than 2.13.10 2018-01-26 02:27:14 -05:00
zet809
57e057f0f6
Merge pull request #4736 from bybai/diskless
enhance Installing a New Kernel in the Diskless Image doc
2018-01-26 15:12:55 +08:00
bybai
128b7bf9f0 add kernel pkgdir 2018-01-26 01:12:11 -05:00
Weihua Hu
3f10f74c94
Merge pull request #4733 from zet809/modify_release_info_for_2.13.10
update release information for 2.13.10 release
2018-01-26 12:51:38 +08:00
ertaozh
3d2615f011 update release information for 2.13.10 release 2018-01-25 22:49:12 -05:00
xuweibj
f40ea6d4b1 fix issue 4731, specify variable to hash type (#4732) 2018-01-26 11:14:05 +08:00
Mark Gurevich
a8b403b478
Merge pull request #4729 from whowutwut/update_doc_2.13.10
Update man page for RTD for 2.13.10 release
2018-01-25 14:42:59 -05:00
Mark Gurevich
c511982d5b
Merge pull request #4727 from whowutwut/support_bootmode
[OpenBMC] Support bootmode generically
2018-01-25 14:29:05 -05:00
Victor Hu
f2c4ce1677 Update man page for RTD for 2.13.10 release 2018-01-25 14:19:21 -05:00
Victor Hu
dc5e5fb3e2 Adding man page for rspconfig to add boot mode 2018-01-25 14:16:59 -05: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