[Pacemaker] [Linux-HA] crm_master triggering assert section != NULL

Florian Haas florian at hastexo.com
Tue Oct 11 18:49:14 UTC 2011


Hi Yves,

this is really a question for the Pacemaker list, so I'm cross-posting
there. Please follow up on that list.

On 2011-10-11 18:33, Yves Trudeau wrote:
> Hi,
>     I started to have issues with crm_master with Pacemaker 1.0.11.  I 
> think I traced it down to the following problem.  I know crm_master is 
> supposed to be called within the resource script, calling manually helps 
> to illustrate the problem.
> 
> root at testvirtbox1:~# /usr/sbin/crm_master -l reboot -v 1000 -r 
> p_MySQL_replication:0
> root at testvirtbox1:~# /usr/local/sbin/crm_master -r 
> 'p_MySQL_Replication:0' -G
>    name=master-p_MySQL_Replication:0 value=(null)
> Error performing operation: cib object missing

Er, why do you evidently have two versions of crm_master installed in
two different paths?

> and in daemon.log:
> 
> Oct 11 12:17:41 testvirtbox1 crm_attribute: [21986]: info: Invoked: 
> crm_attribute -N testvirtbox1 -n master-p_MySQL_Replication:0 -G
> Oct 11 12:17:41 testvirtbox1 crm_attribute: [21986]: ERROR: crm_abort: 
> read_attr: Triggered assert at cib_attrs.c:297 : section != NULL
> 
> 
> while in cid I found this part:
> 
> <transient_attributes id="testvirtbox1">
> <instance_attributes id="status-testvirtbox1">
> <nvpair id="status-testvirtbox1-probe_complete" name="probe_complete" 
> value="true"/>
> <nvpair id="status-testvirtbox1-master-p_MySQL_replication:0" 
> name="master-p_MySQL_replication:0" value="1000"/>
> </instance_attributes>
> </transient_attributes>
> 
> Is this a problem with my CIB or a bug in crm_attribute?  Until 
> recently,  I pretty sure this was working correctly, I don't know what 
> triggered the problem.   crm_verify -L -V returns nothing.

Odd, but the CIB snippet is incomplete and inconclusive. A full
"cibadmin -Q" dump, uploaded to pastebin, would be helpful.

Will you be at Percona Live in London later this month?

Cheers,
Florian

-- 
Need help with High Availability?
http://www.hastexo.com/now




More information about the Pacemaker mailing list