Hi, Serge
Let me ask you one simple question.
Why pgsql RA exited(exit $OCF_ERR_PERM) extemporaneously in this case?
# Why not "return $OCF_ERR_PERM"?
In other error case, the pgsql_validate_all() returns error number
(return $OCF_ERR_xxx) and error handled following code.
--- pgsql RA validation ---
pgsql_validate_all
rc=$?
[ "$1" == "validate-all" ] && exit $rc
if [ $rc -ne 0 ]
then
case "$1" in
stop) exit $OCF_SUCCESS;;
monitor) exit $OCF_NOT_RUNNING;;
status) exit $OCF_NOT_RUNNING;;
*) exit $rc;;
esac
fi
--- pgsql RA validation ---
Best Regards,
NAKAHIRA Kazutomo
(2011/06/21 5:37), Serge Dubrouski wrote:
> Sorry.
>
> On Mon, Jun 20, 2011 at 2:22 PM, Vadym Chepkov<[email protected]> wrote:
>
>>
>> On Jun 20, 2011, at 3:55 PM, Serge Dubrouski wrote:
>>
>>> Patch is attached.
>>
>>
>> Your patch is damaged, it has lines cut short.
>>
>> Vadym
>> _______________________________________________
>> 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
--
NAKAHIRA Kazutomo
Infrastructure Software Technology Unit
NTT Open Source Software Center
_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems