[Pacemaker] Call cib_modify failed (-22): The object/attribute does not exist
Andrew Beekhof
andrew at beekhof.net
Mon Sep 26 01:21:23 UTC 2011
On Sun, Sep 25, 2011 at 1:16 AM, Brian J. Murrell <brian at interlinx.bc.ca> wrote:
> Using pacemaker-1.0.10-1.4.el5 I am trying to add the "R_10.10.10.101"
> IPaddr2 example resource:
>
> <primitive id="R_10.10.10.101" class="ocf" type="IPaddr2"
> provider="heartbeat">
> <instance_attributes id="RA_R_10.10.10.101">
> <attributes>
> <nvpair id="R_ip_P_ip" name="ip" value="10.10.10.101"/>
> <nvpair id="R_ip_P_nic" name="nic" value="eth0"/>
> </attributes>
> </instance_attributes>
> </primitive>
>
> from the cibadmin manpage under EXAMPLES and getting:
>
> # cibadmin -o resources -U -x test.xml
> Call cib_modify failed (-22): The object/attribute does not exist
> <null>
>
> Any ideas why?
As the error says, the resource R_10.10.10.101 doesn't exist yet.
Put it in a <resources> tag or use -C instead of -U
> Thanx,
> b.
>
>
> _______________________________________________
> Pacemaker mailing list: Pacemaker at oss.clusterlabs.org
> http://oss.clusterlabs.org/mailman/listinfo/pacemaker
>
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
> Bugs: http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker
>
>
More information about the Pacemaker
mailing list