OpenStack下发虚拟机 Failed to get shared "write" lock Is another process using the image?

虚拟机下发后一直创建中,查看nova-compute日志有如下报错

OpenStack下发虚拟机 Failed to get shared "write" lock Is another process using the image?

 

 

 

查阅资料发现是qemu的版本问题

1、首先下载低版本的rpm包

wget http://mirror.centos.org/centos-7/7/virt/x86_64/kvm-common/Packages/q/qemu-img-ev-2.10.0-21.el7_5.7.1.x86_64.rpm

2、然后关闭相关服务

systemctl stop openstack-nova-compute libvirtd neutron-linuxbridge-agent

3、强制卸载qemu-img-ev

rpm -e qemu-img-ev --nodeps

4、安装低版本包

rpm -ivh qemu-img-ev-2.10.0-21.el7_5.7.1.x86_64.rpm

5、再启动相关服务

systemctl start openstack-nova-compute libvirtd neutron-linuxbridge-agent

 

重新下发虚拟机查看,已经是其它报错了。

 

艹!

 

上一篇:【快速上手 MongoDB】介绍、安装、核心概念、基本操作


下一篇:CLICKHOUSE按条件删除行