cluster: RHEL57 - fence_vmware_soap: Fix RHEL5-specific path issue

Lon Hohberger lon at fedoraproject.org
Tue Jun 28 18:17:11 UTC 2011


Gitweb:        http://git.fedorahosted.org/git/cluster.git?p=cluster.git;a=commitdiff;h=1f2194c131c4dc6a12c61e7e69b79e27309aa5d1
Commit:        1f2194c131c4dc6a12c61e7e69b79e27309aa5d1
Parent:        c8c6238a72125e1dbc62186fb246f8a0d5dc0a66
Author:        Toure Dunnon <tdunnon at redhat.com>
AuthorDate:    Tue Jun 28 13:48:42 2011 -0400
Committer:     Lon Hohberger <lhh at redhat.com>
CommitterDate: Tue Jun 28 14:07:07 2011 -0400

fence_vmware_soap: Fix RHEL5-specific path issue

The other paths in the agents in the RHEL5 branch have
/usr/lib/fence hardcoded; the cluster software's build
environment in RHEL5 does not substitute
@FENCEAGENTSLIBDIR@ like it does on later releases of
Fedora and RHEL.  Consequently, this patch is necessary
to avoid an error from the agent due to being unable to
locate the fencing.py module.

Resolves: rhbz#717372

Signed-off-by: Lon Hohberger <lhh at redhat.com>
Tested-by: Toure Dunnon <tdunnon at redhat.com>
---
 fence/agents/vmware_soap/fence_vmware_soap.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/fence/agents/vmware_soap/fence_vmware_soap.py b/fence/agents/vmware_soap/fence_vmware_soap.py
index 2718560..8008144 100644
--- a/fence/agents/vmware_soap/fence_vmware_soap.py
+++ b/fence/agents/vmware_soap/fence_vmware_soap.py
@@ -1,7 +1,7 @@
 #!/usr/bin/python
 
 import sys, re, pexpect, exceptions
-sys.path.append("@FENCEAGENTSLIBDIR@")
+sys.path.append("/usr/lib/fence")
 
 from suds.client import Client
 from suds import WebFault


More information about the cluster-commits mailing list