0

My pods are showing status as Unknown; and attempts to scale them down to 0 have failed from command prompt as well as UI.

And this is not allowing me to start new pods as well. See error below:

Unable to mount volumes for pod "mysql-1-v9lcr_cloud-apps(1e9beb72-e3cf-11e8-943e-02ec8e61afcf)": timeout expired waiting for volumes to attach or mount for pod "cloud-apps"/"mysql-1-v9lcr". list of unmounted volumes=[mysql-data]. list of unattached volumes=[mysql-data default-token-zsbnc]

Location: starter-ca-central-1

Pritesh Mhatre
  • 3,847
  • 2
  • 23
  • 27
  • `oc delete pod --now --force` should take care of that pesky pod not dying. For the stuck volume, reach out to the Online community team at https://help.openshift.com/forms/community-contact.html of it persists – Will Gordon Nov 09 '18 at 13:14
  • Appreciate your help, force delete as well did not clear the pods; they are still being returned in "oc get pods" output. I have contacted the community. – Pritesh Mhatre Nov 09 '18 at 13:44
  • My apologies, the correct command is `oc delete pod --grace-period=0 --force` – Will Gordon Nov 09 '18 at 15:29
  • @WillGordon thanks, it finally worked!!! – Pritesh Mhatre Nov 09 '18 at 15:47

0 Answers0