GONG Jie
bb7d0e9442
Remove trailing spaces in file xCAT-server/share/xcat/cons/openbmc
2017-12-31 23:59:59 +00:00
robin2008
957eaf8016
Improve getopenbmccons performance ( #5507 )
...
- as it is only DB operation, do all things in preprocess_handler
- pass 'node' instead of 'noderange' to avoid accessing whole `nodelist`
2018-08-15 16:59:39 +08:00
chenglch
2da3f5140d
Move sleep retry from xcat to goconserver
...
If cons script is waiting, goconserver could not aware of
the status of the console connection. This patch check
the environment when running the script, if it is gocons
and retrying is needed, exit immediately.
2018-02-09 12:11:48 +08:00
Matt Ezell
50fdcec19d
Fix #4330 , close the socket
2017-11-21 09:44:02 -05:00
Matt Ezell
d862891201
Use IO::Socket to check BMC console port
2017-11-18 14:54:04 -05:00
Casandra Qiu
0b9aae5754
change log messages
2017-11-16 14:49:32 -05:00
Casandra Qiu
f6690b648e
[openbmc]Do not send exec command for bmc console if bmc is not reachable
2017-11-15 16:56:16 -05:00
chenglch
07a4a50f0c
Fix the message for openbmc cons
...
Help user to locate the error for openbmc console session.
2017-11-08 09:21:06 +08:00
chenglch
3396e3c9a0
Disable the ssh prompt when connecting the openbmc console ( #3815 )
...
This patch force the ssh client to use the ssh key only. It also
disable the known host check to avoid of the error after rflash.
Fix-issue: #3543
2017-09-15 16:59:44 +08:00
Casandra Qiu
d8600c25c1
Modify the comments
2017-08-10 11:08:41 -04:00
Casandra Qiu
11890b660b
using sshpass (if availble) connect to openbmc console
2017-08-09 14:32:18 -04:00
ertaozh
4434d4a6ff
Fix issue 2350: Wcons IPMI not working due to xcat code
2017-05-08 02:56:31 -04:00
khm
5e88632172
xCAT-server: fix S7200AP ipmi detection
2017-04-14 15:11:32 -07:00
Casandra Qiu
a943c20104
rcons command failed for openbmc
2017-04-06 15:39:20 -04:00
Casandra Qiu
4fa1119178
change nodeip to bmcip
2017-03-15 15:35:13 -04:00
Casandra Qiu
a924cfffe5
remove configssh routine
2017-03-15 15:35:13 -04:00
Casandra Qiu
8a8c5a943d
use mgt=ipmi instead of openbmc
2017-03-15 15:34:34 -04:00
Casandra Qiu
5793009eab
Support ssh based console in rcons for openbmc
2017-03-15 15:33:31 -04:00
Victor Hu
b60c007f27
Clean up commented code that is useless in the console files
2017-02-01 13:05:19 -05:00
chenglch
606ac46dd0
Use sleep subroutine instead of exec(sleep)
...
exec function call will take over all the process, lead to no chance to
continue the work within the script, this patch use sleep function call from
perl library instead.
Close-issue: #1801
2016-11-03 16:08:10 +08:00
Mark Gurevich
db9a71750e
Fix sytax errors reported by perltidy
2016-07-25 08:56:18 -04:00
Mark Gurevich
fb911143fe
perltidy all perl files, part 2
2016-07-21 13:27:40 -04:00
ligc
cd4c886ba1
fix for rcons problem with kvm on SLES 12 and on PowerKVM
2013-10-30 14:55:32 +08:00
zhaoertao
97b9c613cc
fix bug 4032:$password not single quoted in /opt/xcat/share/xcat/cons/ipmi
2014-04-08 02:17:49 -07:00
zhaoertao
054ef6d125
rcons support for powerkvm
2014-03-24 02:03:06 -07:00
lissav
1fc54f6bdc
changes for defect 3758 git patch
2013-08-26 11:08:06 -04:00
immarvin
b868858de3
fix defect 3719 [DEV] rcons fails when nodehm.mgt=kvm
2013-08-07 00:42:39 -07:00
jbjohnso
434739f3a3
Fix problem with getipmicons
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@16633 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-06-14 12:53:14 +00:00
zhaoertao
b0eefd4e7b
fix bug 3273:xcat returns ipmi plugin bug if console opening failed for system x
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14763 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2013-01-06 08:38:34 +00:00
lissav
324bbc20f6
fix library
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@13585 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-08-23 11:12:26 +00:00
bp-sawyers
d242ae9f30
Removed expect dependency
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12340 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-25 11:40:16 +00:00
jbjohnso
2bf340b011
Enhance ipmi console with analogous enhancements to other console backends to mitigate memory usage when massive numbers of imms are not reachable
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@12244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-04-16 00:42:36 +00:00
zhaoertao
d27ef5117f
fix bug 3500392: FB->console abnormal if off/on blade
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11922 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-21 07:13:03 +00:00
zhaoertao
b7d1caeef7
fix bug 3500392: the DFM link between hdwr_svr and blades need to be reconnected
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11839 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-13 11:54:21 +00:00
zhaoertao
4eeaae182a
modify the time interval used to retry rcons
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11816 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-12 09:15:57 +00:00
zhaoertao
4572e601f8
add sleep for rcons to check the blade state if it is in 'power off' state
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@11801 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2012-03-09 09:07:05 +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
otubo
a5b4437573
Solving bug #3390333
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@10274 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-08-12 02:30:12 +00:00
yinle
084464ecad
Add error processing.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9266 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 02:42:35 +00:00
yinle
4a3e6a99f6
Fix bug 3261047:ExtTab loads user tables for every perl process
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9262 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-11 01:58:07 +00:00
yinle
4e4c3307d1
Move credential to the hmc.pm
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9247 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-08 03:28:01 +00:00
yinle
5ca0bce034
Fix 3261047: ExtTab loads user tables for every perl process
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9244 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-08 02:22:01 +00:00
yinle
c21d86f955
Fix bug 3261047: ExtTab loads user tables for every perl process.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9235 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-04-07 06:54:08 +00:00
jbjohnso
426a80a53f
Reduce memory usage of downed KVM and Xen consoles
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9037 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2011-03-11 19:30:37 +00:00
jbjohnso
3cac50a3bc
-Fix multiwide blade rcons
...
Have ddns delete TXT records for DHCP to avoid confusion
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7680 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-09-27 20:21:39 +00:00
jjhua
75cdd9afbd
multiple hardware control points support for scaling test
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7001 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 05:56:59 +00:00
jjhua
53683cf3c3
improvement for scaling tests
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@7000 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-09 05:47:05 +00:00
jjhua
9af4375c69
rcons for multiple hardware control points
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6939 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-08-02 08:42:54 +00:00
jbjohnso
bc4993d32a
-Correct mistake in previous update
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6364 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-07 13:05:16 +00:00
jbjohnso
bd9247dd13
-Workaround for some 'mostly' IPMI 2.0 scenarios that ignore the 2.0 requirement for 1.5.
...
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6359 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-04 20:21:24 +00:00