Bug 2032565
Summary: | Deploying compressed files with a MachineConfig resource degrades the MachineConfigPool | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Sergio <sregidor> |
Component: | Machine Config Operator | Assignee: | Zack Zlotnik <zzlotnik> |
Machine Config Operator sub component: | Machine Config Operator | QA Contact: | Sergio <sregidor> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | aos-bugs, jerzhang, mkrejci, rioliu, skumari, zzlotnik |
Version: | 4.10 | ||
Target Milestone: | --- | ||
Target Release: | 4.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2022-03-10 16:33:57 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
Sergio
2021-12-14 17:54:00 UTC
Thanks for reporting this. This was indeed caused by https://github.com/openshift/machine-config-operator/pull/2795. What's happening is: - The MachineConfig specifies a file which is compressed. The MCD applies the config to disk. - While it applies the config to disk, the MCD decompresses the file before writing it. - The Config Drift Monitor attempts to compare the decompressed on-disk file contents to the compressed contents specified in the MachineConfig. - Because the decompressed contents do not match the compressed contents, the Config Drift Monitor marks the node Degraded. I've implemented a fix: https://github.com/openshift/machine-config-operator/pull/2874 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.10.3 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-2022:0056 |