Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I am using CentOS 7 with Ceph and ran into the same problem. I found that there were no /var/lock/cinder and /var/lock/nova directories on the compute/cinder nodes. I created them, gave them user and group permissions, and restarted services. After that I was able to delete stuck volumes and instances.

For stuck nova instances:

# mkdir /var/lock/nova
# chown -R nova:nova /var/lock/nova
# systemctl restart openstack-nova-compute.service

For stuck ceph volumes:

# mkdir /var/lock/cinder
# chown -R cinder:cinder /var/lock/cinder
# systemctl restart openstack-cinder-volume.service

Hope that helps.