Bug 1886636
Summary: | Panic in machine-config-operator | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Alan Chan <alchan> |
Component: | Machine Config Operator | Assignee: | Kirsten Garrison <kgarriso> |
Status: | CLOSED ERRATA | QA Contact: | Michael Nguyen <mnguyen> |
Severity: | low | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | CC: | jerzhang, kgarriso |
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:24:26 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: | |||
Bug Blocks: | 1908534 |
Description
Alan Chan
2020-10-09 01:39:59 UTC
$ cat << EOF > bad-ctrcfg.yaml
> apiVersion: machineconfiguration.openshift.io/v1
> kind: ContainerRuntimeConfig
> metadata:
> name: set-pids-limit
> spec:
> machineConfigPoolSelector:
> matchLabels:
> pools.operator.machineconfiguration.openshift.io/worker: ""
> EOF
$ oc get clusterversion
NAME VERSION AVAILABLE PROGRESSING SINCE STATUS
version 4.7.0-0.nightly-2020-12-14-080124 True False 30m Cluster version is 4.7.0-0.nightly-2020-12-14-080124
$ oc create -f bad-ctrcfg.yaml
The ContainerRuntimeConfig "set-pids-limit" is invalid: spec.containerRuntimeConfig: Required value
$ oc get kubletocnfig
error: the server doesn't have a resource type "kubletocnfig"
$ oc get kubeletconfig
No resources found.
$ oc -n openshift-machine-config-operator get kubletconfig
error: the server doesn't have a resource type "kubletconfig"
$ oc create -f invalid-ctrcfg.yaml
The ContainerRuntimeConfig "set-pids-limit" is invalid: spec: Required value
$ cat invalid-kubeletconfig.yaml
apiVersion: machineconfiguration.openshift.io/v1
kind: KubeletConfig
metadata:
name: set-max-pods
$ oc create -f invalid-kubeletconfig.yaml
The KubeletConfig "set-max-pods" is invalid: spec: Required value
No doc needed. This doesn't change behaviour, just adds a better error message 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 |