zhaoertao
08a7dc5c78
correct site attribute name hdctldispatch to hwctrldispatch
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14294 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 06:11:08 +00:00
zhaoertao
bf2247a181
rename dfmdispatch to hdctldispatch
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14292 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 06:03:24 +00:00
zhaoertao
f8c5b0c53b
add attribute 'dfmdispatch' for site table to enable or disable the DFM hdwr_ctrl dispatch
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14283 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-09 03:18:02 +00:00
jbjohnso
be879dd88e
Fix glaring mistake in previous commit where 'FAILED' and 'all good' were indistinguishable
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:56:54 +00:00
jbjohnso
8c19948f3b
Have IPMI more decisively quite should the password be incorrect. Hypothetically a DoS could be aimed at the client, but that's much less likely.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14248 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:56:46 +00:00
jbjohnso
4106dec47e
Instead of randomizing each retry, just randomize the first to get things spread out then do the triangular progression timeout
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:56:38 +00:00
jbjohnso
7c7b6330ed
Apply another algorithm to avoid sequence number reuse as much as possible
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14246 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:56:31 +00:00
jbjohnso
72c0326c2e
Have IPMI.pm explicitly not expect cmd netfn after receiveng cmd/netfn response
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-05 14:56:23 +00:00
jbjohnso
8935e432a2
Improve reliability of duplicate response detection phase 1, also check netfn and command match
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14227 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 13:51:25 +00:00
jbjohnso
9f8c5f7998
It was discovered that the strategy to jump software ids, while effective, had the side effect of invalidating reservations
...
This means that initial SDR download would usually fail on implementations that consider reservations in such a manner.
Back out the incrementing software id behavior and instead bump retry interval back up to mitigate risk of wraparound
on retries.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14127 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:26:46 +00:00
jbjohnso
a2a76f23c6
Extend ipmi sequence validity through rqaddr
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13986 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 21:02:47 +00:00
jbjohnso
a585170667
Fix mistake with sid increment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13824 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 12:55:49 +00:00
jbjohnso
ba244e8841
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/branches/2.7@13821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:57:10 +00:00
jbjohnso
1dac16d2ce
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/branches/2.7@13820 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:57:03 +00:00
jbjohnso
2a241d4e64
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/branches/2.7@13819 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:56:55 +00:00
jbjohnso
5b3f372056
Eliminate instances of recursive timedouts really ruining our day in IPMI
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:56:48 +00:00
jbjohnso
1dd54b108d
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/branches/2.7@13817 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:56:42 +00:00
jbjohnso
94511e23c0
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/branches/2.7@13816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-16 03:56:33 +00:00
jbjohnso
4018deb485
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/branches/2.7@13789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-13 21:01:43 +00:00
linggao
901e60d507
multi vlan support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13623 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-27 21:03:29 +00:00
jbjohnso
f2744659a7
Pull in 2.8 low level IPMI functionality
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13594 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 18:27:27 +00:00
zhaoertao
50feb83e56
fix bug about 'hwtype' string changing into a string array in hierarchical environment.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13396 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:47:54 +00:00
jbjohnso
8587a835fd
Rework pulling packets off the socket, less delay in moving data to a more stable data structure
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13320 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-19 19:45:23 +00:00
jbjohnso
6a1c104f66
Rework IPMI.pm a tad for better sacalbility
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13319 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-19 19:45:11 +00:00
yinle
d6e8424836
Made specific choice about preprocess_nodes for rspconfig resetnet.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13281 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 07:51:11 +00:00
zhaoertao
1e4d543cf7
fix bug about 'runcmd' subroutine in hierarchy environment
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13250 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 02:37:31 +00:00
jjhua
029623589a
in PPCconn.pm , it will match the FSPs' IPs after querying.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13041 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 10:01:21 +00:00
zhaoertao
d0d9e7562d
fix bug 3531961: FB - Genesis password not processed properly
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-06 10:42:56 +00:00
linggao
07dbe567b1
fix the code to get correct synclist file
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12850 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 19:20:41 +00:00
jbjohnso
f6fed410e8
Pull in changes from 2.8 stream
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 14:53:57 +00:00
jbjohnso
7aeaa89a46
Correct typo in TZutils that caused very odd messages
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12804 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 18:12:39 +00:00
jbjohnso
b413e1b33d
Add a package to help figure out timezone data across the various syntaxes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12800 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:26:50 +00:00
jbjohnso
7e0871c456
-Fix race condition where make_slave_controlling_terminal could fail because pty is already closed (surprised this was a race...)
...
-Fix issue where '-nokeycheck' SSHInteract option was passed into Net::Telnet mistakenly
-Fix problem where Match specification was incorrectly done in SSHInteracte
-Fix problem where rspconfig could hang if the ssh session landed at a prompt
-Fix argument syntax in blade.pm to clicmds
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 15:43:47 +00:00
jbjohnso
b45e5f91d1
Pull in SSHInteract from 2.8 stream
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12794 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 14:01:39 +00:00
wanghuaz
aa1a5f9b35
Fixing bug 3508572. while restarting xcatd on service node, it will try to issue nodeset. for nfs-based statelite, it tries to issue litetree to get a folder and setup NFS exports. The problem is while issuing litetree command, xcatd is not available yet. So we added XCATBYPASS=Y before issuing litetree. After reviewing the context, litetree command is issued only on the CN's service node and the result is also used by the CN's service node only, so adding XCATBYPASS=y should be fine.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 05:48:32 +00:00
wanghuaz
79d57e9c49
Fixing bug that basename command required File::Basename pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:05:59 +00:00
jbjohnso
2ce7244782
Have Postage induce prefetched cache.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12639 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:31:17 +00:00
jbjohnso
eff23d4a3e
Have SvrUtils potentiall prefetchcache
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12638 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:31:09 +00:00
jbjohnso
f35700c82e
Eliminate needless sql call to get svloglocal
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12635 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:59:46 +00:00
jbjohnso
710fd4029b
Change Postage to induce prefetched cache
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12631 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:18:09 +00:00
wanghuaz
e2dba9bfb8
Fixing bug 3508572: SvrUtils.pm issues command mkpath, mkpath is included by File::Path, instead of File::Basename. I cannot find any other command that is included by File::Basename, so just replace it with correct one.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12606 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 09:26:39 +00:00
wanghuaz
ddf754b1e8
Fixing bug 3523438: ENV variable has issue with full installation
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12522 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 09:01:47 +00:00
jjhua
17de2c7ae5
fixed bug 3522919
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12473 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 13:45:51 +00:00
jjhua
aa3250fa44
add more comments to some special cases in preprocess_nodes()
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12447 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 05:50:35 +00:00
jjhua
d3789253c0
performance enhancement for getIPaddress()
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12380 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 08:35:40 +00:00
zhaoertao
8d74c64821
fix bug 3518485 and 3518486, issues about ivm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 03:19:05 +00:00
lissav
5cfc522107
revert perf change
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:34:07 +00:00
jjhua
843c7c1d5d
performance enhancement. 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/branches/2.7@12271 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:24:56 +00:00
jjhua
fed8cd7685
fix the error of the command mkhwconn frame -s
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12258 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 00:51:33 +00:00
ligc
20a8d6583e
support updatenode ospkgs for SLES SDK
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12223 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 09:29:21 +00:00