Commit Graph

275 Commits

Author SHA1 Message Date
713c85179f defect 3851, further enhancements 2013-10-24 07:15:58 -04:00
07ee30b7bb fix bug 3651: rspconfig with cmm does not execute or provide error when entry found in ipmi table 2013-10-23 23:44:04 -07:00
817f8ce411 defect 3778 2013-09-11 07:13:59 -04:00
ecd518e31e import sha.pm on ubuntu instands of sha1.pm 2013-08-05 01:35:40 -07:00
a7e3e9ec2a load sha.pm on ubuntu instand of sha1.pm 2013-08-05 01:26:15 -07:00
8ea54a435f update node provision status based on the feedback of nodes instead of rpower/rnetboot for ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16899 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-06 13:41:38 +00:00
2e3dd4761e correct the return value of filter_nostatusupdate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16860 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-07-02 08:06:36 +00:00
ef8b638460 add a subroutine filter_nostatusupdate to support updating provision status thru feedback instead of rpower/rnetboot
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-27 04:11:30 +00:00
22468165b6 add req->{status} to runxcmd for defect 3641
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16725 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-23 10:50:24 +00:00
b6a22759e0 change filter_nodes subroutine that (renergy relhistogram) goto ipmi.pm and (rspconfig network|textid) goto blade.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-07 04:34:46 +00:00
d3f9b881f5 Have rspconfig textid work for x86 ngp blades
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@16187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-05-06 14:50:11 +00:00
c16a9a31d7 support rspconfig system-x-node network=*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15693 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-28 08:04:37 +00:00
47bcc75d71 enhanced function Utils->osver() to accept paramerters to output different data. If no parameter, the output will be same as before.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15670 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-27 10:19:30 +00:00
123abffe4f fix for defect 3436
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15589 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-19 17:59:15 +00:00
b964b3f563 code drop for flex energy management support through cmm snmp interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 10:50:18 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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