Cluster Project branch, RHEL5, updated. cmirror_1_1_15-148-gedeac8b
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Cluster Project".
The branch, RHEL5 has been updated
via edeac8b3f8ef1b4514d9275fe58353897fe64180 (commit)
via 841ca577604c1cab58a2321adb0f48015e09fbf4 (commit)
via e98318fd87fff36f33a553d49ec034b2f013962d (commit)
via 94da6e5daa9464eb8add92799a0a3b8dbb51e556 (commit)
via 410322a9262782032419a95df24b914d746ab78e (commit)
via 227fd2259db164351f4a87df11f0aaca7e8e8431 (commit)
via 8c6f5b0f8c8f3f516cfa9c45788eaffae1b14716 (commit)
via 1370e1d95e5d47cb769c6f5688bcc95a6323024c (commit)
via f392c771b5685ee7976ddedb9dc91a72b6aa9131 (commit)
via bb049ca7538ba651a11a11760ee4938ca11309ab (commit)
via 7372abbeeedc2929c87e4e2dfdad5afefdb9eaa9 (commit)
via afcd1c258fe77e99e903b3af0d2bbe4511ab30c9 (commit)
via e8fd85b5708af3c90f2bc22a5dfba8ee4d650500 (commit)
via 46ed9ea48925308cc6ba6a53dc003af47e439f11 (commit)
via 7f0ff0d36300663872e33ea0f59d2f12c57ec71b (commit)
via 04047258adecce9e67f41878cdb04704ce21d7d7 (commit)
via f8f38be59e31ddb153c97ce911833987f4cd8aa9 (commit)
via bcbc00f95c033fe4c6a1036c4866bc2ca983aae2 (commit)
via 13e245d07bd086ef6cc13361ba0d36b34d6e874f (commit)
via 7a3e7b32f17570de9f3f86ecbcda1af6971f232d (commit)
via 3e174a998a07530f1cbfa05c0954f9c1d2fc85cd (commit)
from 6c8d7408095782bb00b5361a7df5973f3dcda183 (commit)Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit edeac8b3f8ef1b4514d9275fe58353897fe64180
Author: Fabio M. Di Nitto <[email protected]> Date: Mon May 26 10:22:35 2008 +0200
[BUILD] Add fence_lpar fencing agent to the build system
commit 841ca577604c1cab58a2321adb0f48015e09fbf4
Author: Fabio M. Di Nitto <[email protected]> Date: Thu Jul 3 06:01:04 2008 +0200
[BUILD] Fix telnet_ssl build
commit e98318fd87fff36f33a553d49ec034b2f013962d
Author: Fabio M. Di Nitto <[email protected]> Date: Thu Jul 3 05:46:11 2008 +0200
[BUILD] Fix install of telnet_ssl
commit 94da6e5daa9464eb8add92799a0a3b8dbb51e556
Author: Marek 'marx' Grac <[email protected]> Date: Wed Jul 2 15:55:48 2008 +0200
[FENCE] Bug #448822: fence_ilo doesn't work with iLO
New fencing agent for iLO used ssh/telnet to connect, but unfortutely there is a problem with power off. This is why we need to use SSL connection and RIBCL commands. As there is no (?) telnet with ssl connection in RHEL we need one to be able to use same infrastructure as in other agents. This agent was not tested with RIBCL version < 2.0 (these part where just ported from the old perl fencing agent)
@todo: we have to put telnet_ssl.py somewhere, I'm not sure where
commit 410322a9262782032419a95df24b914d746ab78e
Author: Marek 'marx' Grac <[email protected]> Date: Wed Jun 4 15:54:49 2008 +0200
[FENCE] Fix: 447378: fence_apc unable to connect via ssh to APC 7900
Increased timeout from SHELL_TIMEOUT to LOGIN_TIMEOUT in login function.
commit 227fd2259db164351f4a87df11f0aaca7e8e8431
Author: Ryan McCabe <[email protected]> Date: Wed May 28 16:28:34 2008 -0400
fence: fixes and cleanups to fencing.py library
- Do not report failure if a node is successfully powered off, but fails to power on.
- Change 'pass' to 'continue' so that comments and blank lines from stdin are ignored.
- Use the full path to ssh and telnet when executing the binaries.
commit 8c6f5b0f8c8f3f516cfa9c45788eaffae1b14716
Author: Marek 'marx' Grac <[email protected]> Date: Mon Jun 2 16:15:50 2008 +0200
[FENCE] Fix #446995: Unknown option
Previous patch worked just for command line and there was a problem with stdin argument. Typo fixed.
commit 1370e1d95e5d47cb769c6f5688bcc95a6323024c
Author: Marek 'marx' Grac <[email protected]> Date: Fri May 23 19:01:06 2008 +0200
[FENCE]: Fix #448133: New fence agent for HMC/LPAR
commit f392c771b5685ee7976ddedb9dc91a72b6aa9131
Author: Marek 'marx' Grac <[email protected]> Date: Wed May 21 17:26:03 2008 +0200
[FENCE] Fix #447378 - fence_apc unable to connect via ssh to APC 7900
Problem was that even with ssh itself it was really painfull to log into this device (15 - 40 seconds). After specifying cipher and protocol we can login and check status in time comparable to others.
commit bb049ca7538ba651a11a11760ee4938ca11309ab
Author: Fabio M. Di Nitto <[email protected]> Date: Tue May 20 12:41:22 2008 +0200
[BUILD] Fix fence agents generation
When switching from perl to python implementations we forgot to modify the version/copyright generators in the Makefile snippets.
This fixes BZ: #447432, #447434, #447437
commit 7372abbeeedc2929c87e4e2dfdad5afefdb9eaa9
Author: Marek 'marx' Grac <[email protected]> Date: Tue May 20 11:11:23 2008 +0200
[FENCE] Fix #446995: Parse error: Unknown option 'switch=3'
Support for APC MasterSwitch was added (it worked in original fencing agent). Option 'switch' on STDIN didn't have a getopt alternative, so '-s <switch-id>' was added. Plug number notation <switch>:<plug> works as before. Original behaviour for missing switch number does not change. If there is just one MasterSwitch then we will set it up otherwise error is returned.
commit afcd1c258fe77e99e903b3af0d2bbe4511ab30c9
Author: Marek 'marx' Grac <[email protected]> Date: Mon May 19 17:28:39 2008 +0200
[FENCE] Fix #248609: SSH support in Bladecenter fencing (ssh)
Complete ssh support for Bladecenter. You can use password or private key (identity_file on STDIN; -k in getopt) to login to system. This patch contains complete infrastructure (usable also by other agents).
commit e8fd85b5708af3c90f2bc22a5dfba8ee4d650500
Author: Fabio M. Di Nitto <[email protected]> Date: Fri May 16 07:24:37 2008 +0200
[BUILD] Fix drac5 generation
commit 46ed9ea48925308cc6ba6a53dc003af47e439f11
Author: Fabio M. Di Nitto <[email protected]> Date: Fri May 16 07:10:40 2008 +0200
[BUILD] Port fence/agents/lib/Makefile to RHEL5
commit 7f0ff0d36300663872e33ea0f59d2f12c57ec71b
Author: Marek 'marx' Grac <[email protected]> Date: Tue May 13 18:21:44 2008 +0200
[FENCE] Fix typo in name of the exceptions in fencing agents
Exceptions should be pexpect.EOF, pexpect.TIMEOUT (not pexcept.*). This problem only occured in set_status(). Function get_status() contains correct exceptions.
commit 04047258adecce9e67f41878cdb04704ce21d7d7
Author: Marek 'marx' Grac <[email protected]> Date: Tue May 13 17:26:56 2008 +0200
[FENCE] Fix problem with different menu for admin/user for APC
In APC user/admin can see a different menu and they have to use different sequence of keystrokes to access Outlet Controls. Previously only support for user was provided.
commit f8f38be59e31ddb153c97ce911833987f4cd8aa9
Author: Marek 'marx' Grac <[email protected]> Date: Tue May 13 17:00:57 2008 +0200
[FENCE] Fix name of the option in fencing library
We were testing for option 'plug_no' but in every other file we have 'port'.
commit bcbc00f95c033fe4c6a1036c4866bc2ca983aae2
Author: Marek 'marx' Grac <[email protected]> Date: Tue May 6 16:50:00 2008 +0200
[FENCE] Fix #444615: Support for 24 port APC fencing device
Fixed in the new version of python fencing agent. But there was still a problem because there is major change of interface between firmware v2.7.x and v3.5.x. After this patch both types of firmware version should work.
commit 13e245d07bd086ef6cc13361ba0d36b34d6e874f
Author: Marek 'marx' Grac <[email protected]> Date: Wed Apr 30 15:30:24 2008 +0200
[FENCE] SSH support using stdin options
STDIN options have to be name=value even if they are just boolean. These options are taken from cluster.conf so they have to be XML-like.
(cherry picked from commit ec62ff54c098e4942db8d74a33fddf5a18a2a03d)
commit 7a3e7b32f17570de9f3f86ecbcda1af6971f232d
Author: Fabio M. Di Nitto <[email protected]> Date: Fri Apr 25 15:28:18 2008 +0200
[FENCE] Enable new fence agents by default
agents/Makefile:
- enable lib target.
agents/apc/fence_apc.py, bladecenter/fence_bladecenter.py, agents/drac/fence_drac5.py, agents/ilo/fence_ilo.py, agents/lib/fencing.py.py, agents/wti/fence_wti.py:
- add version, build and copyright information.
- fix path to fence agents lib.
agents/bladecenter/Makefile, fence/agents/drac/Makefile, agents/ilo/Makefile, agents/wti/Makefile:
- enable new agents.
bin/Makefile:
- install fence_drac5
- install/uninstall fence library
commit 3e174a998a07530f1cbfa05c0954f9c1d2fc85cd
Author: Marek 'marx' Grac <[email protected]> Date: Tue Apr 22 17:52:01 2008 +0200
fence/agents: New fencings agents
There are new fencing agents based on a new library. They need a 'pexpect' package. If it is possible there is support for both telnet and ssh.
In this patch there are agents for: APC, BladeCenter, Drac 5, ILo and WTI.
Fence agents that support ssh in 4.7 are iLO, DRAC5, WTI, APC, and BladeCenter
-----------------------------------------------------------------------
Summary of changes:
fence/agents/Makefile | 6 + fence/agents/apc/fence_apc.py | 999 +++++-------------------- fence/agents/bladecenter/Makefile | 10 +- fence/agents/bladecenter/fence_bladecenter.py | 90 +++ fence/agents/drac/Makefile | 36 +- fence/agents/drac/fence_drac5.py | 79 ++ fence/agents/ilo/Makefile | 8 +- fence/agents/ilo/fence_ilo.py | 102 +++ fence/agents/lib/Makefile | 50 ++ fence/agents/lib/fencing.py.py | 399 ++++++++++ fence/agents/lib/telnet_ssl.py | 72 ++ fence/agents/lpar/Makefile | 38 + fence/agents/lpar/fence_lpar.py | 97 +++ fence/agents/wti/Makefile | 8 +- fence/agents/wti/fence_wti.py | 109 +++ 15 files changed, 1264 insertions(+), 839 deletions(-) mode change 100644 => 100755 fence/agents/apc/fence_apc.py create mode 100755 fence/agents/bladecenter/fence_bladecenter.py create mode 100755 fence/agents/drac/fence_drac5.py create mode 100755 fence/agents/ilo/fence_ilo.py create mode 100644 fence/agents/lib/Makefile create mode 100644 fence/agents/lib/fencing.py.py create mode 100755 fence/agents/lib/telnet_ssl.py create mode 100644 fence/agents/lpar/Makefile create mode 100755 fence/agents/lpar/fence_lpar.py create mode 100755 fence/agents/wti/fence_wti.py
fence/agents/Makefile +6 -0
@@ -15,6 +15,7 @@ include ${top_srcdir}/make/defines.mk all: + ${MAKE} -C lib all ${MAKE} -C apc all ${MAKE} -C apc_snmp all ${MAKE} -C bladecenter all
@@ -26,6 +27,7 @@ all: # ${MAKE} -C ibmblade all ${MAKE} -C ilo all ${MAKE} -C ipmilan all + ${MAKE} -C lpar all ${MAKE} -C manual all ${MAKE} -C mcdata all # ${MAKE} -C rackswitch all
@@ -41,6 +43,7 @@ all: # ${MAKE} -C zvm all install: all + ${MAKE} -C lib install ${MAKE} -C apc install ${MAKE} -C apc_snmp install ${MAKE} -C bladecenter install
@@ -52,6 +55,7 @@ install: all # ${MAKE} -C ibmblade install ${MAKE} -C ilo install ${MAKE} -C ipmilan install + ${MAKE} -C lpar install ${MAKE} -C manual install ${MAKE} -C mcdata install # ${MAKE} -C rackswitch install
@@ -67,6 +71,7 @@ install: all # ${MAKE} -C zvm install clean: + ${MAKE} -C lib clean ${MAKE} -C apc clean ${MAKE} -C apc_snmp clean ${MAKE} -C bladecenter clean
@@ -78,6 +83,7 @@ clean: # ${MAKE} -C ibmblade clean ${MAKE} -C ilo clean ${MAKE} -C ipmilan clean + ${MAKE} -C lpar clean ${MAKE} -C manual clean ${MAKE} -C mcdata clean # ${MAKE} -C rackswitch clean
fence/agents/apc/fence_apc.py +185 -814
1,014 lines not on this page · raw message
fence/agents/bladecenter/Makefile +5 -5
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_bladecenter.pl +SOURCE= fence_bladecenter.py TARGET= fence_bladecenter top_srcdir=../..
@@ -19,12 +19,12 @@ include ${top_srcdir}/make/defines.mk all: $(TARGET) -fence_bladecenter: fence_bladecenter.pl +fence_bladecenter: fence_bladecenter.py : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) - echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) - echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) + echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET) + echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) chmod +x $(TARGET)
fence/agents/bladecenter/fence_bladecenter.py new file +90 -0
90 lines not on this page · raw message
fence/agents/drac/Makefile +24 -12
@@ -11,28 +11,40 @@ ############################################################################### ############################################################################### -SOURCE= fence_drac.pl -TARGET= fence_drac +SOURCE1= fence_drac.pl +TARGET1= fence_drac + +SOURCE2= fence_drac5.py +TARGET2= fence_drac5 top_srcdir=../.. include ${top_srcdir}/make/defines.mk -all: $(TARGET) +all: $(TARGET1) $(TARGET2) fence_drac: fence_drac.pl - : > $(TARGET) - awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) - echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) - echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) - awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) - chmod +x $(TARGET) + : > $(TARGET1) + awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE1) >> $(TARGET1) + echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET1) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET1) + echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET1) + awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE1) >> $(TARGET1) + chmod +x $(TARGET1) + +fence_drac5: fence_drac5.py + : > $(TARGET2) + awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE2) >> $(TARGET2) + echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET2) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET2) + echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET2) + awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE2) >> $(TARGET2) + chmod +x $(TARGET2) install: all if [ ! -d ${sbindir} ]; then \ install -d ${sbindir}; \ fi - install -m755 ${TARGET} ${sbindir} + install -m755 ${TARGET1} ${TARGET2} ${sbindir} clean: - rm -f $(TARGET) + rm -f $(TARGET1) $(TARGET2)
fence/agents/drac/fence_drac5.py new file +79 -0
79 lines not on this page · raw message
fence/agents/ilo/Makefile +4 -4
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_ilo.pl +SOURCE= fence_ilo.py TARGET= fence_ilo top_srcdir=../..
@@ -22,9 +22,9 @@ all: $(TARGET) fence_ilo: $(SOURCE) : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) - echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) - echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) + echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET) + echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) chmod +x $(TARGET)
fence/agents/ilo/fence_ilo.py new file +102 -0
102 lines not on this page · raw message
fence/agents/lib/Makefile new file +50 -0
50 lines not on this page · raw message
fence/agents/lib/fencing.py.py new file +399 -0
399 lines not on this page · raw message
fence/agents/lib/telnet_ssl.py new file +72 -0
72 lines not on this page · raw message
fence/agents/lpar/Makefile new file +38 -0
@@ -0,0 +1,38 @@ +############################################################################### +############################################################################### +## +## Copyright (C) Sistina Software, Inc. 1997-2003 All rights reserved. +## Copyright (C) 2004 Red Hat, Inc. All rights reserved. +## +## This copyrighted material is made available to anyone wishing to use, +## modify, copy, or redistribute it subject to the terms and conditions +## of the GNU General Public License v.2. +## +############################################################################### +############################################################################### + +SOURCE= fence_lpar.py +TARGET= fence_lpar + +top_srcdir=../.. +include ${top_srcdir}/make/defines.mk + +all: $(TARGET) + +fence_lpar: fence_lpar.py + : > $(TARGET) + awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) + echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET) + echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET) + awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) + chmod +x $(TARGET) + +install: all + if [ ! -d ${sbindir} ]; then \ + install -d ${sbindir}; \ + fi + install -m755 ${TARGET} ${sbindir} + +clean: + rm -f $(TARGET)
fence/agents/lpar/fence_lpar.py new file +97 -0
97 lines not on this page · raw message
fence/agents/wti/Makefile +4 -4
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_wti.pl +SOURCE= fence_wti.py TARGET= fence_wti top_srcdir=../..
@@ -22,9 +22,9 @@ all: $(TARGET) $(TARGET): $(SOURCE) : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) - echo "\$$FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) - ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf perl REDHAT_COPYRIGHT >> $(TARGET) - echo "\$$BUILD_DATE=\"(built `date`)\";" >> $(TARGET) + echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET) + ${top_srcdir}/scripts/define2var ${top_srcdir}/config/copyright.cf sh REDHAT_COPYRIGHT >> $(TARGET) + echo "BUILD_DATE=\"(built `date`)\";" >> $(TARGET) awk -v p=0 "(\$$1 ~ /#END_VERSION_GENERATION/){p = 1} {if(p==1)print}" $(SOURCE) >> $(TARGET) chmod +x $(TARGET)
fence/agents/wti/fence_wti.py new file +109 -0
109 lines not on this page · raw message
hooks/post-receive
--
Cluster Project