[Nova] Failed to get shared "write" lock Is another process using the image?
2019-02-21 14:45 云物互联 阅读(2361) 评论(0) 编辑 收藏 举报目录
问题
[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.
转载请注明作者:JmilkFan 范桂飓