物理机centos7 之KVM踩坑日记

[root@liangyeyu ~]# virsh start tedu_node01 
错误:开始域 tedu_node01 失败
错误:内部错误:qemu unexpectedly closed the monitor: 2020-02-07T01:07:05.721744Z qemu-kvm: -drive file=/var/lib/libvirt/images/tedu_node01.img,format=qcow2,if=none,id=drive-virtio-disk0: could not open disk image /var/lib/libvirt/images/tedu_node01.img: Could not open backing file: Could not open backing file: Could not open '/var/lib/libvirt/images/.node_base.qcow2': Permission denied
根据提示权限不足于是: 
修改/etc/libvirt/qemu.conf中  
user="root"
group="root"
然后重启libvirt。

但是怎么尝试,仍然无法解决问题,依旧报上边相同的错误。  
后来仔细排查,发现原因在与防火墙和Selinux都是在严防死守状态

物理机centos7 之KVM踩坑日记_第1张图片

物理机centos7 之KVM踩坑日记_第2张图片

这坑踩的真冤枉!!!!!

你可能感兴趣的:(踩坑记)