Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem: after adding a new context label (below /etc/pcp/labels), and running PCP QA for groups pmproxy and libpcp_web, restapi queries from the pcp-redis grafana datasource and "PCP Overview" dashboard fail for the local host (running primary logger). The error messages appear in pmproxy.log.
Version-Release number of selected component (if applicable): pcp-5.1.0
How reproducible: we have known about this issue for multiple PCP releases but have previously never been able to reproduce it.
Steps to Reproduce: as per description
Actual results: error messages in pmproxy log, PCP Redis reports Bad Request and the PCP Redis Overview charts fail to update.
Expected results: no messages or bad request issues
Additional info: once this happens, the only recovery I have been able to find is run redis-cli flushall on the affected host and restart the pmlogger service. When the problem occurs, running pmseries `pmseries hinv.ncpu` shows multiple sources for the same (local) host, with the same hostname and machineid labels, but with different additional labels, in particular, when induced via QA, we see the label "pcpqa":"labels", e.g.:
mgoodwin@f32 # pmseries -l `pmseries hinv.ncpu`
181c3558aa377aebcf763152814ac90aabe4a55e
labels {"agent":"linux","domainname":"localdomain","hostname":"centos7","machineid":"65113b1a0d2f6087d515e6a8cd0ee7ef"}
4d91b4450deaa819eaa10c7af7ddd66de33ac4c0
labels {"agent":"linux","domainname":"localdomain","groupid":992,"hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9","pcpqa":"labels","userid":995}
530ce0975609c271dece8ee345db960afbcb3446
labels {"agent":"linux","domainname":"localdomain","hostname":"f30","machineid":"9903f760a7314e6a96e6158e7f009161"}
68cf1c4effd0920fb2060e44f3997105286b0186
labels {"agent":"linux","domainname":"localdomain","hostname":"f31-qa","machineid":"1925e00a95c8422c96bc829ac2ba4c6e"}
766e128d1a0311ef6ee547c28bcf7bfcea529f78
labels {"agent":"linux","domainname":"localdomain","groupid":992,"hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9","userid":995}
b550f8854b578d5588a4dbf6edbbca184a789fc9
labels {"agent":"linux","domainname":"localdomain","hostname":"f31","machineid":"1925e00a95c8422c96bc829ac2ba4c6e"}
b9689842048d9e9f3f386dfddafe9fcdd998c8f4
labels {"agent":"linux","domainname":"localdomain","groupid":0,"hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9","userid":0}
c1a46e7eb40f0822bf2f3b8c263994f1ccbc93b2
labels {"agent":"linux","domainname":"localdomain","hostname":"f31","machineid":"1925e00a95c8422c96bc829ac2ba4c6e","qa_induced":"duplicate_source"}
c8fdd1ac925b83203394fba31528ee11562b78ca
labels {"agent":"linux","domainname":"localdomain","hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9"}
e4d1eea43a5aff6450661cc3962d600e0ae8f1f8
labels {"agent":"linux","domainname":"localdomain","groupid":992,"hostname":"f32","latitude":-25.28496,"longitude":152.87886,"machineid":"b0a6b83db6804acc9718c6d10bd60db9","userid":995}
It seems the redis queries don't known which source series ID to query for the failing descriptor request.
Due to missing reproducer, I am unable to reliably verify this. However the issue has not been observed during the regression testing .
Verifying as Sanity-only.
Description of problem: after adding a new context label (below /etc/pcp/labels), and running PCP QA for groups pmproxy and libpcp_web, restapi queries from the pcp-redis grafana datasource and "PCP Overview" dashboard fail for the local host (running primary logger). The error messages appear in pmproxy.log. Version-Release number of selected component (if applicable): pcp-5.1.0 How reproducible: we have known about this issue for multiple PCP releases but have previously never been able to reproduce it. Steps to Reproduce: as per description Actual results: error messages in pmproxy log, PCP Redis reports Bad Request and the PCP Redis Overview charts fail to update. Expected results: no messages or bad request issues Additional info: once this happens, the only recovery I have been able to find is run redis-cli flushall on the affected host and restart the pmlogger service. When the problem occurs, running pmseries `pmseries hinv.ncpu` shows multiple sources for the same (local) host, with the same hostname and machineid labels, but with different additional labels, in particular, when induced via QA, we see the label "pcpqa":"labels", e.g.: mgoodwin@f32 # pmseries -l `pmseries hinv.ncpu` 181c3558aa377aebcf763152814ac90aabe4a55e labels {"agent":"linux","domainname":"localdomain","hostname":"centos7","machineid":"65113b1a0d2f6087d515e6a8cd0ee7ef"} 4d91b4450deaa819eaa10c7af7ddd66de33ac4c0 labels {"agent":"linux","domainname":"localdomain","groupid":992,"hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9","pcpqa":"labels","userid":995} 530ce0975609c271dece8ee345db960afbcb3446 labels {"agent":"linux","domainname":"localdomain","hostname":"f30","machineid":"9903f760a7314e6a96e6158e7f009161"} 68cf1c4effd0920fb2060e44f3997105286b0186 labels {"agent":"linux","domainname":"localdomain","hostname":"f31-qa","machineid":"1925e00a95c8422c96bc829ac2ba4c6e"} 766e128d1a0311ef6ee547c28bcf7bfcea529f78 labels {"agent":"linux","domainname":"localdomain","groupid":992,"hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9","userid":995} b550f8854b578d5588a4dbf6edbbca184a789fc9 labels {"agent":"linux","domainname":"localdomain","hostname":"f31","machineid":"1925e00a95c8422c96bc829ac2ba4c6e"} b9689842048d9e9f3f386dfddafe9fcdd998c8f4 labels {"agent":"linux","domainname":"localdomain","groupid":0,"hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9","userid":0} c1a46e7eb40f0822bf2f3b8c263994f1ccbc93b2 labels {"agent":"linux","domainname":"localdomain","hostname":"f31","machineid":"1925e00a95c8422c96bc829ac2ba4c6e","qa_induced":"duplicate_source"} c8fdd1ac925b83203394fba31528ee11562b78ca labels {"agent":"linux","domainname":"localdomain","hostname":"f32","machineid":"b0a6b83db6804acc9718c6d10bd60db9"} e4d1eea43a5aff6450661cc3962d600e0ae8f1f8 labels {"agent":"linux","domainname":"localdomain","groupid":992,"hostname":"f32","latitude":-25.28496,"longitude":152.87886,"machineid":"b0a6b83db6804acc9718c6d10bd60db9","userid":995} It seems the redis queries don't known which source series ID to query for the failing descriptor request.