-
Bug
-
Resolution: Done-Errata
-
Major
-
4.16
-
None
-
Quality / Stability / Reliability
-
False
-
-
None
-
Moderate
-
Yes
-
None
-
None
-
None
-
In Progress
-
Release Note Not Required
-
None
-
None
-
None
-
None
-
None
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