170 Commits

Author SHA1 Message Date
jbjohnso
083154650c Have slpdiscover ultimately relax password expiry, login failure behavior, password reuse restrictions, minimal change interval to help automation work and
avoid DoS attacks

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14177 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:22:11 +00:00
ligc
602f8beb52 undo the CMM password expire code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14027 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 12:33:01 +00:00
zhaoertao
734b00e875 setting the password expire time to 0, never expired
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14020 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 02:59:57 +00:00
zhaoertao
451d63d075 fix bug 3558819: rscan cannot identify mm as CMM for firebird
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13772 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:01:19 +00:00
zhaoertao
f5f4e1117d fix bug 3531793: wrong error message in rspconfig cmm initnetwork=*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13550 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 07:24:02 +00:00
daniceexi
41fbf85cb8 merge 13125 to branch
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13423 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-03 09:20:28 +00:00
zhaoertao
ada63f1faf fix bug 3552543 and 3442549, the FB->getmacs <noderange> cannot work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13376 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 14:08:09 +00:00
zhaoertao
fb20194388 add flag '-i' for getmacs for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13273 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 08:30:06 +00:00
zhaoertao
206746b6c1 fix bug 3519576:Performance improvement to blade.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:45:26 +00:00
zhaoertao
b403f7310c enhance 'rinv' for CMM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13200 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:30:32 +00:00
zhaoertao
acf129beaa Modify 'rvitals' to support SNMP for Firebird blade and CMM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13198 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 06:52:29 +00:00
zhaoertao
e89b79bcac modify getmacs: write lowercase mac address for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13156 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 02:17:48 +00:00
zhaoertao
aacb5278c7 fix bug 3535388: FB 'snmpcfg=enable' doesn't truly work for the first time
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13104 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-15 09:22:31 +00:00
zhaoertao
1dc4df9e61 fix bug 3534769: NGP->rspconfig passwd can not work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13073 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-13 06:50:59 +00:00
zhaoertao
e2e71fe5a5 fix bug 3529000: FB need set installnic first
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 02:35:49 +00:00
zhaoertao
cd9a117e07 fix a potential when SSH to CMM failed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13031 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-08 02:33:35 +00:00
zhaoertao
d0d9e7562d fix bug 3531961: FB - Genesis password not processed properly
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@13012 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-06 10:42:56 +00:00
jbjohnso
446d5225d6 Fix blade.pm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12972 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 14:12:51 +00:00
jbjohnso
06b056fff6 Fix blade.pm tolerance in a way more targetted at discovery specifically
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12953 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:07:14 +00:00
jbjohnso
fcc2078d54 More cleanly wrap login failures for clicmdns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12845 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 13:59:13 +00:00
zhaoertao
561bafb554 fix bug 3528520: FB->rspconfig cmm USERID=Passw0rd can't work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12841 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 08:37:36 +00:00
zhaoertao
346a03ba5d merge efix about rspconfig <noderange> textid
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12838 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 02:48:29 +00:00
jbjohnso
6fa950c8e4 Have blade.pm accept an argument to use correct username and pass, but without key check
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@12807 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 20:01:01 +00:00
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