[Pacemaker] About "record-pending"

Andrew Beekhof beekhof at gmail.com
Thu Oct 23 15:13:07 UTC 2008


On Oct 23, 2008, at 5:02 PM, Yan Gao wrote:

> 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,
> ?

right

>
> I tried it, and still cannot be found.

ok, i'll look into it properly later tonight




More information about the Pacemaker mailing list