0

I follow this guide to install CloudStack and KVM:

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

Everything went well but after install cloudstack-agent:

# yum -y install cloudstack-agent

and do the configuration as the guide, I can't see any result when check if KVM is running OK on my machine:

# lsmod | grep kvm

I don't know the reason.

When I check cloudstack-agent status:

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

The log is:

# 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
...
cloud_cloud
  • 165
  • 2
  • 4
  • 15

1 Answers1

3

This guide only provides steps to install and configure cloudstack-agent on KVM server.

You need to install KVM first on this server:

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

After installing these packages, start libvirt service and check if kvm is working fine:

# lsmod | grep kvm
errorfetch
  • 116
  • 8