[Debian-ha-maintainers] Bug#815823: pacemaker: fake ERROR regarding RA metadata?

Arturo Borrero Gonzalez arturo.borrero.glez at gmail.com
Wed Feb 24 18:27:37 UTC 2016


Package: pacemaker
Version: 1.1.14-1
Severity: normal

Hi,

while playing with pacemaker/corosync I found this. Perhaps it is a fake ERROR?

[assume a 2 nodes working cluster with no resources]

% sudo crm configure primitive test ocf:heartbeat:IPv6addr params
ipv6addr="fe00::1:200" cidr_netmask="64" nic="eth0"
ERROR: pengine:metadata: got no meta-data, does this RA exist?

However:

% sudo crm status
[...]
Online: [ node01 node02 ]

Full list of resources:

 test (ocf::heartbeat:IPv6addr): Started node01

Also:

% sudo crm_resource --show-metadata=ocf:heartbeat:IPv6addr
<?xml version="1.0"?>
<!DOCTYPE resource-agent SYSTEM "ra-api-1.dtd">
<resource-agent name="IPv6addr">
  <version>1.0</version>
  <longdesc lang="en">
   This script manages IPv6 alias IPv6 addresses,It can add an IP6
   alias, or remove one.
  </longdesc>
  <shortdesc lang="en">Manages IPv6 aliases</shortdesc>
  <parameters>
    <parameter name="ipv6addr" unique="0" required="1">
      <longdesc lang="en">
The IPv6 address this RA will manage
      </longdesc>
      <shortdesc lang="en">IPv6 address</shortdesc>
      <content type="string" default="" />
    </parameter>
    <parameter name="cidr_netmask" unique="0">
      <longdesc lang="en">
The netmask for the interface in CIDR format. (ie, 24).
The value of this parameter overwrites the value of _prefix_
of ipv6addr parameter.
      </longdesc>
      <shortdesc lang="en">Netmask</shortdesc>
      <content type="string" default="" />
    </parameter>
    <parameter name="nic" unique="0">
      <longdesc lang="en">
The base network interface on which the IPv6 address will
be brought online.
      </longdesc>
      <shortdesc lang="en">Network interface</shortdesc>
      <content type="string" default="" />
    </parameter>
  </parameters>
  <actions>
    <action name="start"   timeout="15" />
    <action name="stop"    timeout="15" />
    <action name="status"  timeout="15" interval="15" />
    <action name="monitor" timeout="15" interval="15" />
    <action name="validate-all"  timeout="5" />
    <action name="meta-data"  timeout="5" />
  </actions>
</resource-agent>


The resource-agents package is installed.

Thanks for your work with the HA stack. Best regards.

-- 
Arturo Borrero González



More information about the Debian-ha-maintainers mailing list