Re: [Pacemaker] Issues with ocf_run on CentOS7 with pgsql resource agent

2014-11-22 Thread Dejan Muhamedagic
Hi, On Fri, Nov 21, 2014 at 03:00:02PM +, Brendan Reekie wrote: > -Original Message- > From: Andrei Borzenkov [mailto:arvidj...@gmail.com] > Sent: Friday, November 21, 2014 7:13 AM > To: The Pacemaker cluster resource manager > Subject: Re: [Pacemaker] Issues with ocf

Re: [Pacemaker] Issues with ocf_run on CentOS7 with pgsql resource agent

2014-11-21 Thread Brendan Reekie
-Original Message- From: Andrei Borzenkov [mailto:arvidj...@gmail.com] Sent: Friday, November 21, 2014 7:13 AM To: The Pacemaker cluster resource manager Subject: Re: [Pacemaker] Issues with ocf_run on CentOS7 with pgsql resource agent On Fri, Nov 21, 2014 at 12:36 AM, Brendan Reekie

Re: [Pacemaker] Issues with ocf_run on CentOS7 with pgsql resource agent

2014-11-21 Thread Andrei Borzenkov
On Fri, Nov 21, 2014 at 12:36 AM, Brendan Reekie wrote: > I’m running into an issues with the pgsql resource agent running on CentOS7. > The issue is when the pgsql resource agent attempts a call to runasowner it > uses a su as user postgres in a call to ocf_run, this is causing what > appears to

[Pacemaker] Issues with ocf_run on CentOS7 with pgsql resource agent

2014-11-20 Thread Brendan Reekie
I'm running into an issues with the pgsql resource agent running on CentOS7. The issue is when the pgsql resource agent attempts a call to runasowner it uses a su as user postgres in a call to ocf_run, this is causing what appears to be a new session on CentOS7. We've narrowed it down to the o