Giter Club home page Giter Club logo

Comments (9)

krig avatar krig commented on July 16, 2024

Actually, I don't understand why resource-discovery would cause this problem. I suspect that this is related to another change to crmsh. Could you attach output from crm -d when you get this message?
Thank you.

from crmsh.

bubble75 avatar bubble75 commented on July 16, 2024

Ah, the issue is that I use default symmetric-cluster=true, and use location constraints for symmetric cluster (e.g. 'rule -inf: #kind ne remote',) with resource-discovery=never.

location test-instance-on-remote-nodes cl-test-instance resource-discovery=never
rule -inf: #kind ne remote
location vlan002-on-cluster-nodes vlan002 resource-discovery=never
rule -inf: #kind ne cluster
location vlan003-on-cluster-nodes vlan003 resource-discovery=never
rule -inf: #kind ne cluster
location vlan004-on-cluster-nodes vlan004 resource-discovery=never
rule -inf: #kind ne cluster

from crmsh.

krig avatar krig commented on July 16, 2024

Still, this should not cause such messages, since they are related to primitive resources and not constraints.

from crmsh.

bubble75 avatar bubble75 commented on July 16, 2024

Sorry, very busy day here. Cannot switch context properly.

Yes, in addition, remote nodes have different set of resource agents. resource-discovery=never with -inf makes it possible to never probe for resources handled by not installed RAs in addition to never run them there.
So pacemaker produces no errors. But crmsh does.

from crmsh.

krig avatar krig commented on July 16, 2024

Ah, that makes sense. The problem is the remote node resources. We would need some way for crmsh to get the agent metadata for remote resources, or somehow detect that those resources don't have local agents and suppress the warnings. I am not sure how to handle this in the best way yet.

from crmsh.

bubble75 avatar bubble75 commented on July 16, 2024

Yes, exactly.

This is not a major issue, but it would make sense to keep in mind, that it may become major at some point.

I agree, that it is very hard to guess, why RA is not available on a given node. That's why original intention was to just add a configuration option to suppress that errors.

from crmsh.

dmuhamedagic avatar dmuhamedagic commented on July 16, 2024

I agree, that it is very hard to guess, why RA is not available on a given node. That's why original intention was to just add a configuration option to suppress that errors.

That's not such a bad idea. Somebody could even want to do some
configuration on an unrelated host where not all RAs are present.

from crmsh.

krig avatar krig commented on July 16, 2024

Added option to suppress these warnings, let me know if there are any other problems with not having the metadata available. Thanks :)

from crmsh.

krig avatar krig commented on July 16, 2024

Closing this, thanks!

from crmsh.

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.