On Tue, Jun 23, 2009 at 1:42 PM, Michael Schwartzkopff<[email protected]> wrote: > Hi, > > I have a squid LSB resource on my pacemaker-1.0.4 cluster. Ok. I know that > there is a OCF resource, but this is for historical reasons. I checked the > failcounters and the resource had two errors. So I checked the logfiles and I > found: > > Jun 23 13:33:52 mom2 pengine: [4734]: info: unpack_rsc_op: resSquid_monitor_0 > on mom1 returned 1 (unknown error) instead of the expected value: 7 (not > running) > Jun 23 13:33:52 mom2 pengine: [4734]: WARN: unpack_rsc_op: Processing failed > op resSquid_monitor_0 on mom1: unknown error > > I thought LSB resources have to return "3" if the resource is not running. But > it seems that the pengine looks for a "7" and shows an error with the resource > returing "1". > > Can somebody please explain this to me? Thanks.
The LRM hides the implementation details of the various non-OCF resources so that the CRM can treat them all the same (as OCF resources). The LRM would have remapped 3 to 7 in this case. > > My resource is: > <primitive class="lsb" id="resSquid" type="squid"> > <operations id="resSquid-operations"> > <op id="resSquid-op-monitor-15" interval="15" name="monitor" > timeout="15"/> > </operations> > </primitive> > > > -- > Dr. Michael Schwartzkopff > MultiNET Services GmbH > Addresse: Bretonischer Ring 7; 85630 Grasbrunn; Germany > Tel: +49 - 89 - 45 69 11 0 > Fax: +49 - 89 - 45 69 11 21 > mob: +49 - 174 - 343 28 75 > > mail: [email protected] > web: www.multinet.de > > Sitz der Gesellschaft: 85630 Grasbrunn > Registergericht: Amtsgericht München HRB 114375 > Geschäftsführer: Günter Jurgeneit, Hubert Martens > > --- > > PGP Fingerprint: F919 3919 FF12 ED5A 2801 DEA6 AA77 57A4 EDD8 979B > Skype: misch42 > _______________________________________________ > 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
