-
Bug
-
Resolution: Done-Errata
-
Major
-
4.16
-
None
-
Moderate
-
Yes
-
False
-
-
Release Note Not Required
-
In Progress
Description of problem:
"Oh no! Something went wrong." will shown on Pending pod details page
Version-Release number of selected component (if applicable):
4.16.0-0.nightly-2024-04-14-063437
How reproducible:
always
Steps to Reproduce:
1. Create a dummy pod with pending status eg: apiVersion: v1 kind: Pod metadata: name: nginx labels: env: test spec: containers: - name: nginx image: nginx imagePullPolicy: IfNotPresent nodeSelector: disktype: ssd OR apiVersion: v1 kind: Pod metadata: name: dummy-pod spec: containers: - name: dummy-pod image: ubuntu restartPolicy: Always nodeSelector: testtype: pending 2. Navigate to Pod Details page 3.
Actual results:
Oh no! Something went wrong. will shown TypeError Description:Cannot read properties of undefined (reading 'restartCount') Component trace:Copy to clipboardat fe (https://console-openshift-console.apps.qe-daily-416-0415.qe.azure.devcluster.openshift.com/static/main-chunk-7643d3f1edb399bb7d65.min.js:1:562500) at div at div at ve (https://console-openshift-console.apps.qe-daily-416-0415.qe.azure.devcluster.openshift.com/static/main-chunk-7643d3f1edb399bb7d65.min.js:1:563346) at div at ke (https://console-openshift-console.apps.qe-daily-416-0415.qe.azure.devcluster.openshift.com/static/main-chunk-7643d3f1edb399bb7d65.min.js:1:571308) at i (https://console-openshift-console.apps.qe-daily-416-0415.qe.azure.devcluster.openshift.com/static/main-chunk-7643d3f1edb399bb7d65.min.js:1:329180) at _ (https://console-openshift-console.apps.qe-daily-416-0415.qe.azure.devcluster.openshift.com/static/vendor-plugins-shared~main-chunk-4dc722526d0f0470939e.min.js:31:4920) at ne (https://console-openshift-console.apps.qe-daily-416-0415.qe.azure.devcluster.openshift.com/static/vendor-plugins-shared~main-chunk-4dc722526d0f0470939e.min.js:31:10364) at Suspense at div at k (https://console-openshift-console.apps.qe-daily-416-0415.qe.azure.devcluster.openshift.com/static/main-chunk-7643d3f1edb399bb7d65.min.js:1:118938)
Expected results:
no issue was found
Additional info:
Enable pod securtiy labels when create the pod via UI: $ oc label namespace <ns> security.openshift.io/scc.podSecurityLabelSync=false --overwrite $ oc label namespace <ns> pod-security.kubernetes.io/enforce=privileged --overwrite $ oc label namespace <ns> pod-security.kubernetes.io/audit=privileged --overwrite $ oc label namespace <ns> fix
- links to
-
RHEA-2024:0041 OpenShift Container Platform 4.16.z bug fix update