Re: [ClusterLabs] [ClusterLabs Developers] resource-agents v4.2.0 rc1

2018-10-19 Thread Valentin Vidic
On Fri, Oct 19, 2018 at 11:09:34AM +0200, Kristoffer Grönlund wrote:
> I wonder if perhaps there was a configuration change as well, since the
> return code seems to be configuration related. Maybe something changed
> in the build scripts that moved something around? Wild guess, but...

Seems to be a problem with the agent script in the end:

https://github.com/ClusterLabs/resource-agents/pull/1254

-- 
Valentin
___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] resource-agents v4.2.0 rc1

2018-10-19 Thread Kristoffer Grönlund
On Fri, 2018-10-19 at 10:55 +0200, Oyvind Albrigtsen wrote:
> On 18/10/18 19:43 +0200, Valentin Vidic wrote:
> > On Wed, Oct 17, 2018 at 12:03:18PM +0200, Oyvind Albrigtsen wrote:
> > >  - apache: retry PID check.
> > 
> > I noticed that the ocft test started failing for apache in this
> > version. Not sure if the test is broken or the agent. Can you
> > check if the test still works for you? Restoring the previous
> > version of the agent fixes the problem for me.
> 
> It seems to work fine for me except for the that I had to change name
> from apache2 to httpd (which it's called on RHEL and Fedora) in the
> ocft-config, so I think we need some additional logic for that.

I wonder if perhaps there was a configuration change as well, since the
return code seems to be configuration related. Maybe something changed
in the build scripts that moved something around? Wild guess, but...

Cheers,
Kristoffer

> > 
> > # ocft test -v apache
> > Initializing 'apache' ...
> > Done.
> > 
> > Starting 'apache' case 0 'check base env':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 1 'check base env: set non-existing
> > OCF_RESKEY_statusurl':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 2 'check base env: set non-existing
> > OCF_RESKEY_configfile':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 3 'normal start':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 4 'normal stop':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 5 'double start':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 6 'double stop':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 7 'running monitor':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 8 'not running monitor':
> > ERROR: './apache monitor' failed, the return code is 2.
> > Starting 'apache' case 9 'unimplemented command':
> > ERROR: './apache monitor' failed, the return code is 2.
> > 
> > -- 
> > Valentin
> > ___
> > Users mailing list: Users@clusterlabs.org
> > https://lists.clusterlabs.org/mailman/listinfo/users
> > 
> > Project Home: http://www.clusterlabs.org
> > Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratc
> > h.pdf
> > Bugs: http://bugs.clusterlabs.org
> 
> ___
> Users mailing list: Users@clusterlabs.org
> https://lists.clusterlabs.org/mailman/listinfo/users
> 
> Project Home: http://www.clusterlabs.org
> Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.
> pdf
> Bugs: http://bugs.clusterlabs.org
> 
___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org


Re: [ClusterLabs] resource-agents v4.2.0 rc1

2018-10-19 Thread Oyvind Albrigtsen

On 18/10/18 19:43 +0200, Valentin Vidic wrote:

On Wed, Oct 17, 2018 at 12:03:18PM +0200, Oyvind Albrigtsen wrote:

 - apache: retry PID check.


I noticed that the ocft test started failing for apache in this
version. Not sure if the test is broken or the agent. Can you
check if the test still works for you? Restoring the previous
version of the agent fixes the problem for me.

It seems to work fine for me except for the that I had to change name
from apache2 to httpd (which it's called on RHEL and Fedora) in the
ocft-config, so I think we need some additional logic for that.


# ocft test -v apache
Initializing 'apache' ...
Done.

Starting 'apache' case 0 'check base env':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 1 'check base env: set non-existing 
OCF_RESKEY_statusurl':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 2 'check base env: set non-existing 
OCF_RESKEY_configfile':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 3 'normal start':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 4 'normal stop':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 5 'double start':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 6 'double stop':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 7 'running monitor':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 8 'not running monitor':
ERROR: './apache monitor' failed, the return code is 2.
Starting 'apache' case 9 'unimplemented command':
ERROR: './apache monitor' failed, the return code is 2.

--
Valentin
___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org

___
Users mailing list: Users@clusterlabs.org
https://lists.clusterlabs.org/mailman/listinfo/users

Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org