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
xq2005
46531485db
specify partition definition: support definition file for sles/suse
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13245 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-05 07:42:13 +00:00
jbjohnso
fdb706b631
Have policy table recognize the name '*' to mean any valid name, but must have some name
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13233 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-03 16:29:28 +00:00
jbjohnso
2e7f1599fe
Have autoula addressing store in hosts.ip for KICKSTARTNET directive
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13164 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 20:05:11 +00:00
xq2005
8986a3151a
specify the partition file: add the definition into configure file for rh,SL,CentOS,fedora
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13159 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 12:03:03 +00:00
lissav
08688dce25
fix defect 3530574 allow multiple command in policy table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13145 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 18:05:44 +00:00
lissav
7625dab575
fix defect 3393889, allow longhostname in policy table
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13141 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 16:12:18 +00:00
lissav
bc08d48d91
Move xcatd validate routine into and create an xcatd library. This should help with development and debug
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13137 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 12:59:40 +00:00
jbjohnso
5383a88a60
Fix problem where ula generation failed to deal properly with hexadecimal
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13134 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 18:06:30 +00:00
jbjohnso
1762312121
Add a template directive for mostly FSM use for now, enable a non-dhcp address management scheme
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13133 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-20 16:35:21 +00:00
zhaoertao
0b5567ff3c
the codes about NGP genesis state process
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13117 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-18 08:38:30 +00:00
jjhua
ce4159a002
in PPCconn.pm , it will match the FSPs' IPs after querying.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13040 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 09:57:22 +00:00
immarvin
621425dada
copycds enhancement: update linuximage table with the specified ospkgdir
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13034 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 03:20:07 +00:00
jjhua
5a561cf82f
improve the performance of rvitals
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12942 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-25 09:05:53 +00:00