GithubHelp home page GithubHelp logo

Comments (3)

fghaas avatar fghaas commented on June 19, 2024

Thanks Alan, makes perfect sense. Do you have the time and inclination to hack up a patch, or would you prefer that someone else do that?

from resource-agents.

dmuhamedagic avatar dmuhamedagic commented on June 19, 2024

On Tue, Aug 28, 2012 at 06:54:13AM -0700, Alan Robertson wrote:

In the apache resource agent, the code uses the exit code from grep directly - as though it were a proper OCF exit code. It is not.

This causes a "not running" condition to become "generic error" - which is not right. Pacemaker treats the two very differently.

The second problem is the non-conforming implementation of OCF_CHECK_LEVEL. The OCF specification states that if you receive an OCF_CHECK_LEVEL that you do not support, you are to treat it as the next lower level that you do support - and you're required to support OCF_CHECK_LEVEL of 0. In effect, this means that any positive OCF_CHECK_LEVEL is legal for any resource agent - unlike this implementation of the apache agent, which allows only one value.

Hi Alan, just replied to your email to the linux-ha-dev ML. I
guess we can keep the discussion to one place :)

from resource-agents.

dmuhamedagic avatar dmuhamedagic commented on June 19, 2024

Both issues fixed now. Thanks for reporting!

from resource-agents.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.