2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-31 10:06:39 +00:00

9189 Commits

Author SHA1 Message Date
robin2008
cde37a25de add rsyslog configration files to xcatsnap 2018-05-08 17:27:43 +08:00
Mark Gurevich
8e58122278 Add REST API beacon status function 2018-05-07 11:37:02 -04:00
xuweibj
a9825f3260 Add some logs for bmcdiscover (#5163)
* Add some logs for bmcdiscover
2018-05-04 15:43:51 +08:00
Weihua Hu
9dff3bb734
Merge pull request #5143 from gurevichmark/openbmc_rest_api
REST API for OpenBMC nodes
2018-05-04 11:05:03 +08:00
yangsong
9874c11063 check the existance of osimage; set os and arch of node to be the relevant attribute in osimage during nodeset (#5162) 2018-05-03 17:03:54 +08:00
zet809
5d6e9fe7a0
Merge pull request #5061 from robin2008/ipmi_debug
report ipmi_debug message under node name (#5033)
2018-05-03 15:17:55 +08:00
cxhong
7bbf1cacec Support nodeset <switch> osimage command for cumulus switch (#5144)
* Support nodeset <switch> osimage command for cumulus switch

* Add logical checking for provemethod and pkgdir

* fix conflict
2018-05-03 10:47:17 +08:00
Yuan Bai
2fdfe18151
Merge pull request #5149 from gurevichmark/rest_api_table_access
Handle invalid tables in REST API
2018-05-03 09:38:33 +08:00
cxhong
c837babad6 Support copycds command to create cumulus osimage (#5122)
* Support copycds command to create cumulus osimage

* Add Error handler

* fix a typo

* Add VERBOSE

* Modify a error message

* modify per yangSong's comment

* Add '-i' and '-o' flag

* remove nooverwrite when checking pkgdir
2018-05-03 08:27:40 +08:00
Mark Gurevich
dc9420296a Handle invalid tables in REST API 2018-04-30 13:06:05 -04:00
yangsong
7c85b0998d add support for syncfiles with scp (#5123)
* add support for syncfiles with scp

* refine logic of EXECTUTE support message non rsync filesync

* refine syncfiles

* add startsyncfile script for cumulus

* refine format, fix updatenode without options causes command to crash #5142
2018-04-27 11:28:08 +08:00
Mark Gurevich
ac99793013 REST API for OpenBMC nodes 2018-04-26 15:15:47 -04:00
zet809
b5b7dea096
Merge pull request #5136 from xuweibj/I4248
update node status when enter shell/standby
2018-04-25 17:56:51 +08:00
XuWei
9d5dede0d1 update node status when enter shell/standby 2018-04-25 04:46:12 -04:00
zet809
0bff6b32e6
Merge pull request #5129 from xuweibj/I4243
Add mac info in ouput of bmcdiscover when no mtms
2018-04-24 10:50:26 +08:00
Mark Gurevich
a52c70c2bd Missing closing bracket 2018-04-23 13:24:28 -04:00
ertaozh
9fd4bcca45 Fix issue 5111: REST API does not respect the "host" setting in "policy" table 2018-04-23 08:42:09 -04:00
Yuan Bai
2f193bbe9f
Merge pull request #5116 from gurevichmark/rest_api_token_expire
Token expiration setting
2018-04-23 10:40:22 +08:00
XuWei
98f436ef0d Add mac info in ouput of bmcdiscover when no mtms 2018-04-20 01:38:54 -04:00
Mark Gurevich
4c8c68efb3 Changes after review 2018-04-18 16:07:59 -04:00
Mark Gurevich
4163a6bb6c Token expiration setting 2018-04-17 13:40:57 -04:00
Yuan Bai
77647a2b66
Merge pull request #5096 from stanford-rc/ddns_log
ddns: log more infornation to show the DNS entry when an error occurs
2018-04-17 14:24:25 +08:00
Victor Hu
8024e0a2ab
Merge pull request #5093 from gurevichmark/openbmc_upload_dd_check
Processor DD version check before firmware upload
2018-04-16 11:27:04 -04:00
Bin Xu
4b1709e59d When xdcp files to CN and CN is controlled by a SN, xcat will push (#5102)
files to SN first (site.SNsyncfiledir). This should be run as admin
for normal user as they cannot touch that directory.
2018-04-13 16:58:42 +08:00
Jarrod Johnson
2c9bdf8480 Properly fix updatenode syncfiles (#5013)
* Fix xdcp username on updatenode -F

xdcp was not using the username and trusted facility, fix
updatenode usage.

* Remove security risk of forceroot

Any user can specificy 'forceroot'.  Remove this and rely
upon the other method to properly use the 'trusted' role.
2018-04-13 11:15:26 +08:00
XuWei
9cd9017e4b modify output format of rvitals leds 2018-04-12 02:42:06 -04:00
Yuan Bai
96df96f2a1
Merge pull request #5078 from gurevichmark/rest_api_python_example2
REST API doc fixes and Python example
2018-04-12 10:55:25 +08:00
Kilian Cavalotti
2419a78098 ddns: log more infornation to show the DNS entry when an error occurs 2018-04-11 15:29:52 -07:00
Mark Gurevich
74874062d5 Processor DD version check in Perl 2018-04-11 15:09:23 -04:00
Bin Xu
fc4bbd33fe Fix the issue for stateless node in debug mode, /dev/log is not available (#5086)
(#4929) - use imjournal to make rsyslogd work well with journald
2018-04-11 14:19:35 +08:00
XuWei
bd6718999b modify return code of rspconfig hostname error 2018-04-10 21:55:04 -04:00
Mark Gurevich
fdb3ccb3ce REST API doc fixes and Python example 2018-04-10 14:18:54 -04:00
Mark Gurevich
ffc2b427c8
Merge pull request #5050 from bybai/nodels
add xCAT REST API for nodels
2018-04-10 11:26:57 -04:00
Yuan Bai
17793bc364 delete password from log for runsqlcmd (#5075) 2018-04-10 16:36:00 +08:00
zet809
3857b0492a
Merge pull request #5066 from xuweibj/I5056
Show error msg when set hostname as IP address
2018-04-10 15:30:32 +08:00
XuWei
ba32210e9b modified depending on comments 2018-04-10 02:54:48 -04:00
zet809
a838bc53cf
Merge pull request #5068 from xuweibj/rflash_args
modify rflash args for docopt parse
2018-04-10 14:43:13 +08:00
bybai
9c7d9847ff clean up word typo 2018-04-09 23:13:01 -04:00
bybai
b2bfa9b738 add nodels resource 2018-04-09 23:11:25 -04:00
XuWei
bc0b23fe9c modify rflash args for docopt parse 2018-04-09 22:34:50 -04:00
Bin Xu
df93416a91 Avoiding error log for installmonitor requesting during provisioning (#5069)
* (#5067) to avoid error log for `installmonitor` requesting during provisioning

*  add 2 sec timeout as others for unsupport requesting
2018-04-09 17:40:38 +08:00
Bin Xu
c3ae956dd3 report ipmi_debug message under node name (#5033) 2018-04-05 10:41:08 +08:00
Casandra Qiu
302e80dc93 Add Image name/uuid/timestamp to /opt/xcat/xcatinfo 2018-04-03 15:34:12 -04:00
bybai
d2bb5a7290 add xCAT REST API for nodels 2018-04-03 05:33:47 -04:00
xuweibj
affa38e733 set rspconfig run on python default (#5040) 2018-04-02 13:44:26 +08:00
ertaozh
71bb049f21 Modify xcatws.cgi permission 2018-03-30 02:53:11 -04:00
Yuan Bai
78fa1c63e8 enhance exlist without typo and duplicate lines (#5036) 2018-03-30 11:32:32 +08:00
zet809
53a98cfecc
Merge pull request #5018 from gurevichmark/openbmc_pnor_usage
Replace usage of PNOR with Host
2018-03-30 11:20:23 +08:00
cxhong
8f61ee5ace Add ondiscover support for chain table (#4903)
* Add ondiscover support for chain table

* For ondiscover, run nextdestiny after the current operation is done

* Don't set OpenPower server boot from network if boot
2018-03-29 17:50:04 +08:00
Mark Gurevich
8c5701d9ab OpenBMC reventlog flag verification 2018-03-28 14:36:58 -04:00