Bug 1873593
Summary: | MCO fails to cope with ContainerRuntimeConfig thas has a name > 63 characters | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | aaleman |
Component: | Node | Assignee: | Qi Wang <qiwan> |
Node sub component: | CRI-O | QA Contact: | MinLi <minmli> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | unspecified | CC: | alchan, aos-bugs, jokerman, kgarriso, minmli, prdeshpa, tsweeney, umohnani |
Version: | 4.5 | Keywords: | UpcomingSprint |
Target Milestone: | --- | ||
Target Release: | 4.7.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | No Doc Update | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2021-02-24 15:16:47 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
aaleman
2020-08-28 17:29:04 UTC
The name length issue has been fixed in 4.6, and I think the plan was to not backport it to 4.5, but I will double check. Will look into why the finalizer error is not showing up in the ctrcfg status while other errors show up. This is not a release blocker, so setting severity to low. Reassigning to Qi to take a look at why the errors are not showing up correctly in the status. - the issue description "There is a useless condition", so the error like "not valid yaml" is expected, rather than silently ignores error: name > 63 characters? - why it is useless condition ? I saw the definition here? https://github.com/openshift/machine-config-operator/blob/ca283c2500df8cdc787600e8fcbd311b99859538/install/0000_80_machine-config-operator_01_containerruntimeconfig.crd.yaml#L140 verified on version : 4.7.0-0.nightly-2021-01-19-095812 [lyman@localhost env]$ oc get ctrcfg -o yaml apiVersion: v1 items: - apiVersion: machineconfiguration.openshift.io/v1 kind: ContainerRuntimeConfig metadata: creationTimestamp: "2021-01-20T07:29:52Z" finalizers: - 99-worker-generated-containerruntime generation: 4 managedFields: - apiVersion: machineconfiguration.openshift.io/v1 fieldsType: FieldsV1 ... manager: oc operation: Update time: "2021-01-20T08:20:58Z" name: pthread-debug resourceVersion: "100015" selfLink: /apis/machineconfiguration.openshift.io/v1/containerruntimeconfigs/pthread-debug uid: babc70c4-57bb-437a-b65d-52aff7b0abe8 spec: containerRuntimeConfig: pidsLimit: 2048 machineConfigPoolSelector: matchLabels: pthread-debug: "true" status: conditions: - lastTransitionTime: "2021-01-20T08:20:58Z" message: Success status: "True" type: Success observedGeneration: 4 sh-4.4# chroot /host sh-4.4# crio config | grep "pids_limit" INFO[0000] Starting CRI-O, version: 1.20.0-0.rhaos4.7.gitd9f17c8.el8.42, git: () INFO Using default capabilities: CAP_CHOWN, CAP_DAC_OVERRIDE, CAP_FSETID, CAP_FOWNER, CAP_SETGID, CAP_SETUID, CAP_SETPCAP, CAP_NET_BIND_SERVICE, CAP_KILL pids_limit = 2048 sh-4.4# 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.7.0 security, 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/RHSA-2020:5633 |