Bug 2216308
| Summary: | pcp hacluster pmda doesn't report dc status properly | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Ross Sponhholtz <ross> | |
| Component: | pcp | Assignee: | Nathan Scott <nathans> | |
| Status: | CLOSED ERRATA | QA Contact: | Jan Kurik <jkurik> | |
| Severity: | medium | Docs Contact: | Jacob Taylor Valdez <jvaldez> | |
| Priority: | unspecified | |||
| Version: | 9.2 | CC: | jkurik, ksatarin, nathans, pevans, radeltch, scox | |
| Target Milestone: | rc | Keywords: | Bugfix, Triaged, ZStream | |
| Target Release: | 9.3 | Flags: | pm-rhel:
mirror+
|
|
| Hardware: | x86_64 | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | pcp-6.0.5-1.el9 | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 2219731 2222858 (view as bug list) | Environment: | ||
| Last Closed: | 2023-11-07 08:30:40 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 2219731, 2222858 | |||
|
Description
Ross Sponhholtz
2023-06-20 19:40:40 UTC
Thanks Ross, yep, looks like we have some work to do here. I've CC'd my colleague Paul Evans who knows this code best for his input. One thing we'll need will be captured output of the command in the updated format to use in PCP regression test qa/1897 (in the pcp github repo) - in the form of qa/hacluster/hacluster-root-001.tgz there. Paul, do you have a hacluster test setup handy where you can capture that? And do you have cycles to update the code? (I can help with that if needed once we have the test data to work with). cheers. I have a 9.2 cluster that I've been testing with, and I put sample output from crm_mon -X in a github repo here: https://bugzilla.redhat.com/show_bug.cgi?id=2216308 I threw together a little program (in the github) to test this out, and updated for the 9.2 output. Let me know if there is anything I can do to help, since getting this corrected is pretty important for our support of RHEL 9.2 in Azure Monitor for SAP Solutions. sorry here is my github: https://github.com/rsponholtz/pmtest Thanks Ross. I'm away until July 3rd so I am hoping Paul has some cycles to make progress while I'm away. Otherwise I'll take you up on that kind offer for assistance and work with you to get this resolved shortly after I return. Hi Nathan, Ross. It looks like pacemaker 2.1.5 added the extra fields to the output from crm_mon which causes the issue for collecting the ha_cluster_pacemaker_nodes_status_dc. I've attached a patch which will fix this issue for RHEL 9.2 (I believe this could be an issue in RHEL8.8 also). I've provided a merge-request for upstream also to fix this issue. Regards, Paul. (In reply to Paul Evans from comment #5) > Hi Nathan, Ross. > > It looks like pacemaker 2.1.5 added the extra fields to the output from > crm_mon > which causes the issue for collecting the > ha_cluster_pacemaker_nodes_status_dc. > I've attached a patch which will fix this issue for RHEL 9.2 (I believe this > could be an issue in RHEL8.8 also). > > I've provided a merge-request for upstream also to fix this issue. > > Regards, > > Paul. Hi, Where do we find the attached patch? I don't see an attachment to the BZ. Thanks! Ralitza Hi Ralitza, you can find Paul's latest updates here: https://github.com/performancecopilot/pcp/pull/1770 Verifying using the upstream testsuite. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (pcp bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:6406 |