1. 程式人生 > >openstack安裝報錯Could not evaluate: Could not find command '/usr/bin/virsh'

openstack安裝報錯Could not evaluate: Could not find command '/usr/bin/virsh'

在給openstack新增nova計算節點時報錯:
在這裡插入圖片描述

ERROR : Error appeared during Puppet run: 192.168.1.202_compute.pp
Error: /Stage[main]/Packstack::Nova::Compute::Libvirt/Exec[virsh-net-destroy-default]: Could not evaluate: Could not find command '/usr/bin/virsh'

解決方法
nova伺服器安裝虛擬化平臺元件

[[email protected]~]#yum install -y qemu-kvm libvirt-client libvirt-daemon libvirt-daemon-driver-qemu python-setuptools

在這裡插入圖片描述