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
eb1bf16b15
CMM CLI syntax changed, accomodate
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:39:12 +00:00
jbjohnso
8eb33d24d7
Merge blade.pm changes from 2.8 for PureFlex support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12745 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 19:54:09 +00:00
zhaoertao
b10ad91d3c
fix bug 3525896: FB rspconfig setting node name with testid= nor working. The modification is not output any information when setting.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12720 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 08:49:42 +00:00
zhaoertao
9b335ce93c
fix bug 3519426: FB:rspconfig network=ip,host,gateway,netmask can't work
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12541 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 07:02:56 +00:00
daniceexi
0e1efe855e
fixed the case that import sshkey failed,but no error message
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:18:11 +00:00
daniceexi
95eb74c115
handle the case that network setting without output
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12502 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 07:22:13 +00:00
daniceexi
deb0391464
Change again for the key work to identify the flex power node
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12499 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 06:47:10 +00:00
jjhua
e33a93d24a
add use xCAT::FSPUtils;
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:46:45 +00:00
jjhua
682d8ec0df
performance enhancement for getIPaddress() in blade.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12381 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-28 08:58:20 +00:00
jbjohnso
8957491f43
Table.pm would die unceremoniously when faced with undefined argument, tolerate it
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12333 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:32:59 +00:00
zhaoertao
833976f525
use 'USERID' and its password as the account to create link between MN and hdwr_svr for NGP
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12194 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-11 09:20:20 +00:00
zhaoertao
d401f59d7f
fix bug 3515394: rspconfig passwd for cmm error
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12171 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-10 05:27:21 +00:00
zhaoertao
a2d14e557e
delete the using and implementation of getNodeSpecAttribs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12018 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-27 11:24:58 +00:00
zhaoertao
ddf0b1ae4c
for bug 3510200: only don't user HMC
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11958 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 09:35:59 +00:00
zhaoertao
1dfaa46360
fix bug 3510200: can use username other than USERID
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11955 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-23 08:42:48 +00:00
zhaoertao
590061470b
fix bug 3500392: FB->console abnormal if off/on blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11923 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:14:09 +00:00
daniceexi
30c1692f78
update the output format of rscan
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@11837 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:37:10 +00:00
zhaoertao
badef3d17d
not check the installnic or primarynic param in getmacs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11802 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 09:08:13 +00:00
zhaoertao
2a9414124f
fix bugs about rspconfig cmm USERID=<new_passwd>
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11799 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 01:57:25 +00:00
zhaoertao
36e927228d
enhancement of 'rspconfig cmm HMC=<passwd>' that update the password to all the FB blades managed by CMM
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11790 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-08 06:12:27 +00:00
jbjohnso
594c3df011
Fix problem where single-wide blades 'after' double-wide blades are reported incorrectly in various commands
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11784 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 15:16:58 +00:00
zhaoertao
8759c66130
support blade cycle: rpower blade cycle
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11776 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-07 05:41:13 +00:00
jbjohnso
6dab868b55
Fix rspconfig for blade community string
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 20:41:33 +00:00
jbjohnso
5ee88c2603
Make program flow a bit more sane when debugging, don't modify data in the request structure
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11769 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 19:59:54 +00:00
jbjohnso
38c71e86bc
Have blade.pm check both representations of uuid to search for a match....
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11768 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 15:55:40 +00:00
zhaoertao
ab867292a3
for NGP, fix some bugs found by UT
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11757 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-06 06:38:47 +00:00
zhaoertao
d6d8739cdf
For NGP
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11749 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 10:25:08 +00:00
daniceexi
5ef9fb08e8
output message for unhandled nodes
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11741 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 03:48:42 +00:00
daniceexi
122e46682f
remove the fsp obj for NGP blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11740 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-05 03:29:45 +00:00
jbjohnso
ae5b37598d
Have blade.pm also be able to match discovering nodes by UUID
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11734 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-03 01:46:19 +00:00
daniceexi
4a1e7494bd
add more condition to match the system p NGP blade for rscan
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11664 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-22 06:30:36 +00:00
daniceexi
9859b16eca
continue update the condition to recognize the cmm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11654 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 07:06:41 +00:00
daniceexi
f1db4ebf47
Change the condition to know whether it's a ppc NGP blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11652 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-21 06:48:38 +00:00
zhaoertao
a3f3b3b46a
fix bug 3486467: rscan -z can not parse out the IP address for FSPs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11538 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-10 07:32:54 +00:00
daniceexi
d1f2042462
set cons=fsp for NGP power blade during the rscan
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11493 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-07 03:17:34 +00:00
zhaoertao
706b89520f
Use option '-D' of getmacs to determinate the operation mode of a pblade, -D for DFM, else for CMM
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-06 09:30:08 +00:00
daniceexi
e819282af8
to support the solcfg enable/disable for cmm/blades
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11478 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-02-05 07:17:54 +00:00
daniceexi
1f6cb219ae
not set the hidden att for ngp; fix the cmm slot-> eth_fsp mapping
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11375 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-13 08:19:43 +00:00
daniceexi
e20bf54dfc
NGP support. -u only update the defined objects. -u displays message that matched to which obj or does not matched. If not set hwtype for a cmm, an error message will be displayed for rspconfig
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-01-06 11:45:45 +00:00
sjing
77107e1575
lstree implementation.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11302 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-27 03:41:21 +00:00
daniceexi
09fe391c8b
display the ip for the rscan command
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11296 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-27 02:12:07 +00:00
daniceexi
99c1733f50
fix the issue that cannot handle the rspconfig without args
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11287 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-22 06:41:39 +00:00
daniceexi
6db0afe70c
Make the nodetype.nodetype to be ppc for fsp and NGP ppc blade, and to be mp for the mm and common blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11282 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-21 08:42:05 +00:00
daniceexi
80e9d027ca
NGP support. Supported the basic functions of cmm:rspconfig-network,sshcfg,snmpcfg.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11279 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-21 02:57:32 +00:00
daniceexi
66d3dfd4db
more fix for replacing the getAttribs with getNodeAttribs for regular expression support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11190 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-08 14:57:37 +00:00
daniceexi
2ff2f03674
replace the getAttribs with getNodeAttribs for regular expression support
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11187 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-12-08 13:54:20 +00:00
jbjohnso
091e5c40c3
Increase timeout for AMM operations in general, but particularly lengthen it for queries involving LEDs
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10933 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-31 17:56:54 +00:00
daniceexi
500a31bce8
defect 3412786: make rscan -w to write mtm,serial,nodetype for blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10842 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-10-19 09:19:01 +00:00
jbjohnso
b3bb304849
Understand hypervisor in rbootseq
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10129 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-07-20 16:08:19 +00:00