[Pacemaker] Errors after upgrading heartbeat

Andrew Beekhof andrew at beekhof.net
Thu Aug 9 22:14:22 EDT 2012


On Fri, Aug 10, 2012 at 5:33 AM, Drew Morone <andrewmorone at yahoo.com> wrote:
> Hi,
> I'm having trouble after upgrading from Heartbeat 2.1.4 to
> Heartbeat/Pacemaker 3.03, using this page from linux-ha.org as a guide:
> http://www.linux-ha.org/doc/users-guide/_upgrading_from_crm_enabled_heartbeat_2_1_clusters.html
> Including the schema upgrade (# cibadmin --upgrade --force)
>
> Although everything seems to be working properly, I'm concerned about a few
> errors I'm getting when I run crm configure verify. In particular:
> ERROR: DRBD_data: parameter target_role does not exist
> Someone mentioned that it might be that it's supposed to be 'target-role' as
> opposed to 'target_role' in the new version, but I've tried replacing the
> string and I get the same thing. Any ideas?

Just remove it completely.  You don't need it.

>
> Here's the XML for DRBD_data from the schema before upgrade:
>                 <primitive id="DRBD_data" class="heartbeat" type="drbddisk"
> provider="heartbeat">
>                         <instance_attributes id="DRBD_data_instance_attrs">
>                                 <attributes>
>                                         <nvpair id="DRBD_data_target_role"
> name="target_role" value="started"/>
>                                         <nvpair name="1" value="drbd0"/>
>                                 </attributes>
>                         </instance_attributes>
>                 </primitive>
>
> And after after:
>  <primitive class="heartbeat" id="DRBD_data" type="drbddisk">
>           <meta_attributes id="primitive-DRBD_data.meta">
>             <nvpair id="nvpair.meta.auto-21" name="target-role"
> value="started"/>
>           </meta_attributes>
>           <instance_attributes id="instance_attributes.id258649">
>             <nvpair id="nvpair.id258654" name="target_role"
> value="started"/>
>             <nvpair id="nvpair.id259283" name="1" value="drbd0"/>
>           </instance_attributes>
>         </primitive>
>
>
> _______________________________________________
> 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://bugs.clusterlabs.org
>




More information about the Pacemaker mailing list