Bug 2055028
| Summary: | Cluster pacemaker complains about a resource which is not there | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | lejeczek <peljasz> |
| Component: | pacemaker | Assignee: | Ken Gaillot <kgaillot> |
| Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | cluster-qe <cluster-qe> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | CentOS Stream | CC: | bstinson, cluster-maint, jwboyer, tojeline |
| Target Milestone: | rc | Flags: | pm-rhel:
mirror+
|
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-04-19 16:27:47 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
lejeczek
2022-02-16 09:04:25 UTC
I think that this is due to a misconfiguration explained in the log you provided: Resource GATEWAY:0 is of type systemd and therefore cannot be used as a promotable clone resource Try running 'pcs resource config' and check if you can see the resource defined. Hi, Can you attach the CIB (or a pcs cluster report) from the time this happened? If you look in the logs on the cluster nodes, find the closest "saving inputs" message before the relevant time, and it will show a file name that is the CIB from that moment. Hi. There is config for that resource, according to 'resource config' but the fact that 'cluster' does not show the resource in "usual" places made me decide it was a BZ.(no?) regarding logs - perhaps a side "issue" - my /var/log/pacemaker/pacemaker.log grew freaking gigantic(>2GB with entries few months old), had to run logrotate manually and I wonder if logrotate's problem or ha-cluster's - I just thought I'd share here. thanks, L. (In reply to lejeczek from comment #3) > Hi. > There is config for that resource, according to 'resource config' but the > fact that 'cluster' does not show the resource in "usual" places made me > decide it was a BZ.(no?) I would expect it to show up in pcs status. If you have the CIB from when it didn't, we can check whether it's a bug. > > regarding logs - perhaps a side "issue" - my > /var/log/pacemaker/pacemaker.log grew freaking gigantic(>2GB with entries > few months old), had to run logrotate manually and I wonder if logrotate's > problem or ha-cluster's - I just thought I'd share here. > > thanks, L. The logrotate configuration in /etc/logrotate.d/pacemaker should rotate if the log hits 100MB (or at least weekly). The cluster doesn't deal with log rotation directly so it would be a logrotate issue. If this continues to be an issue, we can investigate further if we get a scheduler input with the issue |