Skip to main content
NetApp Knowledge Base

Openstack Cinder volume: VM with ERROR state Failed to get "write" lock\nIs another process using the image

Views:
505
Visibility:
Public
Votes:
0
Category:
openstack
Specialty:
virt
Last Updated:

Applies to

  • Openstack Cinder driver 
  • Compute (nova) services
  • NFS protocol

Issue

  • Compute node reboots or fails and the NFS mount point disappears
  • which causes VM running on that compute to an ERROR state as the cinder-volume with the below error.

Failed to get "write" lock\nIs another | process using the image

2022-09-06 14:07:08.378 7 ERROR oslo_messaging.rpc.server     raise libvirtError('virDomainCreateWithFlags() failed')
2022-09-06 14:07:08.378 7 ERROR oslo_messaging.rpc.server libvirt.libvirtError: internal error: qemu unexpectedly closed the monitor: 2022-09-06T08:37:07.310519Z xxx-kvm: -device vir-xxx-pci,bus=pci.0,addr=0x4,drive=libvirt-1-format,id=virtio-disk0,bootindex=1,write-cache=on,serial=f0a03ccf-b923-4c73-a6a0-f57d4eb34db5: Failed to get shared "write" lock
2022-09-06 14:07:08.378 7 ERROR oslo_messaging.rpc.server Is another process using the image [/var/lib/nova/mnt/c75969649b0a65bb741b8ef144d2ab5b/volume-d7b52688-4bd5-4634-80df-9baef152bde2]?

 

 

Sign in to view the entire content of this KB article.

New to NetApp?

Learn more about our award-winning Support

NetApp provides no representations or warranties regarding the accuracy or reliability or serviceability of any information or recommendations provided in this publication or with respect to any results that may be obtained by the use of the information or observance of any recommendations provided herein. The information in this document is distributed AS IS and the use of this information or the implementation of any recommendations or techniques herein is a customer's responsibility and depends on the customer's ability to evaluate and integrate them into the customer's operational environment. This document and the information contained herein may be used solely in connection with the NetApp products discussed in this document.