xq2005
e50efd16db
osver support on debian
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14774 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-07 07:52:16 +00:00
lissav
42e7811d54
Fix runxcmd, if refoutput=2 ( noparsing of the returned data, will not display output
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-10 12:06:39 +00:00
lissav
d608be3d11
fix processing when MN in database and has multiple groups defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:48:21 +00:00
lissav
c8db25f98d
change comment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14186 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 19:23:59 +00:00
lissav
0a554136b9
checkin enhanced support for runxcmd
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14185 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 18:54:37 +00:00
lissav
22eec83752
This adds an interface to runxcmd to return the response structure, still needs test though
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14166 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 19:21:28 +00:00
lissav
40a74f4310
check if MN defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14158 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 11:10:12 +00:00
bp-sawyers
dd11950993
chomped newlines from runcmd streaming output and updated site.runbootscripts description
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14111 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-24 15:37:47 +00:00
leiaibj
f7c81cbae2
1. when doing importing mac file action, tag details, tag errorMessage, tag failedNodesNum, tag successNodesNum and tag invalidRecordsNum should be just under tag xcatresponse. No data needed.
...
2. when doing importing mac file action, plugin should return more clear message like "mac file validation failed." in progress info.
3. when removing nodes, plugin should return error message if some of nodes failed to remove.
4. when doing auto detecting nodes, xcatresponse tag should have one status tag instead of nested ones.
5. enhance lock mechanism in Utils.pm
6. create new interface for querying whether profiled node discovery is running or not: nodediscoverstatus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14068 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-22 09:37:09 +00:00
bp-sawyers
a18348883d
Eliminated hard requires for SOAP::Lite and JSON
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13877 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-22 16:20:24 +00:00
lissav
d913682fe2
base check for MN on __mgmtnode group name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13747 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 18:59:47 +00:00
zhaoertao
a732cb476d
fix bug 3556007: modifications related to Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 04:21:28 +00:00
zhaoertao
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
lissav
41b34ff9cb
add check if nodetype defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13477 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 16:14:44 +00:00
zhaoertao
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
nott
ac30816620
fix perl INC path
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13450 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 17:27:50 +00:00
lissav
84ab9da2cf
add check to see if the Management Node is contained in the defined noderange array input
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-07 14:55:24 +00:00
jbjohnso
55819f9bab
Refine FSM packaging, make SHA1 optional
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 14:17:07 +00:00
jbjohnso
cb482e73f8
Further refinement of FSM build
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13099 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-14 18:43:11 +00:00
jjhua
2a89911f9e
use xCAT::Utils->get_site_attribute() instead of opening the site to read the attr
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:53:50 +00:00
jjhua
5550022ab1
in the get_site_attribute() subroutine, try %::XCATSITEVALS first, if the attribute is not popluated in %::XCATSITEVALS, then open site table to read the attribute
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12759 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:39:01 +00:00
jbjohnso
c82eea4b25
When doing getAllNodeAttribs, institute a noderange result cache to avoid many noderange() calls
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12645 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 19:33:27 +00:00
jbjohnso
14c2613546
Shave off an unneeded database call
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:54:31 +00:00
jjhua
dfaf88f244
remove getIPaddress() from Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12390 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:28:24 +00:00
lissav
b10b8057a6
get rid of warning for perl -c
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-22 10:25:50 +00:00
lissav
d6b8daaf33
Start of fix for SF3519602
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 18:50:42 +00:00
lissav
bf313c1b3f
revert code back to 11757
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12276 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:18:04 +00:00
jjhua
22e99e551b
performance improvement. collect the CEC/Frames' Children in preprocess_nodes() of PPC.pm, instead of getIPaddress() in Utils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:30:09 +00:00
zhaoertao
ab867292a3
for NGP, fix some bugs found by UT
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 06:38:47 +00:00
linggao
2dd8e712c7
added support for Nagios monitorin
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11555 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 20:19:54 +00:00
zhaoertao
cc452b7485
Adding support of NGP FSPs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11383 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-16 06:40:55 +00:00
zhaoertao
0749556a7d
service vlan redundancy related updates
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-15 07:28:02 +00:00
lissav
1eb9f9b547
fix 2:EOF error return
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11024 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-17 17:10:20 +00:00
lissav
a0ab156078
fix performance issue with getNodeIPaddress, the problem is in DBobjUtils->getchildren, but this routine never should have called DBobjUtils->getchildren.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-11-04 17:55:35 +00:00
lissav
57daa01fe9
add comment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10843 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-19 10:24:34 +00:00
jjhua
aca5df65e5
remove the from the get_ServiceNode() which was added by me
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-19 05:27:07 +00:00
lissav
158b578de9
change require RemoteShell
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 12:32:51 +00:00
jjhua
7121c53aa7
fixed the uninitialized error in get_ServiceNode()
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10813 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-18 03:19:19 +00:00
lissav
9a45a3dede
fix reference to remoteshell.expect
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 13:19:25 +00:00
lissav
71355722fe
change remoteshell.expect to using perl.expect
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-17 13:09:20 +00:00
jjhua
79079511d6
in DFM hierarchical cluster, mkhwconn/lshwconn/rmhwconn with -T fnm will send the command to CEC/Frame direclty, not through the service node if specified.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-14 05:43:26 +00:00
ericagar
cede69d8d7
Fix for defect 3419745: Fix Method to Determine if System is Ubuntu
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10710 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-06 17:45:08 +00:00
jbjohnso
ae8990d359
Suppress a little noise in debug when using IPv6 networks
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10696 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-04 15:57:15 +00:00
lissav
40084edcaa
fix getHomeDir so it can find the home directory even if the id is not in /etc/passwd (for example in LDAP)
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10692 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-03 19:03:03 +00:00
lissav
fbeac6be1a
fix for xdsh -K for non-root userid in LDAP defect 3414742
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 18:51:11 +00:00
lissav
89919c7272
fix defect 3415106 remove nimprime check
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10673 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-29 13:32:05 +00:00
lissav
be3c5a0d84
fix streaming mode output format
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 12:08:15 +00:00
lissav
ba0fc0f95e
changing setting of nimprime to support Linux/AIX mixed clusters
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10658 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 11:32:42 +00:00
lissav
9627e68cf3
changing setting of nimprime to support Linux/AIX mixed clusters
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10657 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-28 11:31:53 +00:00
lissav
c0723e42da
fix perl syntax error with mixed clusters, see defect 3413295
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10625 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-09-23 12:47:24 +00:00