On Wed, Jun 25, 2008 at 12:59 PM, Andrew Beekhof <[EMAIL PROTECTED]> wrote: > > On Jun 25, 2008, at 8:28 PM, Serge Dubrouski wrote: > >>>> >>>> So there is no need for an RA to support "fail" operation? Then why it >>>> is gets called with it? >>> >>> precisely because it doesn't support it - to get an error. >> >> Sounds like we are going round. What would support for that "fail" >> operation mean on RA level? What is RA supposed to to when it's called >> with a "fail" operation besides answering that it's not yet >> implemented? > > it should return the same thing that it should when called with > idontsupportthisaction or abcdefg or fred > > 2 > > as in "not supported"
Now you got me completely lost. Per what you tell here an RA has to always answer "I don't know what it is" when it's called with "fail" operation. What is the reason for this? I mean what is the reason to call an RA with the operation that isn't expected to be supported? Then, there are 2 different return codes: OCF_ERR_UNIMPLEMENTED and OCF_ERR_ARGS. I always thought that an RA is supposed to return first one for operations that has to be supported but not yet implemented and a second one for "fred", "asdasdjlasd" or any other junk. So pgsql returns OCF_ERR_ARGS for "fail" operation but CRM expects OCF_ERR_UNIMPLEMENTED. Should I change pgsql in a way that it'll return OCF_ERR_UNIMPLEMENTED for any unknown operation? > >> >> >>> >>>> It looks like I'm loosing and whole point of that "fail" operations. >>>> What do you mean by an "asynchronous" fail? >>>> >>>> -- >>>> Serge Dubrouski. >>>> _______________________________________________ >>>> 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 >>> >> >> >> >> -- >> Serge Dubrouski. >> _______________________________________________ >> 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 > -- Serge Dubrouski. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
