Giter Club home page Giter Club logo

Comments (10)

jcharaoui avatar jcharaoui commented on July 28, 2024 1

It seems I was able to fix this by deleting the log file at /var/log/fence_delay.log.

I'm unsure what the ownership and permissions were before, but now owner/group is root with perms -rw-r----- and starting/stopping the fence resource no longer causes the warnings.

from fence_delay.

jcharaoui avatar jcharaoui commented on July 28, 2024

I think I fixed this by removing op monitor interval=60m from the resource config. Nope.

from fence_delay.

digimer avatar digimer commented on July 28, 2024

Thanks for this. If/when you find the fix, I'll merge.

from fence_delay.

jcharaoui avatar jcharaoui commented on July 28, 2024

Reopening because after rebooting the node, the error is back! It's a really weird issue...

from fence_delay.

jcharaoui avatar jcharaoui commented on July 28, 2024

For the record, this is using Pacemaker 2.0.5 on Debian 11.

from fence_delay.

digimer avatar digimer commented on July 28, 2024

I've never tested this on Debian. If you find the problem though, I'll be happy to pull merge a PR.

from fence_delay.

jcharaoui avatar jcharaoui commented on July 28, 2024

I wish I knew enough Perl to test a modified version with logging to file switched off. Somehow I think its related to that.

from fence_delay.

jcharaoui avatar jcharaoui commented on July 28, 2024

Alright so I was able to reproduce the error reliably: Pacemaker needed to restart in order for it to call the metadata op (restarting the resource wasn't enough). After a bit of testing I found that the error went away for good when ownership of the log file was set to hacluster:haclient instead of root:root.

from fence_delay.

digimer avatar digimer commented on July 28, 2024

Excellent, thank you. I can probably update fence_delay to set the ownership directly.

from fence_delay.

digimer avatar digimer commented on July 28, 2024

This should hopefully be resolved now. Please note that current / future dev on fence_delay will by on the anvil repo - https://github.com/ClusterLabs/anvil/blob/master/tools/fence_delay

If the problem persists, please open an issue over there.

from fence_delay.

Related Issues (2)

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.