Bug 1726866
| Summary: | invalid machine config should cause a RenderDegraded error not NodeDegraded | |||
|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Kirsten Garrison <kgarriso> | |
| Component: | Machine Config Operator | Assignee: | Kirsten Garrison <kgarriso> | |
| Status: | CLOSED ERRATA | QA Contact: | Micah Abbott <miabbott> | |
| Severity: | unspecified | Docs Contact: | ||
| Priority: | unspecified | |||
| Version: | 4.1.0 | CC: | amurdaca, mnguyen, vlaad, wsun | |
| Target Milestone: | --- | |||
| Target Release: | 4.1.z | |||
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1727104 (view as bug list) | Environment: | ||
| Last Closed: | 2019-08-28 19:54:45 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: | 1727104 | |||
| Bug Blocks: | ||||
This will be fixed in master via https://github.com/openshift/machine-config-operator/pull/899 (currently pending merge) Sorry wrong link above.. This will be fixed in master pending https://github.com/openshift/machine-config-operator/pull/894 being merged. I'm not sure this is severe enough from a backport but let's open a 4.1 backport and have architects decide I'm not sure either why this wasn't moved to MODIFIED once the PR got merged (maybe the bot functionality wasn't there at the time I seem to remember). So it should have been in MODIFIED, and you also already verified it as per https://bugzilla.redhat.com/show_bug.cgi?id=1726866#c6 so it should be safe to move this to VERIFIED. 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, 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-2019:2547 |
Description of problem: An invalid machine config should cause a RenderDegraded error not NodeDegraded How reproducible: Apply an invalid machineconfig and note that while there is an error it is NodeDegraded and NOT the expected/correct RenderDegraded Steps to Reproduce: 1.Apply an invalid machineconfig for example: apiVersion: machineconfiguration.openshift.io/v1 kind: MachineConfig metadata: labels: machineconfiguration.openshift.io/role: worker name: 50-examplecorp-chrony spec: config: ignition: version: 2.2.0 storage: files: - contents: source: data:text/plain;charset=utf;base64,c2VydmVyIGZvby5leGFtcGxlLm5ldCBtYXhkZWxheSAwLjQgb2ZmbGluZQpzZXJ2ZXIgYmFyLmV4YW1wbGUubmV0IG1heGRlbGF5IDAuNCBvZmZsaW5lCnNlcnZlciBiYXouZXhhbXBsZS5uZXQgbWF4ZGVsYXkgMC40IG9mZmxpbmUK mode: 0644 path: /etc/chrony.conf 2. oc describe mcp worker Actual results: Node Degraded Expected results: Render Degraded