[Cluster-devel] [PATCH] resource-agents: Find any descendant IP resource of a service
Michael Bunk
bunk at iat.uni-leipzig.de
Wed Sep 28 11:19:51 UTC 2011
Not just immediate children. This fixes errors in sylog like this:
rgmanager[xxxx]: Looking For IP Addresses [apache:apache] > Failed - No IP Addresses Found
---
rgmanager/src/resources/utils/config-utils.sh.in | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/rgmanager/src/resources/utils/config-utils.sh.in b/rgmanager/src/resources/utils/config-utils.sh.in
index 299537a..7786eb3 100644
--- a/rgmanager/src/resources/utils/config-utils.sh.in
+++ b/rgmanager/src/resources/utils/config-utils.sh.in
@@ -135,7 +135,7 @@ get_service_ip_keys()
#
x=1
while : ; do
- key="/cluster/rm/service[@name=\"$svc\"]/ip[$x]"
+ key="/cluster/rm/service[@name=\"$svc\"]//ip[$x]"
#
# Try direct method
--
1.7.5.1
More information about the Cluster-devel
mailing list