[Pacemaker] Pacemaker 0.7.3: can't create resources

Bruno Voigt Bruno.Voigt at ic3s.de
Wed Sep 24 06:09:46 EDT 2008

I've just installed pacemaker unstable from
replacing a previous configuration of debian heartbeat.

The CIB contains only the node configuration.

If I try to add a resource definition I get the following error
and was not able yet to figure out, why it is rejected.

root# cibadmin -V -C -o resources -x ./test-resource.xml
cibadmin[25909]: 2008/09/24_12:06:40 info: main: Starting mainloop
cibadmin[25909]: 2008/09/24_12:06:41 WARN: cibadmin_op_callback: Call
cib_create failed (-47): Update does not conform to the configured
Call cib_create failed (-47): Update does not conform to the configured

test-resource.xml contains:

 <primitive id="hbtest1a" class="ocf" type="Xen" provider="heartbeat">
   <op id="hbtest1a-op01" name="start" timeout="60s" start_delay="0"/>
   <op id="hbtest1a-op02" name="stop" timeout="300s"/>
   <op id="hbtest1a-op03" name="monitor" interval="30s" timeout="60s"
start_delay="300s" prereq="nothing"/>

 <instance_attributes id="hbtest1a">
   <nvpair id="hbtest1a-attr01" name="xmfile"

 <meta_attributes id="hbtest1a-meta01">
   <nvpair id="hbtest1a-meta-attr01" name="is_managed" value="true"/>
   <nvpair id="hbtest1a-meta-attr02" name="allow_migrate" value="true"/>
   <nvpair id="hbtest1a-meta-attr03" name="target_role" value="stopped"/>


How must a similar resource definition look like for pacemaker?

TIA for any hints,
bruno.voigt at ic3s.de

More information about the Pacemaker mailing list