Comments (9)
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.
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.
Still, this should not cause such messages, since they are related to primitive resources and not constraints.
from crmsh.
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.
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.
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.
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.
Added option to suppress these warnings, let me know if there are any other problems with not having the metadata available. Thanks :)
from crmsh.
Closing this, thanks!
from crmsh.
Related Issues (20)
- resource receiving stop signal at different times HOT 1
- Is "cibadmin_opt" a typo of "cibadm_opt" at line 414 in crmsh/log.py? HOT 1
- crmsh parser fails to parse cli arguments with op monitor role given HOT 13
- bundle: crmsh should support podman type
- 'sudo crm cluster copy <relative_path>' output could be more informative HOT 1
- Bundle: Drop rkt container type in master branch for the coming pacemaker 3 HOT 1
- Incompatible with Python 3.12 HOT 1
- RFE: Add corosync cpg status HOT 1
- RFE: Consider DLM (dlm_tool) in crmsh HOT 1
- crm cluster init example on the start-guide page HOT 1
- Some contents in crmsh.github.io are outdated
- crm report should collect qdevice/qnetd status
- `crm configure help XXX` is broken if the cluster is not running HOT 1
- Give a warning when detecting $SSH_AUTH_SOCK but not using `--use-ssh-agent` option HOT 1
- Failed to start cluster service when calling `run-functional-tests -n 2` HOT 7
- Automate updating the documents on crmsh.github.io
- `crm configure property` bash completion and the help text for each property HOT 2
- Invalid `check_quick` methond in class PasswordlessHaclusterAuthenticationFeature
- data-manifest can be generated on the fly in build process
- Generated doc crm.8.aio.adoc has some anchor missing
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from crmsh.