Commit Graph

190 Commits

Author SHA1 Message Date
zhaoertao
1ecc7a08db add option '-s' for reventlog to output the event from latest to oldest
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15501 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-14 07:07:40 +00:00
daniceexi
b964b3f563 code drop for flex energy management support through cmm snmp interface
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15457 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-12 10:50:18 +00:00
zhaoertao
74db2d9120 snyc from trunk
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15445 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-03-11 01:57:06 +00:00
zhaoertao
5cf269a5b6 the option updateBMC of rspconfig only supported for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14630 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-12 07:27:32 +00:00
zhaoertao
64ca73178c add a option 'updateBMC' for rspconfig to update BMC password
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14584 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 10:21:29 +00:00
zhaoertao
0aa181cd46 reventlog supporting Firebird through CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14581 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-07 06:52:32 +00:00
zhaoertao
3aa724b5a4 fix bug 3218: Support 'rbeacon' for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14570 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 08:54:43 +00:00
zhaoertao
8688e63f33 fix bug 3194: power usage NOSUCHINSTANCE in 'rvitals cn all' firebird plus
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14567 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 06:09:26 +00:00
zhaoertao
7c754c200e fix bug 3185: rvitals NODE lcds has no output on rhels6.2 and NGP Flex blades
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14565 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-12-06 05:33:37 +00:00
lissav
508ef7a226 cleanup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14508 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 12:36:59 +00:00
xq2005
7d20dade12 defined(@array) is deprecated
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14494 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-30 09:02:22 +00:00
zhaoertao
0268c0c6a1 modifying 'rscan -u' to append the 'groups' attribute rather than overwrite it
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14456 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-28 08:12:19 +00:00
zhaoertao
73d2274527 add LCD info with 'rvitals <node> all'for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-11-23 10:40:39 +00:00
jbjohnso
5604a61f53 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/trunk@14176 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-31 15:21:45 +00:00
ligc
2cb4c75e2f undo the CMM password expire changing code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14028 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 12:34:41 +00:00
zhaoertao
38ce4c7423 setting the password expire time to 0, never expired
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14021 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-10-16 03:03:49 +00:00
zhaoertao
be8fea6a0e fix bug 3558819: rscan cannot identify mm as CMM for firebird
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13773 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-09-12 08:10:26 +00:00
zhaoertao
e2e4361957 fix bug 3531793: wrong error message in rspconfig cmm initnetwork=*
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-20 07:26:39 +00:00
zhaoertao
40e144b4cc for item: clean up Utils.pm, the code in xCAT-server/lib/xcat/plugin/
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13467 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-09 04:07:40 +00:00
zhaoertao
51d77e198c fix bug 3552543 and 3442549, the FB->getmacs <noderange> cannot work
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13377 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-31 14:09:50 +00:00
zhaoertao
0e30326a43 add flag '-i' for getmacs for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-07-11 08:40:16 +00:00
zhaoertao
e532ea48ae fix bug 3519576:Performance improvement to blade.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13204 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:44:37 +00:00
zhaoertao
4caebea74d enhance 'rinv' for CMM
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13203 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 08:03:35 +00:00
zhaoertao
fb234debb6 Modify 'rvitals' to support SNMP for Firebird blade and CMM.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13199 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-29 07:07:27 +00:00
zhaoertao
0757920664 modify getmacs: write lowercase mac address for Firebird blade
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13157 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-25 02:20:36 +00:00
zhaoertao
2f4cbf7dbf code for Adding verbose for xCAT commands item
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13136 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-21 09:43:16 +00:00
jbjohnso
7ba4186fff Enhance slpdiscover to reconigure CMMs even if their password is not default if user provides an alternative
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13125 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-06-19 14:35:27 +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
jbjohnso
d87f11e52a Fix blade.pm problem
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12971 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-31 14:08:55 +00:00
jbjohnso
18c9cf84ab 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/trunk@12952 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:51 +00:00
jbjohnso
7af1cd03fb Revert "Fix problem where blade.pm failed to isolate table configuration problems"
This reverts commit 637ad509abf90eabce30321d53793139fb084aaf.

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12951 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 16:03:32 +00:00
jbjohnso
b4d8def3a9 Fix problem where blade.pm failed to isolate table configuration problems
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12950 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-29 15:19:39 +00:00
jjhua
50001aae62 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@12853 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-22 02:30:43 +00:00
jbjohnso
ab40158ba6 More cleanly wrap login failures for clicmdns
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12846 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-21 13:59:40 +00:00
jbjohnso
c3351dc88b 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/trunk@12808 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-18 20:03:15 +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
jbjohnso
a9c0248442 CMM CLI syntax changed, accomodate
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-16 20:42:16 +00:00
jjhua
151296661c use the getIPaddress() in FSPUtils instead of Utils.pm
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12721 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-15 12:54:26 +00:00
jbjohnso
e43ba22d99 Correct mistake in clicmds change
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12569 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:28:57 +00:00
jbjohnso
6484d0b141 Revert "add use xCAT::FSPUtils;"
This reverts commit e49deecc8cfbba534ba7cf713b79709f63efaead.

This change broke SSH automation

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12564 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-08 16:15:47 +00:00
zhaoertao
eebe399699 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/trunk@12542 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-07 07:07:03 +00:00
daniceexi
8cf075b62d fixed the case that import sshkey failed,but no error message
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12519 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-04 02:25:19 +00:00
daniceexi
13db6d7692 Change the keyword to identify the flex power node. handle the failure case that setting network without output
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12503 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 08:03:26 +00:00
jjhua
a82e83dcc6 add use xCAT::FSPUtils;
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12486 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-05-03 04:49:07 +00:00
jbjohnso
67505c4c3b 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/trunk@12332 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-24 18:31:02 +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
jbjohnso
6cd35e6f9c Instead of pestering user, when CMM is detected auto-switch behavior
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12121 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:28:14 +00:00
jbjohnso
36d3b43194 Fix ssh to wait for system> prompt before trying to type. Also, defer MM reset until all 'clicmds' are processed
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12120 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-04 19:13:12 +00:00
jbjohnso
35fab70399 Add missing use statement to support the ip lookup checked in previously
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12108 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:55:35 +00:00
jbjohnso
9271d58115 Have blade.pm support filling in based on name lookup
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12107 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-03 18:54:19 +00:00