Cluster Project branch, RHEL5, updated. cmirror_1_1_15-85-g1e8f244
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 1e8f2448af70eb5907b27a9a5f033f0dacc4afc0 (commit)
via f1b37c77e11af87ef396ab3b68390c9e25f57b71 (commit)
via 2c357fe9540c154ac886ee281abb4595f172cda7 (commit)
via d26c1409358971a354900433c6a2e56fbfc5a376 (commit)
via e865a8f5b1c34afe898055e58072dc8d5da59d70 (commit)
via 30231223783b5a375f25ab170c03481f127d6efc (commit)
via acf6c1dd6ff2596493f5ffe17753dfc3511a51fe (commit)
via 8f4426c321d291911b24b506acd6df61b5482020 (commit)
from a228955f193c0aeb2b845871d82c8275634c1b40 (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 1e8f2448af70eb5907b27a9a5f033f0dacc4afc0
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 f1b37c77e11af87ef396ab3b68390c9e25f57b71
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 2c357fe9540c154ac886ee281abb4595f172cda7
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 d26c1409358971a354900433c6a2e56fbfc5a376
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 e865a8f5b1c34afe898055e58072dc8d5da59d70
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 30231223783b5a375f25ab170c03481f127d6efc
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 acf6c1dd6ff2596493f5ffe17753dfc3511a51fe
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 8f4426c321d291911b24b506acd6df61b5482020
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 | 3 +
fence/agents/apc/fence_apc.py | 951 ++++---------------------
fence/agents/bladecenter/Makefile | 6 +-
fence/agents/bladecenter/fence_bladecenter.py | 90 +++
fence/agents/drac/Makefile | 36 +-
fence/agents/drac/fence_drac5.py | 79 ++
fence/agents/ilo/Makefile | 4 +-
fence/agents/ilo/fence_ilo.py | 77 ++
fence/agents/{apc => lib}/Makefile | 13 +-
fence/agents/lib/fencing.py.py | 347 +++++++++
fence/agents/wti/Makefile | 4 +-
fence/agents/wti/fence_wti.py | 109 +++
12 files changed, 880 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
copy fence/agents/{apc => lib}/Makefile (85%)
create mode 100644 fence/agents/lib/fencing.py.py
create mode 100755 fence/agents/wti/fence_wti.pyfence/agents/Makefile +3 -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
@@ -41,6 +42,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
@@ -67,6 +69,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
fence/agents/apc/fence_apc.py +137 -814
966 lines not on this page · raw message
fence/agents/bladecenter/Makefile +3 -3
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_bladecenter.pl +SOURCE= fence_bladecenter.py TARGET= fence_bladecenter top_srcdir=../..
@@ -19,11 +19,11 @@ 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) + ${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 perl 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 +2 -2
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_ilo.pl +SOURCE= fence_ilo.py TARGET= fence_ilo top_srcdir=../..
@@ -23,7 +23,7 @@ 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) + ${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 +77 -0
77 lines not on this page · raw message
fence/agents/lib/Makefile renamed from fence/agents/apc/Makefile +7 -6
@@ -11,15 +11,15 @@ ############################################################################### ############################################################################### -SOURCE= fence_apc.py -TARGET= fence_apc +SOURCE= fencing.py.py +TARGET= fencing.py top_srcdir=../.. include ${top_srcdir}/make/defines.mk all: $(TARGET) -fence_apc: fence_apc.py +$(TARGET): $(SOURCE) : > $(TARGET) awk "{print}(\$$1 ~ /#BEGIN_VERSION_GENERATION/){exit 0}" $(SOURCE) >> $(TARGET) echo "FENCE_RELEASE_NAME=\"${RELEASE}\";" >> $(TARGET)
@@ -28,11 +28,12 @@ fence_apc: fence_apc.py 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}; \ + if [ ! -d ${DESTDIR}/usr/lib/fence ]; then \ + install -d ${DESTDIR}/usr/lib/fence; \ fi - install -m755 ${TARGET} ${sbindir} + install -m755 ${TARGET} ${DESTDIR}/usr/lib/fence clean: rm -f $(TARGET)
fence/agents/lib/fencing.py.py new file +347 -0
347 lines not on this page · raw message
fence/agents/wti/Makefile +2 -2
@@ -11,7 +11,7 @@ ############################################################################### ############################################################################### -SOURCE= fence_wti.pl +SOURCE= fence_wti.py TARGET= fence_wti top_srcdir=../..
@@ -23,7 +23,7 @@ $(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) + ${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