2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-05-15 10:54:18 +00:00
Commit Graph

3202 Commits

Author SHA1 Message Date
Casandra Qiu 85894795c6 Change options Verbose to verbose 2018-08-21 15:18:12 -04:00
Bin Xu 5fc4e7fad5 Enhancement for using site cache in plugin (#5535)
* site cache when run plugin does not work very well
- using cache from plugin when getNodesAttribs/getNodeAttribs (pass it into DB process from plugin process)
- Site cache is a whole hash, so to use cache when by the hash is there, instead of the specified key is there.
It is because that there might be no key defined in site table.

* with XCATBYPASS, to populate site hash before scan_plugins. Then only 1 query for site table to do whole things.

* cache site when init plugins on service nodes

* missing to comment the old codes query from xCAT DB process
2018-08-21 18:36:52 +08:00
GONG Jie f678b44839 Remove trailing spaces in file perl-xCAT/xCAT/zvmUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie 10a39df027 Remove trailing spaces in file perl-xCAT/xCAT/zvmMsgs.pm 2017-12-31 23:59:59 +00:00
GONG Jie fd6b22d55d Remove trailing spaces in file perl-xCAT/xCAT/zvmCPUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie 08357faa33 Remove trailing spaces in file perl-xCAT/xCAT/data/switchinfo.pm 2017-12-31 23:59:59 +00:00
GONG Jie 8a928c3003 Remove trailing spaces in file perl-xCAT/xCAT/Zone.pm 2017-12-31 23:59:59 +00:00
GONG Jie c8cf28755c Remove trailing spaces in file perl-xCAT/xCAT/Yum.pm 2017-12-31 23:59:59 +00:00
GONG Jie 8f24d2bae1 Remove trailing spaces in file perl-xCAT/xCAT/Version.pm 2017-12-31 23:59:59 +00:00
GONG Jie b03809cea4 Remove trailing spaces in file perl-xCAT/xCAT/Utils.pm 2017-12-31 23:59:59 +00:00
GONG Jie 995c1906b2 Remove trailing spaces in file perl-xCAT/xCAT/Usage.pm 2017-12-31 23:59:59 +00:00
GONG Jie 3cf35a1dbd Remove trailing spaces in file perl-xCAT/xCAT/TableUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie 28dc607ff3 Remove trailing spaces in file perl-xCAT/xCAT/Table.pm 2017-12-31 23:59:59 +00:00
GONG Jie db4fa6ab66 Remove trailing spaces in file perl-xCAT/xCAT/ServiceNodeUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie 471f104202 Remove trailing spaces in file perl-xCAT/xCAT/Scope.pm 2017-12-31 23:59:59 +00:00
GONG Jie 8c57224029 Remove trailing spaces in file perl-xCAT/xCAT/Schema.pm 2017-12-31 23:59:59 +00:00
GONG Jie 5f7334d9bc Remove trailing spaces in file perl-xCAT/xCAT/SSH.pm 2017-12-31 23:59:59 +00:00
GONG Jie 8e7362a03f Remove trailing spaces in file perl-xCAT/xCAT/SINV.pm 2017-12-31 23:59:59 +00:00
GONG Jie c68e3273b1 Remove trailing spaces in file perl-xCAT/xCAT/RemoteShellExp.pm 2017-12-31 23:59:59 +00:00
GONG Jie c8f977674b Remove trailing spaces in file perl-xCAT/xCAT/RSYNC.pm 2017-12-31 23:59:59 +00:00
GONG Jie 1870218cc1 Remove trailing spaces in file perl-xCAT/xCAT/RSH.pm 2017-12-31 23:59:59 +00:00
GONG Jie 888740a97c Remove trailing spaces in file perl-xCAT/xCAT/ProfiledNodeUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie 6eed2ff63e Remove trailing spaces in file perl-xCAT/xCAT/NetworkUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie 019ee7ee81 Remove trailing spaces in file perl-xCAT/xCAT/MsgUtils.pm 2017-12-31 23:59:59 +00:00
GONG Jie e57395aa0b Remove trailing spaces in file perl-xCAT/xCAT/MacMap.pm 2017-12-31 23:59:59 +00:00
GONG Jie 4100f445d4 Remove trailing spaces in file perl-xCAT/xCAT/KitPluginUtils.pm 2017-12-31 23:59:59 +00:00
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