[Pacemaker] About "record-pending"

Yan Gao ygao at novell.com
Thu Oct 23 11:02:37 EDT 2008


On Thu, 2008-10-23 at 14:23 +0200, Andrew Beekhof wrote:
> >
> > It seems that the set cannot be found in the hash table.
> >
> > te_actions.c:461
> > value = g_hash_table_lookup(action->params,
> > crm_meta_name(XML_OP_ATTR_PENDING));
> >
> > Did I make any mistake? Really strange...
> 
> Hmm....
> 
> Can you try the following patch and see if it helps pls?
> 
> diff -r 59a110c159f3 pengine/graph.c
> --- a/pengine/graph.c	Thu Oct 16 16:17:21 2008 +0200
> +++ b/pengine/graph.c	Thu Oct 23 14:22:47 2008 +0200
> @@ -486,6 +486,7 @@ action2xml(action_t *action, gboolean as
>   			XML_RSC_ATTR_INCARNATION_NODEMAX,
>   			XML_RSC_ATTR_MASTER_MAX,
>   			XML_RSC_ATTR_MASTER_NODEMAX,
> +			XML_RSC_ATTR_PENDING,
>   		};
>   		
>   		for(lpc = 0; lpc < DIMOF(meta_list); lpc++) {

You meant
+			XML_OP_ATTR_PENDING,
?
I tried it, and still cannot be found.

-- 
Yan Gao
China R&D Software Engineer
ygao at novell.com

Novell, Inc.
SUSE® Linux Enterprise 10
Your Linux is ready
http://www.novell.com/linux





More information about the Pacemaker mailing list