11159 Commits

Author SHA1 Message Date
lissav
a98a295d23 new interface to getAllSN due to MN in servicenode table, also added use strict back in loss on the split and fixed the errors
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13840 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:57:53 +00:00
lissav
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
ligc
58831323b3 fix for bug 3568791: add nfs export options -vers 3:4 for /install/postscripts on SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 12:07:55 +00:00
lissav
27c94dec21 xcatconfig -m only sets group=__mgmtnode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13836 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:52:30 +00:00
lissav
dfb8898ec2 remove postscripts.rules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13835 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:48:57 +00:00
lissav
11d885a025 remove postscripts.rules
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13834 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 10:48:20 +00:00
daniceexi
a6f2f19082 several fixes for rhevm support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13832 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 08:32:45 +00:00
wanghuaz
a18f195f0d Fixing bug 3567143 and 3568764, update PE/essl for hpc integration
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13830 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-18 06:52:34 +00:00
immarvin
36dda35ce0 corrected the issue that PBS cannot run in first boot after installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13829 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 11:12:39 +00:00
ligc
293d1c0209 fix for bug 3567955: parse the hostname to ip address before indicating more than one xcatmaster for HA SN
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13828 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 09:17:23 +00:00
daniceexi
6fb54f8730 remove a empty line which cauased an warning during pod2html
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13826 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-17 07:10:20 +00:00
jbjohnso
ccaacfd954 Fix mistake with sid increment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13823 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 12:55:27 +00:00
lissav
cb0d7edc64 fix incorrect library for get_site_attribute
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 10:23:47 +00:00
jbjohnso
fe4b65400f Several changes to improve IPMI behavior, *particularly* with IPMI 2.0
-Go back to restarting the log in process if rakp2 or rakp4 goes awry, it's too likely for a dropped packet to confuse IPMI 2 devices.
-Fix relog to reset session context to avoid getting distracted by now stale RAKP messages if the IPMI device happened to be slow
-Switch session ids on relog, so that everything can ignore packets from a zombie IPMI session reliably (e.g. relog recovery of a session).
-In parse_ipmi_payload, delete pendingargs in addition to deleting sessions_waiting entry.  The latter should have sufficed, but there persisted an odd
 issue where sometimes the last non-logout packet was erroneously retransmitted as retries at the end.  This change short-circuits
 the timedout function should this occur, generally delaying exit by 100 milliseconds whet it goes wrong.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13815 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:53:43 +00:00
jbjohnso
98ffaf7fbc In accordance with previous change, always act as if logout completed successfully without checking the result
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13812 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 13:23:30 +00:00
jbjohnso
9bab28ab00 When doing close session, if the reply packet is dropped on the network, session may no longer be closeable. Send a close session and hope for the best, do not hold up things waiting
for something that shall never come

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 13:23:22 +00:00
jbjohnso
8f1fd066e2 Fix problem where rvitals fails to gracefully handle situations like timeout on a sensor read
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13810 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:52 +00:00
jbjohnso
95fbd48c1e Eliminate instances of recursive timedouts really ruining our day in IPMI
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13809 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:44 +00:00
jbjohnso
1f5e91d32e Rework IPMI.pm IPMI 2 session negotiation a bit, now we take care to make sure the most recent open rmcp+ request is the one used
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-15 00:57:28 +00:00
jbjohnso
64d767ab44 Revise ipmi 2 session establishment to be more forgiving of retries during the process
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13805 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 15:01:43 +00:00
lissav
0680a2fab9 add XML getTablesAllRowAttribs routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:25:54 +00:00
daniceexi
d6ee2b1072 defect 3539473: disable the xcatdebug to be run on aix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 13:24:12 +00:00
daniceexi
dded0c9f2d add a new site attribute site.tftpflags which used to specify the tftpd parameters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 12:40:18 +00:00
xq2005
827a711e6b add nfs-common, snmpd into default pkglist for ubuntu full install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 08:33:46 +00:00
xq2005
40837eb2ed support pkglist for ubuntu full install
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 08:01:03 +00:00
immarvin
4f638c093b correct some typos
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:16:04 +00:00
daniceexi
451b2e3f2a fix the defect that force to stop xcatd for each restart
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13796 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:14:45 +00:00
immarvin
d5b11ebfcb add a new value nodelist.status=failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 03:07:13 +00:00
immarvin
16716de481 set site.nodestatus as a environment variable {NODESTATUS}
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13793 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:58:34 +00:00
immarvin
18685bccef add a global variable return_value to keep the return value of the postbootscripts, do not update nodelist.status if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13792 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:46:50 +00:00
immarvin
dc1d86412c set nodelist.status to failed if some postscript or postbootscript failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13791 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:31:14 +00:00
immarvin
38e5b69d6b set nodelist.status to failed if some postbootscript failed during node privision;prohibit status update if site.nodestatus='n'
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-14 02:15:23 +00:00
jbjohnso
54f4616dbc Rework IPMI seqlun management to avoid accepting the same data twice as valid instead of retry
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 21:00:07 +00:00
lissav
56ab665d2a change name
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 18:24:34 +00:00
phamt
616a35fd01 Replaces tabs with 4 spaces and formatted code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13785 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 16:04:42 +00:00
lissav
624fc39bbf V0.15 of the Schema
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 13:15:28 +00:00
lissav
e786262c56 add getTablesNodeAttribs XML support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13782 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 12:01:48 +00:00
brianfinley
253a5dd478 - s/atrribute/attribute/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13781 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 21:06:23 +00:00
linggao
14e4537d80 use nmap before using fping in PPCenergy.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 19:24:22 +00:00
linggao
500cbef47d eliminated the dependency on fping for Linux
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13779 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:47:43 +00:00
linggao
0592ad03d6 changed the monitoring code to use nmap for getting node status
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 15:05:57 +00:00
lissav
25c4b4ec8f checkin getTablesAllNodeAttribs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 13:45:34 +00:00
daniceexi
c624d51c86 fix the issue of clone vm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13775 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:25:07 +00:00
zhaoertao
be8fea6a0e fix bug 3558819: rscan cannot identify mm as CMM for firebird
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:10:26 +00:00
jjhua
6adf22b30e remove some improper comments.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13771 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:40:26 +00:00
jjhua
63dc1b56cb link the osdistroupdate to ../bin/xcatclientnnr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13770 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:37:09 +00:00
jjhua
408d57ecb2 osdistroupdate command -- an internal command. Creating/listing/deleting os distro updates
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:32:45 +00:00
amy0701
30866f093c update testcase
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 06:25:35 +00:00
lissav
6706171e02 Match V0.14
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13766 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 17:54:19 +00:00
linggao
398989df54 modified the description for switch.vlan and switch.interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13765 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 15:22:42 +00:00