jjhua
300de0daf0
pre-create mypostscript enhancement: move mkdir out of the nodes loop
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-02 06:55:05 +00:00
jjhua
b16326fdbc
pre-create mypostscript enhancement:remove the functions which are not used. add some error messages, if the attribute is not defined
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14192 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 06:06:57 +00:00
jjhua
d3d34e7957
pre-create mypostscript enhancement: store the servicenode info in the %::GLOBAL_SN_HASH
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:59:40 +00:00
jjhua
6ed9c4c9b1
pre-create mypostscript enhancement: get_nodeset_state uses the values of the noderes.net boot noderes.tftpdir which were got ahead of time
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14188 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 02:10:01 +00:00
jjhua
d15a2add7a
pre-create mypostscript enhancement: get the noderes.netboot noderes.tftpdir ahead of time for get_nodeset_state in SvrUtils.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-01 01:53:22 +00:00
wanghuaz
47460b48e6
Removing debug code.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14150 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-30 03:04:24 +00:00
wanghuaz
f2d9901d19
run xcatbased, kit specific and customized postbootscripts in order
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14148 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-29 14:35:40 +00:00
jjhua
148482344e
pre-create mypostscript enhancement
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 13:49:47 +00:00
jjhua
9a206d67bd
pre-create mypostscript enhancement: move the postscript-specific functions from Template.pm to Postage.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14139 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 09:10:43 +00:00
jjhua
62636a0216
pre-create mypostscript enhancement. Use the networks info which is got form networks table ahead of time
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14138 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-26 08:38:04 +00:00
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