<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
<META NAME="GENERATOR" CONTENT="GtkHTML/3.30.2">
</HEAD>
<BODY>
Hi all<BR>
<BR>
I have seen the following behaviour on a few occasions in the past few months. It seems as if the resource script get called, but without the correct OCF_RESOURCE parameters.<BR>
<BR>
Here is an example:<BR>
<BR>
--------<BR>
<primitive class="ocf" id="mount_data" provider="heartbeat" type="Filesystem"><BR>
<operations><BR>
<op id="mount_data-monitor-5s" interval="5s" name="monitor"/><BR>
</operations><BR>
<instance_attributes id="mount_data-instance_attributes"><BR>
<nvpair id="mount_data-instance_attributes-device" name="device" value="/dev/vg0/data"/><BR>
<nvpair id="mount_data-instance_attributes-directory" name="directory" value="/srv/mysql/data"/><BR>
<nvpair id="mount_data-instance_attributes-fstype" name="fstype" value="ext3"/><BR>
</instance_attributes><BR>
</primitive><BR>
-------------<BR>
<BR>
<BR>
Here is a small excerpt from my logs when a failure like this occurs:<BR>
<BR>
Aug 13 10:58:08 chris-test-01 crmd: [2283]: info: do_lrm_rsc_op: Performing key=88:35:0:dae24e24-abcd-4a4a-a4a0-39a9ecc114aa op=mount_data_stop_0 )<BR>
Aug 13 10:58:08 chris-test-01 lrmd: [2280]: info: rsc:mount_data:98: stop<BR>
Aug 13 10:58:08 chris-test-01 Filesystem[24682]: [24688]: ERROR: Please set OCF_RESKEY_device to the device to be managed<BR>
Aug 13 10:58:08 chris-test-01 crmd: [2283]: info: process_lrm_event: LRM operation mount_data_stop_0 (call=98, rc=2, cib-update=120, confirmed=true) invalid parameter<BR>
Aug 13 10:58:09 chris-test-01 attrd: [2282]: info: attrd_trigger_update: Sending flush op to all hosts for: fail-count-mount_data (INFINITY)<BR>
<BR>
<BR>
99% of the time, the resource will stop correctly, it is just on a few occasions that I see an error like this. <BR>
<BR>
Is this a known problem, or can I generate extra logging to try help debug?<BR>
<BR>
Chris<BR>
<BR>
<BR>
<TABLE CELLSPACING="0" CELLPADDING="0" WIDTH="100%">
<TR>
<TD>
-- <BR>
<B><FONT SIZE="2"><FONT COLOR="#000000">C</FONT></FONT></B><FONT COLOR="#000000"><FONT SIZE="2">hris</FONT></FONT><FONT COLOR="#000000"><B><FONT SIZE="2"> P</FONT></B></FONT><FONT COLOR="#000000"><FONT SIZE="2">icton</FONT></FONT><BR>
<BR>
<FONT SIZE="2"><FONT COLOR="#7f7f7f">Executive Manager - Systems</FONT></FONT><BR>
<FONT SIZE="2"><FONT COLOR="#7f7f7f">ECN Telecommunications (Pty) Ltd</FONT></FONT><BR>
<B><FONT SIZE="2"><FONT COLOR="#f79646">t</FONT></FONT></B><B><FONT SIZE="2"><FONT COLOR="#7f7f7f">:</FONT></FONT></B><FONT COLOR="#7f7f7f"><FONT SIZE="2"> 010 590 0031 </FONT></FONT><B><FONT SIZE="2"><FONT COLOR="#f79646">m</FONT></FONT></B><B><FONT SIZE="2"><FONT COLOR="#7f7f7f">: </FONT></FONT></B><FONT COLOR="#7f7f7f"><FONT SIZE="2">079 721 8521</FONT></FONT><BR>
<B><FONT SIZE="2"><FONT COLOR="#f79646">f</FONT></FONT></B><B><FONT SIZE="2"><FONT COLOR="#7f7f7f">:</FONT></FONT></B><FONT COLOR="#7f7f7f"><FONT SIZE="2"> 087 941 0813</FONT></FONT><BR>
<B><FONT SIZE="2"><FONT COLOR="#f79646">e</FONT></FONT></B><B><FONT SIZE="2"><FONT COLOR="#7f7f7f">:</FONT></FONT></B><FONT COLOR="#7f7f7f"><FONT SIZE="2"> </FONT></FONT><B><FONT SIZE="2"><FONT COLOR="#0070c0">chris@ecntelecoms.com</FONT></FONT></B><BR>
<BR>
<B><I><FONT SIZE="2"><FONT COLOR="#0070c0">"Lowering the cost of doing business"</FONT></FONT></I></B><BR>
<IMG SRC="cid:1281691005.30484.5.camel@jabberwock" ALIGN="bottom" BORDER="0">
</TD>
</TR>
</TABLE>
</BODY>
</HTML>