[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Cluster-devel] [PATCH] resource-agents: Find any descendant IP resource of a service



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]