Hi, On Wed, Feb 10, 2010 at 12:29:22PM +0100, Andrew Beekhof wrote: > On Tue, Feb 9, 2010 at 8:27 PM, Ilo Lorusso <[email protected]> wrote: > > hi , > > > > ive got a resource-agent that works 100% on one machine. > > If i run it through off-test I get the following output: > > > > /usr/sbin/ocf-tester -n post1 /usr/lib/ocf/resource.d/heartbeat/postfix; > > echo $? > > Beginning tests for /usr/lib/ocf/resource.d/heartbeat/postfix... > > * Your agent does not support the notify action (optional) > > * Your agent does not support the demote action (optional) > > * Your agent does not support the promote action (optional) > > * Your agent does not support master/slave (optional) > > 0 > > > > > > when I copy it to another machine and try test it with ocf-test I get > > the following error, > > /usr/sbin/ocf-tester -n post1 /usr/lib/ocf/resource.d/heartbeat/postfix; > > echo $? > > * rc=1: Validation failed. Did you supply enough options with -o ? > > Aborting tests > > > > > > why would this be the case? > > that would be entirely dependent on your script... the one we can't see :)
I guess that he's referring to the one we ship. ocf-tester needs a debug interface. In the meantime, you can try: /usr/lib/ocf/resource.d/heartbeat/postfix validate-all or sh -x /usr/lib/ocf/resource.d/heartbeat/postfix validate-all Thanks, Dejan > > both machines are setup identically > > running the same versions > > of heartbeat and pacemaker > > > > heartbeat-libs-3.0.1-1.el5 > > heartbeat-3.0.1-1.el5 > > > > pacemaker-libs-1.0.7-2.el5 > > pacemaker-1.0.7-2.el5 > > > > > > > > how could I debug this futher ocf-test in more details? as I dont see > > much in the logs > > _______________________________________________ > > Linux-HA mailing list > > [email protected] > > http://lists.linux-ha.org/mailman/listinfo/linux-ha > > See also: http://linux-ha.org/ReportingProblems > > > _______________________________________________ > Linux-HA mailing list > [email protected] > http://lists.linux-ha.org/mailman/listinfo/linux-ha > See also: http://linux-ha.org/ReportingProblems _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
