Storage client status reporter pod is stuck in terminating state
Learn how to diagnose and fix issues causing the storage client status reporter pod to get stuck during termination.
If the storageclient-status-reporter pod gets stuck during termination, the following options
don't work:
- Force deletion of the pod.
- Patching of the finalizer.
To fix this issue, remove the finalizer by using the following
command:
for pod in $(oc get pod --field-selector=status.phase=Failed -oname -nopenshift-storage | grep storageclient)
do
oc patch $pod -nopenshift-storage --type merge -p '{"status":{"qosClass":"BestEffort"}}' --subresource status
oc patch $pod -nopenshift-storage --type merge -p '{"metadata":{"finalizers": []}}'
done