Hi to all.I'm trying to install cloudstack on a machine with Ubuntu 12.04 LTS.
I try to install the agent and management on the same computer, I follow the
official guide
on:https://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.0.2/html/Installation_Guide/index.html
.
The management server work fine. The agent say that it is running :
service cloudstack-agent status * cloud-agent is running
But the agent.log say:
2014-01-27 10:13:36,167 ERROR [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) org.libvirt.LibvirtException: XML error: missing pool
source name element
2014-01-27 10:13:36,169 WARN [utils.nio.Task] (Agent-Handler-1:null) Caught
the following exception but pushing on
java.lang.NullPointerException
at
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:539)
at
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:3328)
at com.cloud.agent.Agent.sendStartup(Agent.java:320)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:850)
at com.cloud.utils.nio.Task.run(Task.java:83)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
My network configuration was: (/etc/network/interfaces):
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet manual
# Public network
auto cloudbr0
iface cloudbr0 inet static
address 10.0.0.50
netmask 255.255.0.0
gateway 10.0.0.1
dns-nameservers 10.0.0.1
bridge_ports eth0
bridge_fd 5
bridge_stp off
bridge_maxwait 1
# Private network
auto cloudbr1
iface cloudbr1 inet manual
bridge_ports none
bridge_fd 5
bridge_stp off
bridge_maxwait 1
The management-server and the agent was boot in the same host with Ubuntu
Kvm.Please can you help me?
RegardsEmiliano