1.libvirt相关配置文件
配置virsh免密码连接,修改/etc/libvirt/libvirtd.conf
listen_tls = 0 listen_tcp = 1 tcp_port = "16509" listen_addr = "172.16.201.8" auth_tcp = "none"
修改/etc/sysconfig/libvirtd
LIBVIRTD_CONFIG=/etc/libvirt/libvirtd.conf LIBVIRTD_ARGS="--listen"
2. 通过如下命令检测计算节点之间连接是否正常
在compute1节点上: virsh -c qemu+tcp://compute2/system 在compute2节点上 virsh -c qemu+tcp://compute1/system
3.不要修改nova的instances_path,会导致Unable to open file: /home/instances/a3…e1/console.log: Permission denied
具体参见:https://ask.openstack.org/en/question/112912/consolelog-permission-error-in-libvirt-after-changing-instances_path-in-novaconf/