Hi there again,
i wanted to install cloudstack on my simgle machine in my home environment.
so there is my router acting as dhcp for internet connection.
i used ubuntu 12.04 with kvm.
i've been able to install cloudstack, but adding a host does not work.
cloudstack stays in creating state for a long while and then says error.
i don't know why.
maybe because of my router acting as a dhcp or because i need more open
ports in the router or something else.
the file /etc/network/interfaces does not show any interfaces although
ipconfig does show some.
here are some logs, maybe you can figure out what's the issue here.
setupManagement.log:
DEBUG:root:execute:uname -r
DEBUG:root:execute:uname -m
DEBUG:root:execute:hostname -f
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8080
DEBUG:root:Failed to execute:
DEBUG:root:execute:ufw allow 8080/tcp
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 7080
DEBUG:root:Failed to execute:
DEBUG:root:execute:ufw allow 7080/tcp
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 8250
DEBUG:root:Failed to execute:
DEBUG:root:execute:ufw allow 8250/tcp
DEBUG:root:execute:iptables-save|grep INPUT|grep -w 9090
DEBUG:root:Failed to execute:
DEBUG:root:execute:ufw allow 9090/tcp
DEBUG:root:execute:sudo chmod 0777 /root
DEBUG:root:execute:rm -f /etc/cloud/management/server.xml
DEBUG:root:execute:rm -f /etc/cloud/management/tomcat6.conf
DEBUG:root:execute:ln -s /etc/cloud/management/server-nonssl.xml
/etc/cloud/management/server.xml
DEBUG:root:execute:ln -s /etc/cloud/management/tomcat6-nonssl.conf
/etc/cloud/management/tomcat6.conf
DEBUG:root:execute:hostname --fqdn
DEBUG:root:execute:mkdir /var/log/cloud-management/
DEBUG:root:execute:sudo /usr/sbin/service tomcat6 status
DEBUG:root:execute:sudo /usr/sbin/service tomcat6 stop
DEBUG:root:execute:sudo update-rc.d -f tomcat6 remove
DEBUG:root:execute:sudo /usr/sbin/service cloud-management status
DEBUG:root:Failed to execute: * CloudStack-specific Tomcat servlet
engine is not running.
DEBUG:root:execute:sudo /usr/sbin/service cloud-management stop
DEBUG:root:execute:sudo update-rc.d -f cloud-management remove
DEBUG:root:execute:sudo update-rc.d -f cloud-management defaults
DEBUG:root:execute:sudo /usr/sbin/service cloud-management status
DEBUG:root:Failed to execute: * CloudStack-specific Tomcat servlet
engine is not running.
DEBUG:root:execute:sudo /usr/sbin/service cloud-management start
agent.log:
2013-06-01 17:43:25,715 ERROR [kvm.storage.LibvirtStorageAdaptor]
(Agent-Handler-1:null) org.libvirt.LibvirtException: XML error: missing
pool source name element
2013-06-01 17:43:25,716 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:679)
thanks for any help =)
|