2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-05-30 09:36:41 +00:00

55 Commits

Author SHA1 Message Date
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
jbjohnso
d9b67f13a8 -Prefer ipmitool-xcat provided ipmitool binary
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6077 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-05-12 19:29:37 +00:00
jjhua
be24083b6a use HMC instead of hscroot in rcons through fsp-api
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5495 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-03-17 01:36:28 +00:00
jjhua
366fdd26a0 HMC alternative: FSPinv.pm, FSPpower.pm, fsp for rcons
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4750 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-12-10 02:19:40 +00:00
cridye
8d03cc0b67 ilo console files
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4551 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-11 21:02:49 +00:00
bp-sawyers
3907147be3 Undoing HP commit 4546 because plugin structure was bad, causing xcatd to not start
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4548 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-11 14:26:31 +00:00
cridye
e754fafcf2 hp ilo plugins
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4546 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-11-10 22:30:41 +00:00
linggao
66569a2d6c use getNodeAttribs instead of getAttribs in script hmc for conserver
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3118 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-04-07 19:04:23 +00:00
jbjohnso
c8264f231a -Have Client library use a more reliable method than environment to get home directory
-Change conserver backends to not bother with setting HOME variable at all


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3045 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 14:19:17 +00:00
lissav
391b97d194 fix repeated errors Request matched no policy rule: getbladecon
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3043 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-30 12:21:48 +00:00
jbjohnso
dfcd4b2fcb -Restore root home directory from recent checkin
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2998 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 14:30:37 +00:00
daniceexi
e4d6816b0c reformat the request parameter and remove set the HOME env by force
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2995 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-26 09:22:29 +00:00
jbjohnso
6876e7bb3a -Inform ssh of the batch nature of via in VM wvid
-symlink xen to kvm wvid method
-Add conserver backend for kvm


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2894 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-14 00:40:38 +00:00
jbjohnso
d6ceff603d -Xen rcons options to preserve more characters
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2822 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 17:23:38 +00:00
jbjohnso
f63ce7dc6a -Change xen console method to use screen instead of cu, cu hangs too much
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2818 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-03-02 15:00:38 +00:00
jbjohnso
72c2c0174e -New conserver backends that coordinate better to avoid high startup loads and not penalize a single console being restarted
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2672 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2009-01-30 14:27:32 +00:00
jbjohnso
4b88405719 -Edit script to also attempt isol, to allow SOL for x336/x346 in conjunction with ipmitool 1.8.10
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2284 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-10-05 19:47:04 +00:00
jbjohnso
dfb5424f4c Change blade console method to avoid direct Table access, to alleviate SQL load and be throttled like other xCAT accesses
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2033 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-16 14:44:41 +00:00
jbjohnso
e98cd07abe -Fix xen cons error output formatting
-Change ipmi cons method to not query tables directly.  This dramatically decreases DB load.


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2032 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-16 13:41:14 +00:00
jbjohnso
aa07dbc4e5 -Change xen console and backend plugin relationship to use a specific command
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2014 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2008-08-12 17:15:48 +00:00