Closed rbo closed 2 years ago
Let's check with:
for pod in `kubectl -n openshift-storage get pods|grep rbdplugin|grep -v provisioner|awk '{print $1}'`; do echo $pod; kubectl exec -it -n openshift-storage $pod -c csi-rbdplugin -- rbd device list; done
on which node which rbp is attached.
Volume is attached to node inf4
but pg pod is running on sf2
I Don't know how to detach volume by hand. Let's reboot the node...
oc adm drain inf4.coe.muc.redhat.com --ignore-daemonsets --delete-emptydir-data --force
....
oc debug node/inf4.coe.muc.redhat.com
Starting pod/inf4coemucredhatcom-debug ...
To use host binaries, run `chroot /host`
Pod IP: 10.32.96.4
If you don't see a command prompt, try pressing enter.
sh-4.4# chroot /host
sh-4.4# reboot
Terminated
sh-4.4#
Removing debug pod ...
After reboot, node is ready again.
$ oc adm uncordon inf4.coe.muc.redhat.com
node/inf4.coe.muc.redhat.com uncordoned
Problem solved.
https://noobaa-mgmt-openshift-storage.apps.cluster.coe.muc.redhat.com/
=> Application is not available
Application pod running, but have problems to connect to database:
Let's check the database: