2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-10 06:41:31 +00:00
Commit Graph

9163 Commits

Author SHA1 Message Date
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
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
9cd9017e4b modify output format of rvitals leds 2018-04-12 02:42:06 -04:00
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
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
bd6718999b modify return code of rspconfig hostname error 2018-04-10 21:55:04 -04:00
fdb3ccb3ce REST API doc fixes and Python example 2018-04-10 14:18:54 -04:00
ffc2b427c8 Merge pull request #5050 from bybai/nodels
add xCAT REST API for nodels
2018-04-10 11:26:57 -04:00
17793bc364 delete password from log for runsqlcmd (#5075) 2018-04-10 16:36:00 +08:00
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
ba32210e9b modified depending on comments 2018-04-10 02:54:48 -04:00
a838bc53cf Merge pull request #5068 from xuweibj/rflash_args
modify rflash args for docopt parse
2018-04-10 14:43:13 +08:00
9c7d9847ff clean up word typo 2018-04-09 23:13:01 -04:00
b2bfa9b738 add nodels resource 2018-04-09 23:11:25 -04:00
bc0b23fe9c modify rflash args for docopt parse 2018-04-09 22:34:50 -04:00
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
302e80dc93 Add Image name/uuid/timestamp to /opt/xcat/xcatinfo 2018-04-03 15:34:12 -04:00
d2bb5a7290 add xCAT REST API for nodels 2018-04-03 05:33:47 -04:00
affa38e733 set rspconfig run on python default (#5040) 2018-04-02 13:44:26 +08:00
71bb049f21 Modify xcatws.cgi permission 2018-03-30 02:53:11 -04:00
78fa1c63e8 enhance exlist without typo and duplicate lines (#5036) 2018-03-30 11:32:32 +08:00
53a98cfecc Merge pull request #5018 from gurevichmark/openbmc_pnor_usage
Replace usage of PNOR with Host
2018-03-30 11:20:23 +08:00
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
8c5701d9ab OpenBMC reventlog flag verification 2018-03-28 14:36:58 -04:00
8cfe5b546e Replace usage of PNOR with Host 2018-03-28 13:09:48 -04:00
4507a038ba Accumulated go-xcat updates (#4991)
* Fix vim modelines

* [go-xcat] Fix --long-help

* [go-xcat] Add curl support

* [go-xcat] Better tarball support

* [go-xcat] Explaination of --xcat-version argument in help message

* [go-xcat] Disable xCAT-core.repo and xCAT-dep.repo if they exist

* [go-xcat] Add change logs
2018-03-28 17:47:44 +08:00
468a64ac6b Merge pull request #4898 from xuweibj/I4728
show node name with error msg for ipmi
2018-03-28 17:36:26 +08:00
27779acc74 Merge pull request #5016 from chenglch/logrotate
Add default logrotate configuration for gocons
2018-03-28 16:38:58 +08:00
46c611f11a Check if cons script is excutable before register into console server
This patch check the script file, if it is not excutable, just print
ignore message.
2018-03-28 15:09:06 +08:00
5da3a4f945 Merge pull request #4998 from gurevichmark/ipmi_rflash_recover
Better message for --recover option
2018-03-27 16:13:19 -04:00
bc1de0529c Merge pull request #5015 from robin2008/install-monitor-cache
clear "name-IP" cache in `install monitor` process
2018-03-27 17:59:07 +08:00
372756a6ad (#4913) clear cache before run 'nodeset <> next' to avoid using the old IP address
after IP address is modified.
2018-03-27 17:46:19 +08:00
2ac315cbe2 Add default logrotate configuration for gocons
Add logrotate conf for the console log files and log
of goconserver.
2018-03-27 17:11:25 +08:00
24c2cb751f Merge pull request #5017 from robin2008/xcatsnap
(#4973) add journal logs in xcatsnap for xcatd
2018-03-27 17:05:55 +08:00
cb4edc2bc1 Fix the issue 'install monitor' exit unexpected and SSL CPU 100% (#4582, #4496) (#5005)
* Fix the issue 'install monitor' exit unexpected (#4582).
- add eval block to cover all possible codes which might die in do_installm_service
- add more logs in install monitor to record useful inforamtion
- add sleep 0.01 to avoid CPU too high
- fix the wrong timeout usage (alarm - die)
- recover the default INT/TERM singal handler to avoid UDP listener will quick when kill 'install monitor'

* Avoid SSL CPU 100% when hit max open file number
2018-03-27 17:02:38 +08:00
d6a45d9398 (#4973) add journal logs in xcatsnap for xcatd 2018-03-27 16:32:01 +08:00
9a12802077 Merge pull request #5012 from robin2008/xdcpmerge
updatenode MERGE mode does not support update an existing entry
2018-03-27 14:21:46 +08:00
8f2ba27897 modified depending on comments 2018-03-26 21:21:51 -04:00
a9ce890a6c Merge pull request #5007 from gurevichmark/openbmc_rspconfig_ntpservers
Display a warning when setting NTP Server
2018-03-26 15:23:20 -04:00
6629798889 Display a warning when setting NTP Server 2018-03-26 10:24:53 -04:00
961108c53b updatenode MERGE mode does not support update an existing entry 2018-03-26 18:06:49 +08:00
3217230d19 fix issue chroot, rpm -qa error: Failed to initialize NSS library #4959 (#5011)
* move use_devurandom before package instllation:fix issue #4959
2018-03-26 17:35:19 +08:00
492b8fe5a9 unify chdef and mkdef some actions for node type (#4968)
* unify chdef and mkdef some actions for node type

* polished

* adjust format
2018-03-26 11:31:55 +08:00
d307c394c2 enhance error message for rflash 2018-03-25 22:09:23 -04:00
14398e6688 enhance error message for rflash 2018-03-25 22:03:09 -04:00
54f3181ac5 Merge pull request #5001 from chenglch/gcons-restart
Modify startup configuration for goconserver and conserver
2018-03-23 17:41:55 +08:00
cc588f4af1 Modify startup configuration for goconserver and conserver
After running makegocons, startup configuration would be changed
to make sure goconserver could start after rebooting. Changes
are made in makeconservercf too.
2018-03-23 16:36:42 +08:00
14bdb8568c Merge branch 'master' into rflash_python 2018-03-23 14:40:43 +08:00
20e7dcd7de Better message for --recover option 2018-03-22 14:47:05 -04:00
d8ca5d5137 OpenBMC rbeacon stat support in Perl 2018-03-22 14:14:24 -04:00