[Nova] Failed to get shared "write" lock Is another process using the image?

版权声明:转载请注明出处 JmilkFan_范桂飓:http://blog.csdn.net/jmilk https://blog.csdn.net/Jmilk/article/details/87860756

目录

文章目录

问题

[root@overcloud-compute-0 ~]# /usr/bin/python2 -m oslo_concurrency.prlimit --as=1073741824 --cpu=8 -- env LC_ALL=C LANG=C qemu-img info /var/lib/nova/instances/28d891fb-2623-4c01-b39f-0b5ee4f5804c/disk
qemu-img: Could not open '/var/lib/nova/instances/28d891fb-2623-4c01-b39f-0b5ee4f5804c/disk': Failed to get shared "write" lock
Is another process using the image?

TS:QEMU 的版本非法升级了

[root@overcloud-compute-0 nova]# qemu-img --version
qemu-img version 2.12.0 (qemu-kvm-rhev-2.12.0-18.el7_6.1)
Copyright (c) 2003-2017 Fabrice Bellard and the QEMU Project developers
[root@overcloud-compute-0 nova]#

解决

need this patch(https://review.openstack.org/#/q/Iae2962bb86100f03fd3ad9aac3767da876291e74) or downgrade the qemu-img version to <2.10.

猜你喜欢

转载自blog.csdn.net/Jmilk/article/details/87860756