Commit Graph

297 Commits

Author SHA1 Message Date
jbjohnso
b67a60c422 Fix SSHInteract to manuever IMMv2 login
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12821 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-19 13:58:10 +00:00
jbjohnso
65a6369de2 Correct typo in TZutils that caused very odd messages
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12803 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 17:40:45 +00:00
jbjohnso
801c5b0bf9 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/trunk@12799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 16:07:07 +00:00
jbjohnso
cfef977347 -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/trunk@12798 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 15:44:42 +00:00
jjhua
9ac4324794 For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12789 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:33:24 +00:00
jjhua
9621b0511f For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12788 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 07:02:09 +00:00
jjhua
59ac4c2b1b For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12787 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:14:35 +00:00
wanghuaz
245a7a055b 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/trunk@12786 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 06:04:21 +00:00
jjhua
89aea637cb For the places that open site table to read attributes, change to call xCAT::Utils->get_site_attribute instead
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12760 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-17 08:42:12 +00:00
wanghuaz
9fc48a2a59 Fixing bug that basename command required File::Basename pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12660 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-14 08:05:59 +00:00
jbjohnso
3de8c6bb41 Have Postage induce prefetched cache.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12637 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:31:02 +00:00
jbjohnso
6cead01cf9 Have SvrUtils potentiall prefetchcache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12636 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 15:30:53 +00:00
jbjohnso
59b6c3310f Change Postage to induce prefetched cache
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12632 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-11 14:18:21 +00:00
wanghuaz
5890139d47 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/trunk@12607 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-10 09:28:10 +00:00
wanghuaz
5e12d730ff Fixing bug 3523438: ENV variable has issue with full installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12523 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 09:09:33 +00:00
jjhua
c43b98a161 fixed bug 3522919
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12474 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 13:47:59 +00:00
jjhua
09054d303a add more comments to some special cases in preprocess_nodes()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12448 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-02 05:51:24 +00:00
jjhua
1bc8fc7e64 performance enhancement for getIPaddress()
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12386 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 09:22:50 +00:00
zhaoertao
92d59e063a fix a potential bug for SSHInteract
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12368 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-27 07:45:20 +00:00
zhaoertao
0825693212 fix bug 3518485 and 3518486, issues about ivm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-20 03:18:38 +00:00
lissav
40ae98400f revert perf change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12278 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 15:32:28 +00:00
jjhua
05a9e204d8 performance improvement. 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/trunk@12274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-19 10:32:01 +00:00
jjhua
d163da308f fix the error of the command mkhwconn frame -s
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12259 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-18 00:55:11 +00:00
jbjohnso
9e912be932 Fix a typo in SSHInteract.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12234 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-13 12:43:32 +00:00
zhaoertao
24ac5b5ecf delete username HMC from usage page of rspconfig
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12231 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-13 03:10:34 +00:00
ligc
fdc6485616 support updatenode ospkgs for SLES SDK
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12222 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 09:29:17 +00:00
jjhua
211cf80b67 rpower cec onstandby -T tooltype support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12218 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-12 08:11:57 +00:00
yinle
17fba594b1 Fix bug 3512371:hcp in HMC node definition
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12182 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 13:28:24 +00:00
jbjohnso
8a3b5596af Flesh out the blade clicmds ssh support a bit more and accomodate CMM default password behavior/requirements
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 15:13:54 +00:00
lissav
f63aaf9ebf fix defect 3513526
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12097 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 20:05:53 +00:00
jbjohnso
905caa2b18 Enhance blade.pm in preparation for deeper CMM support
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12096 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 19:27:34 +00:00
jbjohnso
9933536568 Have name match the filename
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12090 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:41:37 +00:00
jbjohnso
8be05fe72f Rename SSH.pm to SSHInteract.pm to avoid conflict
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12089 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-02 13:40:59 +00:00
immarvin
6d0fd8bd7f initialize the variable XCATROOT when loading the .pm file
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12082 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-01 03:17:14 +00:00
linggao
6c81bc84ce More efficient when calling getstate for pxe,xnba and yaboot during node deployment or updatenode
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12063 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:33:32 +00:00
jbjohnso
e88e88e925 Add xCAT::SSH to help ssh-ify blade.pm to cope with CMMs that do not do telnet by default
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12059 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-29 20:10:50 +00:00
jbjohnso
db4d440467 Have SvrUtils allow 'export' of sendmsg for brevity in calling code if calling code so desires it.
Get ready to have blade.pm do ssh out of the gate on at least CMMs
Get ready for SLP based 'node' discovery, including MM initial setup

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12039 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-28 21:06:04 +00:00
ligc
cd3110086c fix for bug 3487614: Full installation, extract the common code for generating the mypostscript file and make it common across all scripts
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:30:50 +00:00
linggao
0aa203fa99 use XCATSITEVALS in Postage.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11847 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-14 13:30:32 +00:00
jbjohnso
43fbad64ac Weaken Postage.pm requirement of PPCdb
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11811 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-11 00:29:52 +00:00
jbjohnso
ebb3f27e55 Rework some of the IPv6 logic to tolerate certain peculiar perl environments
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11797 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 15:17:20 +00:00
jjhua
0a1572dd58 cec_off_policy, pending_power_on_side functions for FB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11756 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 05:17:56 +00:00
jjhua
2a9c813ebd support for FB
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11744 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 07:22:49 +00:00
jbjohnso
b144a32404 Implement a '-w' argument on rpower suspend to force blocking until system has gone into suspend
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11699 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 17:49:29 +00:00
yinle
aa859d29bd fix bug 3492916 :Hardware connection issue between HMC and CEC
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11695 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-27 09:10:04 +00:00
wanghuaz
a854feea90 Added service node pool for diskful and diskless installation
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11653 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:53:54 +00:00
yinle
c5cd21f6e7 minor fix
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11605 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-17 06:00:45 +00:00
yinle
eeaf152457 "getnodetype performance improvement": change getnodetype related code.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11547 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 10:32:50 +00:00
lissav
4c9efd42b1 fix for 3485080 syspowerinterval not being honored
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11504 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-07 15:49:14 +00:00
jbjohnso
9bc1b7f8f1 Explicitly denote NI_NUMERICHOST as a function, which seems strange but it makes perl give us the benefit of the doubt
on it beling a valid scoped entity that will be avoided if not imported.
Could have probably used & to acheive the same effect, but it doesn't particularly matter

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11500 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-07 13:34:20 +00:00