On Mon, Jun 20, 2011 at 11:06 AM, Vadym Chepkov <[email protected]> wrote:

>
> On Jun 20, 2011, at 12:33 PM, Florian Haas wrote:
>
> > On 2011-06-20 18:17, Serge Dubrouski wrote:
> >>> Well suppose all of /master is on DRBD (or shared storage), and it's a
> >>> subdirectory of that mount point that PostgreSQL uses. So on the
> >>> inactive node /master would be there, but /master/sql/data would not.
> >>> That's a legitimate use case, in my opinion, and the RA should behave
> >>> nicely in that case. Should it not?
> >>>
> >>
> >> Hmm, didn't think about this case. Ok, I'll fix it.
> >>
> >> BTW, this behaviour wasn't introduced with the latest changes, it was
> always
> >> there,
> >
> > Then double kudos to Vadym for spotting it now. :)
> >
>
> It definitely didn't happen with the previous version I had - 1.0.4 and I
> didn't change cluster configuration.
>
> I think it comes from this addition to pgsql_validate_all
>
>
> +    if ! runasowner "test -w $OCF_RESKEY_pgdata"; then
> +        ocf_log err "Directory $OCF_RESKEY_pgdata is not writable by
> $OCF_RESKEY_pgdba"
> +        exit $OCF_ERR_PERM;
>     fi
>

Previous RPM for RedHat could be very old. But anyway I'll fix this bug
later today.


>
> which is called for each single operation, not just for validate-all.
>
>
> Vadym
>
>
>
>
> _______________________________________________
> 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

Reply via email to