安装cloudstack-agent后,KVM模块不能加载

我遵循本指南来安装CloudStack和KVM:

https://docs.cloudstack.apache.org/projects/cloudstack-installation/en/latest/qig.html#kvm-setup-and-installation

一切顺利,但安装cloudstack代理后:

# yum -y install cloudstack-agent 

并做configuration为指导,检查KVM在我的机器上是否正常运行时,我看不到任何结果:

 # lsmod | grep kvm 

我不知道原因。

当我检查云端代理状态时:

 # service cloudstack-agent status cloudstack-agent dead but subsys locked 

日志是:

 # tail /var/log/cloudstack/agent/agent.log ... 2017-04-18 12:13:14,205 ERROR [kvm.storage.LibvirtStorageAdaptor] (Agent-Handler-1:null) (logid:) org.libvirt.LibvirtException: XML error: missing pool source name element ... 

本指南仅提供在KVM服务器上安装和configurationcloudstack-agent的步骤。

您需要先在此服务器上安装KVM:

 # yum install kvm qemu-kvm python-virtinst libvirt libvirt-python libguestfs-tools 

安装这些软件包后,启动libvirt服务,并检查kvm是否工作正常:

 # lsmod | grep kvm