Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

After host crash ceph vm volumes locked

We had a crash of one of our OpenStack hosts. After the reboot the VMs on that machine have not been able to start because of filesystem errors. Some investigations later we noticed that the VM ephemeral volumes (which we store in Ceph RBD) had still a write lock.

Manually remove the lock allowed us to start the VMs again, but I wonder if there should be an automated process for this. Should the ceph client normally detect that it is the same host retrying the lock? (We do use some docker containers for the OpenStack and Ceph, so it might be a problem with new „host“ names)