[Pacemaker] error: ocf:heartbeat:IPv6addr: could not parse meta-data

Dejan Muhamedagic dejanmm at fastmail.fm
Tue Aug 24 11:55:57 EDT 2010


On Tue, Aug 24, 2010 at 05:52:28PM +0200, Dejan Muhamedagic wrote:
HI,

> Hi,
> 
> On Tue, Aug 24, 2010 at 02:55:09PM +0000, Angelo Höngens wrote:
> > A reply to myself..
> > 
> > It looks like the underlying script gives an error:
> > 
> > [root at lb1 heartbeat]# /etc/ha.d/resource.d/IPv6addr 2001::1 status
> > IPv6addr[17013]: ERROR: /usr/lib/ocf/resource.d//heartbeat/IPv6addr is not an executable file
> > ERROR: /usr/lib/ocf/resource.d//heartbeat/IPv6addr is not an executable file
> > 
> > And I now see the underlying executeable /usr/lib/ocf/resource.d/heartbeat/IPv6addr does not exist! It seems to be missing from the RPM so it seems. 
> >  
> > I downloaded the heartbeat agents source (agents-1.0.3.tar.bz2), and if I run 'make' it does not seem to compile the IPv6addr program. There's a IPv6addr.c though, but no idea how that works.. 
> > 
> > Any idea on how to proceed?
> 
> The most probable issue is that you're missing libnet. Now, that
> dependency has recently been removed, so if you're brave enough
> you can try the tip of the repository (i.e. unreleased software).
> Or install libnet.

BTW, any reason not to go with the prebuilt rpms from
clusterlabs.org?

Thanks,

Dejan

> > Am I posting to the correct list, or should I post to some
> > heartbeat mailing list?
> 
> The right list is linux-ha, but we got used to listening to
> multiple lists.
> 
> Thanks,
> 
> Dejan
> 
> > 
> > -- 
> > 
> >  
> > With kind regards,
> >  
> >  
> > Angelo Höngens
> >  
> > Systems Administrator
> >  
> > ------------------------------------------
> > NetMatch
> > tourism internet software solutions
> >  
> > Ringbaan Oost 2b
> > 5013 CA Tilburg
> > T: +31 (0)13 5811088
> > F: +31 (0)13 5821239
> >  
> > mailto:A.Hongens at netmatch.nl
> > http://www.netmatch.nl
> > ------------------------------------------
> > 
> > 
> > > -----Original Message-----
> > > From: Angelo Höngens
> > > Sent: dinsdag 24 augustus 2010 14:55
> > > To: 'pacemaker at oss.clusterlabs.org'
> > > Subject: error: ocf:heartbeat:IPv6addr: could not parse meta-data
> > > 
> > > Hey guys and girls,
> > > 
> > > I'm new to pacemaker/heartbeat/corosync/openais. I've been using
> > > FreeBSD+Carp for high availability of simple web/proxy servers for a
> > > few years now, but we want to standardize all our *nix machines to
> > > CentOS now. In my quest for an easy-to-use and robust HA suite, I am
> > > now evaluating pacemaker. From what I've seen so far, pacemaker looks
> > > very nice.
> > > 
> > > I set up a test lab with two ESX vm's with CentOS 5.5, and followed the
> > > instructions here:
> > > http://www.clusterlabs.org/wiki/Install#Installing_on_EPEL_Compatible_D
> > > istributions:_RHEL.2C_CentOS.2C_etc
> > > Because of using yum as a package manager, I can easily query and
> > > upgrade packages.
> > > 
> > > I can get everything I want to work fine for ipv4 addresses. However, I
> > > have a problem with ipv6 addresses (we use ipv6 extensively, and it is
> > > a hard requirement). It looks like the IPv6addr resource agent is
> > > broken.
> > > 
> > > I can get information on other resource agents fine:
> > > 
> > > [root at lb1 ~]# crm configure ra info IPaddr2
> > > Manages virtual IPv4 addresses (Linux specific version)
> > > (ocf:heartbeat:IPaddr2)
> > > 
> > > This Linux-specific resource manages IP alias IP addresses.
> > > It can add an IP alias, or remove one.
> > > ..
> > > 
> > > However, if I try the same for the IPv6addr ra:
> > > 
> > > [root at lb1 ~]# crm configure ra info IPv6addr
> > > lrmadmin[29030]: 2010/08/24_14:51:14 ERROR:
> > > lrm_get_rsc_type_metadata(578): got a return code HA_FAIL from a reply
> > > message of rmetadata with function get_ret_from_msg.
> > > ERROR: ocf:heartbeat:IPv6addr: could not parse meta-data:
> > > 
> > > 
> > > Is this a known issue? Does anyone else use this ra?
> > > 
> > > --
> > > 
> > > 
> > > With kind regards,
> > > 
> > > 
> > > Angelo Höngens
> > > 
> > > Systems Administrator
> > > 
> > > ------------------------------------------
> > > NetMatch
> > > tourism internet software solutions
> > > 
> > > Ringbaan Oost 2b
> > > 5013 CA Tilburg
> > > T: +31 (0)13 5811088
> > > F: +31 (0)13 5821239
> > > 
> > > mailto:A.Hongens at netmatch.nl
> > > http://www.netmatch.nl
> > > ------------------------------------------
> > > 
> > 
> > 
> > _______________________________________________
> > 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
> 
> _______________________________________________
> 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