On Mon, Jun 20, 2011 at 10:09 AM, Florian Haas <[email protected]>wrote:
> Ouch, that hurts. Vadym, thanks for reporting this. Serge, can you fix > pgsql_monitor so it behaves correctly during probes nodes where the > resource is expected to be inactive? I'd be happy to merge. > > Cheers, > Florian > > On 2011-06-20 18:01, Vadym Chepkov wrote: > > Hi, > > > > new psql RA in resources-agents-3.9.1 doesn't handle shared storage > configuration properly: > > > > Jun 20 15:37:00 m52 pgsql[20851]: INFO: Configuration file > /master/sql/data/postgresql.conf not readable during probe. > > Jun 20 15:37:00 m52 pgsql[20851]: ERROR: bash: line 0: cd: > /master/sql/data: No such file or directory > > Jun 20 15:37:00 m52 pgsql[20851]: ERROR: Directory /master/sql/data is > not writable by postgres > You don't have mount point available on slave? You don;t need real data, but mount point should exist. > > Jun 20 15:37:00 m52 lrmd: [2407]: WARN: Managed sql_master:monitor > process 20851 exited with return code 4. > > Jun 20 15:37:00 m52 lrmd: [2407]: info: operation monitor[2688] on > sql_master for client 2410: pid 20851 exited with return code 4 > > > > Since this is on a slave/inactive node, config and pgdata are missing and > it is normal situation, so monitor operation should not fail. > > > > > # crm_mon -1f|tail -2 > > Failed actions: > > sql_master_monitor_0 (node=m52, call=2688, rc=4, status=complete): > insufficient privileges > > > > Cheers, > > Vadym > > -- Serge Dubrouski. _______________________________________________ Linux-HA mailing list [email protected] http://lists.linux-ha.org/mailman/listinfo/linux-ha See also: http://linux-ha.org/ReportingProblems
