All of lore.kernel.org
 help / color / mirror / Atom feed
* [Cluster-devel] [PATCH] resource-agents: Find any descendant IP resource of a service
@ 2011-09-28 11:19 Michael Bunk
  2011-09-28 20:35 ` Lon Hohberger
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Bunk @ 2011-09-28 11:19 UTC (permalink / raw)
  To: cluster-devel.redhat.com

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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-09-30  9:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-09-28 11:19 [Cluster-devel] [PATCH] resource-agents: Find any descendant IP resource of a service Michael Bunk
2011-09-28 20:35 ` Lon Hohberger
2011-09-30  9:01   ` Michael Bunk

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.