Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Linux-HA: Pacemaker

Errors after upgrading heartbeat

 

 

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded


andrewmorone at yahoo

Aug 9, 2012, 12:33 PM

Post #1 of 2 (162 views)
Permalink
Errors after upgrading heartbeat

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?


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>


andrew at beekhof

Aug 9, 2012, 7:14 PM

Post #2 of 2 (144 views)
Permalink
Re: Errors after upgrading heartbeat [In reply to]

On Fri, Aug 10, 2012 at 5:33 AM, Drew Morone <andrewmorone [at] yahoo> 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
> 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
>

_______________________________________________
Pacemaker mailing list: Pacemaker [at] oss
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

Linux-HA pacemaker RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.