Description of problem:
Mar 19 08:41:27.891: FAIL: Pods in platform namespaces are not following resource request/limit rules or do not have an exception granted:
apps/v1/Deployment/openshift-cluster-csi-drivers/ovirt-csi-driver-controller/container/csi-provisioner does not have a cpu request (rule: "apps/v1/Deployment/openshift-cluster-csi-drivers/ovirt-csi-driver-controller/container/csi-provisioner/request[cpu]")
apps/v1/Deployment/openshift-cluster-csi-drivers/ovirt-csi-driver-controller/container/csi-provisioner does not have a memory request (rule: "apps/v1/Deployment/openshift-cluster-csi-drivers/ovirt-csi-driver-controller/container/csi-provisioner/request[memory]")
All payload components need requests:
(inspired by https://bugzilla.redhat.com/show_bug.cgi?id=1940518)
How to test:
1. Install an Openshift cluster
2. check that all the pods under the CSI deployment have resources.requests section:
oc -n openshift-cluster-csi-drivers get pods
you will get 3 pods:
For each of does pods check that there is a resources.requests for each container:
- oc -n openshift-cluster-csi-drivers describe pod ovirt-csi-driver-controller
- oc -n openshift-cluster-csi-drivers describe pod ovirt-csi-driver-node
- oc -n openshift-cluster-csi-drivers describe pod ovirt-csi-driver-operator
Verified on - 4.8.0-0.nightly-2021-06-03-014152 with rhvm-184.108.40.206-0.1.el8ev.noarch
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.8.2 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.