On Sat, Dec 5, 2009 at 11:48 AM, Alexander Födisch <[email protected]> wrote:
> Hi,
>
> we have a very strange problem. On a cluster of three nodes we can start one 
> of the resources only on one node, but on
> the other both nodes the start always fails:
>
>
> Dec 05 09:40:14 <nodeNumber1> lrmd: [4097]: WARN: on_msg_get_metadata: empty 
> metadata for ocf::heartbeat::samba-ha.
> Dec 05 09:40:14 <nodeNumber1> crmd: [4100]: ERROR: 
> lrm_get_rsc_type_metadata(575): got a return code HA_FAIL from a
> reply message of rmetadata with function get_ret_from_msg.
> Dec 05 09:40:14 <nodeNumber1> crmd: [4100]: WARN: get_rsc_metadata: No 
> metadata found for samba-ha::ocf:heartbeat
>
>
> crm_verify -LV -x /var/lib/heartbeat/crm/cib.xml
> crm_verify[20967]: 2009/12/05_11:37:10 WARN: unpack_rsc_op: Processing failed 
> op samba-ha_videofs_monitor_20000 on
> <nodeNumber2>: unknown error
> crm_verify[20967]: 2009/12/05_11:37:10 WARN: unpack_rsc_op: Processing failed 
> op samba-ha_videofs_monitor_20000 on
> <nodeNumber1>: unknown error
>
>
>
> cib.xml snip for this resource:
> [...]
>        <primitive class="ocf" provider="heartbeat" type="samba-ha" 
> id="samba-ha_videofs">
>            <operations>
>              <op id="samba-ha_videofs_start" name="start" timeout="60s"/>
>              <op timeout="60s" id="samba-ha_videofs_stop" name="stop"/>
>              <op id="samba-ha_videofs_mon" interval="20s" name="monitor" 
> timeout="10s"/>
>            </operations>
>            <instance_attributes id="samba-ha_videofs_inst_attr">
>              <attributes>
>                <nvpair value="videofs" id="samba-ha_videofs_attr_1" 
> name="SAMBAHOST"/>
>              </attributes>
>            </instance_attributes>
>          </primitive>
> [...]
>
>
>
> What metadata is heartbeat looking for and why it is working on one node?

http://www.opencf.org/cgi-bin/viewcvs.cgi/specs/ra/ra-metadata-example.xml?rev=1.4&content-type=text/vnd.viewcvs-markup

Sounds like your agent isnt OCF compliant.  Try running it through ocf-tester.
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to