Bug 1974266
Summary: | Backport pmrep archive creation fix | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Marko Myllynen <myllynen> |
Component: | pcp | Assignee: | Nathan Scott <nathans> |
Status: | CLOSED ERRATA | QA Contact: | Jan Kurik <jkurik> |
Severity: | unspecified | Docs Contact: | Apurva Bhide <abhide> |
Priority: | unspecified | ||
Version: | 8.5 | CC: | agerstmayr, jkurik, mgoodwin, nathans |
Target Milestone: | beta | Keywords: | Bugfix, Triaged |
Target Release: | 8.5 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | pcp-5.3.1-2.el8 | Doc Type: | No Doc Update |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-11-09 17:50:37 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
Marko Myllynen
2021-06-21 08:51:33 UTC
These are the upstream commits needed here: commit 5ed5940a25307c56ae30aaa814afd0fcdabad92d Author: Nathan Scott <nathans> Date: Mon Jun 21 09:55:59 2021 +1000 libpcp_import: fix per-instance error handling in pmiWrite Marko encountered a double-fault failure condition where we would attempt to use a prior error code in memory allocation size calculations of a subsequent attempt to add an instance value. New C test program added to poke the exact failure condition and we run it in both with/without valgrind configurations - so two new tests. Related to https://github.com/performancecopilot/pcp/issues/1327 commit 3806df81a6711833cde20f014ebd29fb85013ea2 Author: Marko Myllynen <myllynen> Date: Mon Jun 21 09:13:53 2021 +0300 pmrep/pmconfig.py: fix archive writing with scaled metrics pmrep/pmconfig.py were already using metadata from the source to write archive metadata and raw values instead of counter rates. For scaled metrics the native type needs to be used so that created archives remain compatible with pmlogger created archives and that stored metadata and values match each other. QA 1072 updated to test this. commit ac4edfb0cbef8d6618c8fbd063dc9c5727f0d085 Author: Nathan Scott <nathans> Date: Tue Jun 22 09:09:11 2021 +1000 qa: correct the hex indom output in tests 1627, 1628 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-2021:4171 |