[Pacemaker] [patch] PE: Medium: Fix fatal assert when using cloned groups

Simon Horman horms at verge.net.au
Thu Aug 14 21:00:35 EDT 2008


Is the following patch from hg.linux-ha.org/lha-2.1 also needed in pacemaker?
I mangled the path but nothing else.

# HG changeset patch
# User Lars Marowsky-Bree <lmb at suse.de>
# Date 1218729157 -7200
# Node ID 0e8d4fc8ccd131a75dc0859cce94e595fc225c00
# Parent  c3c1c863e5c4a59cfc19537c1050fd96fc72a917
PE: Medium: Fix fatal assert when using cloned groups.

diff -r c3c1c863e5c4 -r 0e8d4fc8ccd1 lib/crm/pengine/unpack.c
--- a/lib/crm/pengine/unpack.c	Thu Aug 14 17:22:25 2008 +0200
+++ b/lib/crm/pengine/unpack.c	Thu Aug 14 17:52:37 2008 +0200
@@ -668,7 +668,7 @@
 			 */
 		} else {
 			crm_debug_3("find another one");
-			clone_parent = rsc->parent;
+			clone_parent = uber_parent(rsc);
 			rsc = NULL;
 			is_duped_clone = TRUE;
 			alt_rsc_id = increment_clone(alt_rsc_id);




More information about the Pacemaker mailing list