<div dir="ltr"><div>im trying to understand the behaviour of pacemaker when a resource monitor returns OCF_NOT_RUNNING instead of OCF_ERR_GENERIC, and does pacemaker really care.</div><div><br></div><div>The documentation states that a return code OCF_NOT_RUNNING from a monitor will not result in a stop being called on that resource, as it believes the node is still clean. <br></div><div><br></div><div><a href="https://www.clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-ocf-return-codes.html">https://www.clusterlabs.org/pacemaker/doc/en-US/Pacemaker/1.1/html/Pacemaker_Explained/s-ocf-return-codes.html</a><br></div><div><br></div><div>This makes sense, however in practice is not what happens (unless im doing something wrong :) )</div><div><br></div><div>When my resource returns OCF_NOT_RUNNING for a monitor call (after a start has been performed) a stop is called.</div><div><br></div><div>if I have a resource threshold set >1,  i get start->monitor->stop cycle until the threshold is consumed</div><div><br></div><div>/Ian.</div><div><br></div><div><br></div></div>