2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-24 05:11:12 +00:00
Commit Graph

3176 Commits

Author SHA1 Message Date
GONG Jie
d98c87ff00 Remove trailing spaces in file perl-xCAT/xCAT/InstUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
6a94b4f31a Remove trailing spaces in file perl-xCAT/xCAT/FSPUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
ef4211bd32 Remove trailing spaces in file perl-xCAT/xCAT/ExtTab.pm 2017-12-31 23:59:59 +00:00
GONG Jie
db4d64ee6c Remove trailing spaces in file perl-xCAT/xCAT/DiscoveryUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
1f4bd04b72 Remove trailing spaces in file perl-xCAT/xCAT/DSHCore.pm 2017-12-31 23:59:59 +00:00
GONG Jie
3b800aec1d Remove trailing spaces in file perl-xCAT/xCAT/DSHCLI.pm 2017-12-31 23:59:59 +00:00
GONG Jie
06759062fb Remove trailing spaces in file perl-xCAT/xCAT/DBobjUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
5a6b851df1 Remove trailing spaces in file perl-xCAT/xCAT/Client.pm 2017-12-31 23:59:59 +00:00
GONG Jie
5607fbe58d Remove trailing spaces in file perl-xCAT/xCAT/CIMUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
112cbad9ca Remove trailing spaces in file perl-xCAT/xCAT/CFMUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie
bb0b1fa4c1 Remove trailing spaces in file perl-xCAT/debian/copyright 2017-12-31 23:59:59 +00:00
GONG Jie
3aff26a78a Remove trailing spaces in file perl-xCAT/db2man 2017-12-31 23:59:59 +00:00
Bin Xu
2b26797195 getAllNodeAttribs will query site table too much (#5505) (#5521)
- move `get_site_attribute` out from loop
2018-08-17 14:42:12 +08:00
yangsong
ebc04e4cbc support args in postinstallscripts (#5462)
* support args in postinstallscripts

* add the script to inject systemd service unit
2018-08-17 11:23:56 +08:00
ertaozh
a0e369430d Fix issue 5518: perl-xCAT/xCAT/MacMap.pm on ubuntu18.4 and rhels6.10 2018-08-16 01:49:53 -04:00
yangsbj
ed45d465c5 MacMap: skip obtaining macmap table from switches without any port connect to switchs and pdus while discovering switch 2018-08-10 05:12:20 -04:00
Gᴏɴɢ Jie
738e5c8814 Use File::Temp::tmpnam() instead of POSIX::tmpnam() (#5443) 2018-07-27 17:40:33 +08:00
Gᴏɴɢ Jie
b480171f13 Fix github issue #5381. Use File::Temp::tmpnam() instead of POSIX::tmpnam(). (#5440) 2018-07-27 14:29:35 +08:00
bybai
cc7ad619cc add new UT and polished 2018-07-11 01:58:31 -04:00
bybai
d3e73fb435 fix check for leading zeroes in ip address when running makehosts 2018-07-11 01:43:23 -04:00
xuweibj
d37779bb70 modify renergy powerusage/temperature Usage 2018-06-26 01:26:00 -04:00
yangsong
c49e41da99 support environment variables in osimage customized files (#5281)
* * osimage table schema change: add a "environvar" col in osimage table to hold environment variables used in osimage customized files
* osimage object schema change: add a environvar attribute, which refers to  osimage.environvar
* the environment variables specified in "environvar" attribute will be exported during invocation of postinstall scripts in genimage

* support variables in synclists

* support environment variables in genimage,mkinstall,getpostscript

* support environment variables for xdcp -i -F in packimage
2018-06-15 14:51:41 +08:00
Bin Xu
18c5afc0f4 support secure root method (#5286)
- support xcat_secure_pw:<user> API in credential plugin
 - for diskless, if enabled secure root, packimage will not write root password into image
 - for stateful, if enabled secure root, nodeset will not write root password into config file
 - and 'remoteshell' will update shadow file accordingly
2018-06-15 10:28:51 +08:00
Bin Xu
1c1eace773 Recording the Severity of log message into xCAT logs (#5267)
- modify rsyslog conf and add "%syslogseverity-text:::uppercase%" to input the text Severity
 - remove duplicate Severity in log message
 - modify MsgUtils::trace for better performance and code structure
2018-06-05 17:57:55 +08:00
zet809
1b444f0709 Merge pull request #5119 from robin2008/showsvrname
show server name by default for Error and Warn message
2018-06-05 16:08:21 +08:00
Bin Xu
7227c7f98d show server name by default for Error and Warn message 2018-05-29 15:18:46 +08:00
xuweibj
7c5f57be39 Merge pull request #5201 from gurevichmark/openbmc_rinv_multiple_options
OpenBMC rinv multiple options
2018-05-17 09:06:44 +08:00
Mark Gurevich
f0f4929e6b Display only OpenBMC usage 2018-05-15 15:20:59 -04:00
Mark Gurevich
566142a02d Doc changes for OpenBMC rinv multiple options 2018-05-11 10:40:07 -04:00
zet809
ab3f449548 Merge pull request #5184 from robin2008/xcatdb_die
make store_fd does not thow exception and the client could be closed.
2018-05-10 13:46:32 +08:00
robin2008
9d6a8fa420 make store_fd does not thow exception and the client could be closed. 2018-05-09 17:47:55 +08:00
Mark Gurevich
a38ffa18f7 Auditlog table doc improvement 2018-05-04 11:33:27 -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
Yuan Bai
318198b1f5 chdef print warning when postscript is already included in the 'xcatdefaults' (#5112) 2018-04-23 17:51:53 +08:00
Mark Gurevich
4c8c68efb3 Changes after review 2018-04-18 16:07:59 -04:00
Mark Gurevich
36b0b69cf4 Documentation changes for REST API token 2018-04-17 15:55:09 -04:00
Mark Gurevich
4163a6bb6c Token expiration setting 2018-04-17 13:40:57 -04:00
cxhong
fe249bfb70 Print out error msg for xcatprobe switch_macmap command if switch passwordless is not enabled (#5064)
* Print out error msg for xcatprobe switch_mac command if switch
passwordless is not enabled.

* Modified msg only if in the collect_mac_info case
2018-04-11 14:03:56 +08:00
Bin Xu
6d8081142b workaround ($4929) the MsgUtil.pm first to make sure xcatd will not crash when /dev/log is not ready. (#4974) 2018-03-27 14:04:51 +08:00
chenglch
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
Mark Gurevich
fa5c6e3f37 Merge pull request #4981 from xuweibj/I4978
modify rspconfig usage
2018-03-22 11:22:31 -04:00
chenglch
e80509c0ae use msgsource directly 2018-03-21 16:24:00 +08:00
XuWei
cfe6c0db7f modify rspconfig usage 2018-03-21 03:49:18 -04:00
chenglch
25bede4130 Modify goconserver msg for SN
The message util from xCAT framework do not print where the message
comes from by default. This patch add [service host] prefix for the
message if message is from SN.
2018-03-20 15:32:50 +08:00
Mark Gurevich
0761c3b836 Usage and man page updates 2018-03-16 14:29:29 -04:00
yangsong
3e622bf94e fix typo (#4956) 2018-03-16 14:19:26 +08:00
yangsong
38e547c493 fix issue If multiple IP addresses used in xcatmaster field, updatenode will not work leaving node in bad state #3688 (#4932) 2018-03-15 16:14:41 +08:00
Bin Xu
55af8ca8c4 remove the dependency, Load SOAP module dynamically 2018-03-09 13:39:33 +08:00
Bin Xu
804b132605 clear cache for IP change case in node discovery(#4890) (#4891) 2018-03-06 16:13:02 +08:00
Mark Gurevich
b5bfe17bfc Control openbmc Perl/Python commands with site attribute (#4879)
* Control openbmc Perl/Python commands with site attribute

* update PR: control openbmc perl/python commands, using site attribute, env variable as well
2018-03-05 17:32:56 +08:00