Commit Graph

361 Commits

Author SHA1 Message Date
jbjohnso
d4fa1ed91a Document some potential plans for sequence number magic to disambiguate spurious retries again
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14128 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:53:58 +00:00
jbjohnso
ba08481381 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/trunk@14126 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-25 19:26:09 +00:00
jjhua
5c1031647a Some enhancement to parse the mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-15 08:44:27 +00:00
lissav
5fbb634235 new mypostscript format
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 13:49:33 +00:00
lissav
4b3a85a303 Do not exit just because on os or arch defined for node
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 11:49:01 +00:00
jjhua
8be6104a56 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 07:15:19 +00:00
jjhua
5a395d4da6 To support site.precreatemypostscripts=1
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13990 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:31:26 +00:00
jjhua
521da69833 the subroutines to generate the mypostscript for each node, according to the template mypostscript.tmpl
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13989 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-12 06:06:48 +00:00
jbjohnso
ad9945e953 Extend ipmi sequence validity through rqaddr
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13987 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-11 21:02:53 +00:00
mellor
5ff462e202 support multiple osimage otherpkglist files for updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13976 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-10 18:22:23 +00:00
lissav
4d707f6c8f add getpostbootscripts routine and put a small fix in getsynclists routine
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13967 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-09 19:14:06 +00:00
jbjohnso
7d023e94ac 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/trunk@13945 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:56:35 +00:00
jbjohnso
ab965b04ed 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/trunk@13944 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-03 19:56:29 +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
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
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
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
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
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
ligc
12622d0ca6 fix for osimage.postscripts and osimage.postbootscripts are not run on compute nodes
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13753 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-11 05:47:53 +00:00
linggao
102aa513e4 bug fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-10 19:35:23 +00:00
immarvin
01461cdc50 add some comments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13678 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-31 06:22:57 +00:00
immarvin
452dbe05a6 add update_osdistro_table , modify update_tables_with_templates and update_tables_with_templates to support osdistro
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13656 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-30 09:22:56 +00:00
jbjohnso
55c3a0ef04 Sometimes IPMI 2 implementations randomly complain about our math being wrong once in a few thousand tries, start over from scratch should this occur
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13593 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 18:21:25 +00:00
jbjohnso
7fce0d11b6 Further refine IPMI support, now pretty solid for 5,000 nodes at a time, still one more condition to recover from, erroneous bad auth code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13590 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 17:08:52 +00:00
linggao
6b6b44b04e fix for vlan
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13579 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-22 19:09:26 +00:00
linggao
bfd8e946be changes for multi vlan support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13560 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 20:00:45 +00:00
zhaoertao
e822d0406e for item: clean up Utils.pm, the code in xCAT-server/lib/per/xCAT/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13464 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:00:45 +00:00
jbjohnso
21a301f6af Explicitly turn on network in templates that suggest network setup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13460 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 02:05:53 +00:00
jbjohnso
9764d338cd Further refinements of IPMI, defer retries until there is a guaranteed chance given for BMC to reply
Ensure every transmit gives an opportunity to process incoming data

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-08 19:52:02 +00:00
cjhardee
ee984847fb git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13426 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd 2012-08-05 05:04:07 +00:00
zhaoertao
bc25b8b239 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/trunk@13397 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-02 06:54:34 +00:00
jbjohnso
18052caaef Tweak IPMI retry to be more aggressive to reduce impact of occasional drops
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13371 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-30 19:22:46 +00:00
jbjohnso
2beaf85453 Fix problem where IPMI 1.5 timeouts would bug rather than properly report problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13351 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 13:10:39 +00:00
lissav
f7fc5f7321 fix defect 3549072
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13350 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 12:10:23 +00:00
jjhua
42cf1d088e create the KERNELDIR for ospkgs
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13349 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 09:12:26 +00:00
jjhua
c7e782afc4 remove my code in r13321, back to r13300
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13347 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-26 07:27:08 +00:00
jbjohnso
f19277afe8 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/trunk@13346 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 20:19:20 +00:00
jbjohnso
825e410d16 Rework IPMI.pm a tad for better sacalbility
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13345 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-25 20:19:08 +00:00
jjhua
4d96588172 To support ospkgs enhancements to install/upgrade OS packages from Updates , we should put the OSPKGDIR attribute in the /xcatpost/mypostscript firstly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13321 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-20 08:47:17 +00:00
lissav
06c22411b4 fix defect 3544651
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13300 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-16 16:16:33 +00:00
xq2005
179d0c4cc2 specify partition definition: support script for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13285 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 10:26:10 +00:00
yinle
3657ba13f6 Made specific choice of preprocess_nodes for rspconfig resetnet
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-12 07:55:31 +00:00
xq2005
4c5b3ee8b1 specify paritionfile: modify template.pm for sles
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13260 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-10 05:59:35 +00:00
zhaoertao
561abd493b fix bug about 'runcmd' subroutine in hierarchy environment
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13251 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-09 02:41:16 +00:00
jbjohnso
a6a6e79446 Add feature to Template.pm to facilitate autoula addressing for esxi5 deployments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13249 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-06 21:09:04 +00:00