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