+++ This bug was initially created as a clone of Bug #1967949 +++ Description of problem: Records data size (in recorder.go) is incorrectly growing when obfuscation is enabled (because we don't use the obfuscated record name to store the corresponding record) or when there are duplicated records (duplicated record is not correctly checked which leads to overwriting and increasing the size) Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Already fixed with https://github.com/openshift/insights-operator/pull/444
Verified on OCP 4.9.0-0.nightly-2021-07-07-021823. Verification steps: 1. Download an insights-operator archive 2. Check files in /config/machineconfigs/ 3. You should have something similar: /config/machineconfigs/00-master.json /config/machineconfigs/00-worker.json /config/machineconfigs/01-master-container-runtime.json /config/machineconfigs/01-master-kubelet.json /config/machineconfigs/01-worker-container-runtime.json /config/machineconfigs/01-worker-kubelet.json /config/machineconfigs/99-master-generated-registries.json /config/machineconfigs/99-master-ssh.json /config/machineconfigs/99-worker-generated-registries.json /config/machineconfigs/99-worker-ssh.json /config/machineconfigs/rendered-master-5741db177786fe8c767d6d9dba32a3fc.json /config/machineconfigs/rendered-worker-44f533a629ec81654c116f454e864ed7.json
Discarding comment #2. Wrong BZ.
Verified on 4.9.0-0.nightly-2021-07-19-224913. Verification steps: 1. Enable obfuscation 2. Check the archive content and size
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 (Moderate: OpenShift Container Platform 4.9.0 bug fix and security 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/RHSA-2021:3759