74cd024a01
hierarchicalattrs does not work on some columns with special delimiter ( #5663 ) ( #5688 )
2018-10-10 18:07:10 +08:00
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
3cf35a1dbd
Remove trailing spaces in file perl-xCAT/xCAT/TableUtils.pm
2017-12-31 23:59:59 +00:00
7d2c0e1926
fix issue error message improvement when adding users in hierarchical configuration #4820
2018-02-12 09:20:41 -05:00
0a3fbd8d51
perltidy all perl files
2016-07-20 11:40:27 -04:00
850051bd75
removed keygen of rsa1 key and removed references / replaced with rsa key when appropriate
2016-04-12 09:50:16 -04:00
471673a109
Changed check from rsa1 key to rsa key, as discussed in Issue #861
2016-03-31 09:46:13 -04:00
306e66e4cc
Do not kill db process if immediate child process exists
...
This change includes the following:
- Replace the signal number with signal name.
- Stop db process after all the immediate children stopped.
- Fix a defect in TableUtils when closing the table object.
- Enhance the is_process_exists subroutine in utils.
Close issue: #537
2016-03-24 22:46:12 -04:00
0654fa65e6
fix for bug 2796: should not include AIX perl path in @INC on Linux
2013-10-22 16:58:19 +08:00
7b7a6ab894
fix for bug 4062: add autocommit=0 when opening the nodelist table
2014-04-14 16:09:08 -05:00
066be36003
defect 4047 perl warnings
2014-04-07 10:38:49 -04:00
acc07123e9
rm id_rsa so we can switch between sshbetweennode yes and no
2014-03-12 10:46:45 -04:00
dd1eaab04c
fix bug 4014: updatenodegroups routine always add all group to the node
2014-03-10 19:09:26 -07:00
1ded53ae14
rmzone support
2014-03-07 09:56:51 -05:00
f3392ba1ee
defect 3994
2014-02-25 11:45:10 -05:00
d5695f5727
xdsh -K support (still need to do hierarchy)
2014-02-24 11:48:09 -05:00
56e8e8b0d5
zone coce
2014-02-20 12:34:51 -05:00
2598e30ee1
more zone code
2014-02-19 12:52:11 -05:00
f2ded51dec
implement timeout in xdsh -K
2013-08-29 09:12:50 -04:00
856dd30fae
more code to enable user input timeout on xdsh -K
2013-08-29 07:59:36 -04:00
f78ec64c25
The item of updating pre-defined groups for nodes
2013-08-15 23:56:30 -07:00
9e4450bab0
defect 3605. 1, change ENABLESSHBETWEENNODES= in the template, and add new subroutine TableUtil::enableSSH() 2, change NODESETSTATE= in the mypostscript.tmpl, and invoke the xCAT::SvrUtils->getNodesetStates
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16739 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-25 09:05:00 +00:00
586c212d93
add use File::Path used in code,but missing. Result of Utils.pm split. Broke zvm build
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15575 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 13:16:39 +00:00
424b8b5378
Fix the regular expression issue for list_all_nodegroups function
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14755 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 01:48:59 +00:00
3a3b2c07fc
defined(%hash) is deprecated
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14491 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 08:56:56 +00:00
f19883d909
Rewrite TableUtils->setUpdateStatus no Where clause , use setNodesAttribs instead
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14195 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 08:43:14 +00:00
777729759d
pre-create mypostscript enhancement: use the global variable %::GLOBAL_SN_HASH in enablessh()
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14189 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:57:05 +00:00
e230a70808
get rid of print
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14183 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:20:17 +00:00
889d376bfe
take out unnessary require
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14181 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 17:13:08 +00:00
beb47bb0f3
1.corrected defect 3053 2.update nodelist.updatestatus during 'updatenode -P/-S/-k';2.support nodelist.updatestatus update during 'updatenode -P/-S/-K';3.fix defect #3124 Postage.pm writes error message in /xcatpost/mypostscript: only write <data> field of getpostscript response to mypostscript, complain and terminate when getpostscript failed
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13981 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 08:48:20 +00:00
ef434876c1
cleaned up GetNodeOSARCH from defect 3095
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13900 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:10:06 +00:00
f7fa23352c
fix syntax error in TableUtils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 14:02:00 +00:00
ecd1c5999f
Fix bug:3095. Routine opening unnecessary tables
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-26 06:10:39 +00:00
b01e805194
new routine and cleanup
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-25 18:03:10 +00:00
8248d56a4f
add use strict back
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:42:49 +00:00
64519483ae
list out all the functions that has been moved out of Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13524 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-16 07:03:02 +00:00
f587c4d535
fix subroutine moving issue in perl-xCAT/xCAT/
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13506 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-14 12:02:13 +00:00
571f3e3962
for item: clean up Utils.pm, the code in perl-xCAT/xCAT
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13461 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 03:48:50 +00:00