Welcome, Guest
Username: Password: Remember me
This forum is devoted to discussions around virtualization technologies related to cloud computing including Xen Cloud Platform, KVM and VMware.
  • Page:
  • 1

TOPIC: Cannot add host (this time I'm using KVM as hypervisor)

Cannot add host (this time I'm using KVM as hypervisor) 1 year 8 months ago #7761

Hi everyone, I'm writing this post because I can't add a host to a local cloud.com machine I have here at the office. First of all I have the management server, the agent and the DB running inside the same physical machine, I installed cloud.com 2.2.12 binaries:

cloud-agent-scripts-2.2.12-1.el6.x86_64
cloud-core-2.2.12-1.el6.x86_64
cloud-agent-2.2.12-1.el6.x86_64
cloud-utils-2.2.12-1.el6.x86_64
cloud-client-2.2.12-1.el6.x86_64
cloud-deps-2.2.12-1.el6.x86_64
cloud-agent-libs-2.2.12-1.el6.x86_64
cloud-setup-2.2.12-1.el6.x86_64
cloud-python-2.2.12-1.el6.x86_64
cloud-client-ui-2.2.12-1.el6.x86_64
cloud-server-2.2.12-1.el6.x86_64
cloud-daemonize-2.2.12-1.el6.x86_64

and this are the qemu packages I have

gpxe-roms-qemu-0.9.7-6.3.el6_0.1.noarch
qemu-img-0.12.1.2-3.113.el6.x86_64
qemu-kvm-0.12.1.2-3.113.el6.x86_64

[root@cloudotcom ~]# uname -a
Linux cloudotcom1.com.ar 2.6.32-71.29.1.el6.centos.plus.x86_64 #1 SMP Sun Jun 26 16:27:27 BST 2011 x86_64 x86_64 x86_64 GNU/Linux

CentOS version
[root@cloudotcom ~]# cat /etc/redhat-release
CentOS Linux release 6.0 (Final)

This are the traces from the management-server when I try to add the host (parameters -> host name: 10.0.20.50, username: root, password: rootpw):



2011-10-18 16:28:49,399 DEBUG [cloud.api.ApiServlet] (catalina-exec-18:null) Invalid paramemter in URL found. param: hosttags=
2011-10-18 16:28:49,407 INFO [cloud.resource.ResourceManagerImpl] (catalina-exec-18:null) Trying to add a new host at http://10.0.20.50 in data center 1
2011-10-18 16:28:49,538 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-18:null) Executing cmd: lsmod|grep kvm
2011-10-18 16:28:50,561 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-18:null) lsmod|grep kvm output:kvm_amd 37434 0
kvm 292815 1 kvm_amd

2011-10-18 16:28:51,562 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-18:null) Executing cmd: cloud-setup-agent -m 10.0.20.50 -z 1 -p 1 -c 1 -g 6e14ee1a-dbc9-3754-b074-6310c70943e6 -a --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0
2011-10-18 16:29:02,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:29:02,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:29:03,232 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:29:17,170 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector is running...
2011-10-18 16:29:17,171 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) HostStatsCollector is running...
2011-10-18 16:29:17,342 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) StorageCollector is running...
2011-10-18 16:29:17,346 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) There is no secondary storage VM for secondary storage host nfs://10.0.20.50/space/secondary
2011-10-18 16:29:25,408 DEBUG [utils.ssh.SSHCmdHelper] (catalina-exec-18:null) cloud-setup-agent -m 10.0.20.50 -z 1 -p 1 -c 1 -g 6e14ee1a-dbc9-3754-b074-6310c70943e6 -a --pubNic=cloudbr0 --prvNic=cloudbr0 --guestNic=cloudbr0 output:Cloud Agent setup is Done!
.. Configure Cgroup ...
2011-10-18 16:29:32,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:29:32,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:29:33,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:30:02,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:30:02,618 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:30:03,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:30:17,173 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) VmStatsCollector is running...
2011-10-18 16:30:17,174 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) HostStatsCollector is running...
2011-10-18 16:30:17,348 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) StorageCollector is running...
2011-10-18 16:30:17,352 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) There is no secondary storage VM for secondary storage host nfs://10.0.20.50/space/secondary
2011-10-18 16:30:32,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:30:32,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:30:33,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:31:02,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:31:02,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:31:03,223 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Snapshot scheduler.poll is being called at 2011-10-18 19:31:03 GMT
2011-10-18 16:31:03,225 DEBUG [storage.snapshot.SnapshotSchedulerImpl] (SnapshotPollTask:null) Got 0 snapshots to be executed at 2011-10-18 19:31:03 GMT
2011-10-18 16:31:03,230 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterMonitor-1:null) Found 0 running routers.
2011-10-18 16:31:03,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:31:03,347 DEBUG [cloud.network.ExternalNetworkManagerImpl] (ExternalNetworkMonitor-1:null) External network stats collector is running...
2011-10-18 16:31:03,350 DEBUG [cloud.network.ExternalNetworkManagerImpl] (ExternalNetworkMonitor-1:null) Zone zone1 is not configured for external networking, so skipping usage check.
2011-10-18 16:31:03,351 DEBUG [cloud.network.ExternalNetworkManagerImpl] (ExternalNetworkMonitor-1:null) External network stats collector is running...
2011-10-18 16:31:03,353 DEBUG [cloud.network.ExternalNetworkManagerImpl] (ExternalNetworkMonitor-1:null) Zone zone1 is not configured for external networking, so skipping usage check.
2011-10-18 16:31:03,354 DEBUG [cloud.network.ExternalNetworkManagerImpl] (ExternalNetworkMonitor-1:null) External network stats collector is running...
2011-10-18 16:31:03,356 DEBUG [cloud.network.ExternalNetworkManagerImpl] (ExternalNetworkMonitor-1:null) Zone zone1 is not configured for external networking, so skipping usage check.
2011-10-18 16:31:17,175 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector is running...
2011-10-18 16:31:17,176 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) HostStatsCollector is running...
2011-10-18 16:31:17,353 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) StorageCollector is running...
2011-10-18 16:31:17,357 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) There is no secondary storage VM for secondary storage host nfs://10.0.20.50/space/secondary
2011-10-18 16:31:32,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:31:32,620 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:31:33,232 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:32:02,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:32:02,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:32:03,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:32:17,178 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector is running...
2011-10-18 16:32:17,179 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) HostStatsCollector is running...
2011-10-18 16:32:17,358 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) StorageCollector is running...
2011-10-18 16:32:17,362 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) There is no secondary storage VM for secondary storage host nfs://10.0.20.50/space/secondary
2011-10-18 16:32:32,199 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:32:32,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:32:33,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:33:02,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:33:02,618 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:33:03,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:33:17,181 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) VmStatsCollector is running...
2011-10-18 16:33:17,182 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) HostStatsCollector is running...
2011-10-18 16:33:17,364 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) StorageCollector is running...
2011-10-18 16:33:17,368 DEBUG [cloud.server.StatsCollector] (StatsCollector-3:null) There is no secondary storage VM for secondary storage host nfs://10.0.20.50/space/secondary
2011-10-18 16:33:32,199 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:33:32,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:33:33,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:34:02,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:34:02,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:34:03,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers.
2011-10-18 16:34:17,185 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) HostStatsCollector is running...
2011-10-18 16:34:17,185 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector is running...
2011-10-18 16:34:17,369 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) StorageCollector is running...
2011-10-18 16:34:17,373 DEBUG [cloud.server.StatsCollector] (StatsCollector-1:null) There is no secondary storage VM for secondary storage host nfs://10.0.20.50/space/secondary
2011-10-18 16:34:26,428 DEBUG [kvm.discoverer.KvmServerDiscoverer] (catalina-exec-18:null) Timeout, to wait for the host connecting to mgt svr, assuming it is failed
2011-10-18 16:34:26,428 WARN [cloud.resource.ResourceManagerImpl] (catalina-exec-18:null) Unable to find the server resources at http://10.0.20.50
2011-10-18 16:34:26,429 WARN [api.commands.AddHostCmd] (catalina-exec-18:null) Exception:
com.cloud.exception.DiscoveryException: Unable to add the host
at com.cloud.resource.ResourceManagerImpl.discoverHostsFull(ResourceManagerImpl.java:601)
at com.cloud.resource.ResourceManagerImpl.discoverHosts(ResourceManagerImpl.java:432)
at com.cloud.api.commands.AddHostCmd.execute(AddHostCmd.java:138)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:131)
at com.cloud.api.ApiServer.queueCommand(ApiServer.java:445)
at com.cloud.api.ApiServer.handleRequest(ApiServer.java:358)
at com.cloud.api.ApiServlet.processRequest(ApiServlet.java:302)
at com.cloud.api.ApiServlet.doGet(ApiServlet.java:65)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2260)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
2011-10-18 16:34:26,430 WARN [cloud.api.ApiDispatcher] (catalina-exec-18:null) class com.cloud.api.ServerApiException : Unable to add the host
2011-10-18 16:34:32,200 DEBUG [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null) Zone 1 is not ready to launch secondary storage VM yet
2011-10-18 16:34:32,619 DEBUG [cloud.consoleproxy.ConsoleProxyManagerImpl] (consoleproxy-1:null) Skip capacity scan due to there is no Primary Storage UPintenance mode
2011-10-18 16:34:33,231 DEBUG [network.router.VirtualNetworkApplianceManagerImpl] (RouterStatusMonitor-1:null) Found 0 routers


I followed the instructions of this page:

docs.cloud.com/index.php?title=CloudStac..._Guide&action;=source

I added secondary storage as the instructions says, the NFS server is also running on the same machine. I checked that KVM is working installing virt-manager and manually creating a VM. Can anyone help me with this issue please?


Cheers
Diego :)
The administrator has disabled public write access.

Re: Cannot add host (this time I'm using KVM as hypervisor) 1 year 8 months ago #7774

  • ke4qqq
  • ke4qqq's Avatar
  • OFFLINE
  • Administrator
  • Posts: 620
  • Thank you received: 69
  • Karma: 22
Can you run cloud-setup-agent on the host and paste the output here?
The administrator has disabled public write access.

Re: Cannot add host (this time I'm using KVM as hypervisor) 1 year 8 months ago #7776

[root@cloudotcom ~]# cloud-setup-agent
Welcome to Cloud Agent Setup:
Please input the Management Server Name/IP:[10.0.20.50]
Please input the Zone Id:[1]
Please input the Pod Id:[1]
Please input the Cluster Id:[1]
Please choose which network used to create VM:[br0]
Starting to configure your system:
Configure Cgroup ... [OK]
Configure SElinux ... [OK]
Configure Network ... [OK]
Configure Libvirt ... [OK]
Configure Firewall ... [OK]
Configure cloudAgent ... [OK]
Cloud Agent setup is Done!

And this is the log under /var/log/cloud/agent/agent.log


/usr/bin/build-classpath: error: Could not find jnetpcap.jar Java extension for this JVM
/usr/bin/build-classpath: error: Some specified jars were not found
Current directory is /usr/lib64/cloud/agent
CLASSPATH to run the agent: /usr/share/java/commons-collections.jar:/usr/share/java/commons-dbcp.jar:/usr/share/java/commons-logging.jar:/usr/share/java/commons-logging-api.jar:/usr/share/java/commons-pool.jar:/usr/share/java/commons-httpclient.jar:/usr/share/java/ws-commons-util.jar:/usr/share/java/jnetpcap.jar:/usr/share/java/tomcat6-servlet-2.5-api.jar:/usr/share/java/tomcat6-el-2.1-api-6.0.24.jar:/usr/share/java/tomcat6-jsp-2.1-api-6.0.24.jar:/usr/share/java/vmware-lib-activation.jar:/usr/share/java/vmware-vim25.jar:/usr/share/java/cloud-backport-util-concurrent-3.0.jar:/usr/share/java/vmware-lib-jaxen-core.jar:/usr/share/java/cloud-servlet-api.jar:/usr/share/java/cloud-xenserver-5.6.100-1.jar:/usr/share/java/cloud-mysql-connector-java-5.1.7-bin.jar:/usr/share/java/cloud-iControl.jar:/usr/share/java/cloud-commons-codec-1.4.jar:/usr/share/java/vmware-apputils.jar:/usr/share/java/cloud-commons-pool-1.4.jar:/usr/share/java/vmware-lib-xalan.jar:/usr/share/java/vmware-vim.jar:/usr/share/java/vmware-lib-smtp.jar:/usr/share/java/cloud-axis.jar:/usr/share/java/cloud-bcprov-jdk16-1.45.jar:/usr/share/java/cloud-commons-httpclient-3.1.jar:/usr/share/java/cloud-wsdl4j.jar:/usr/share/java/vmware-lib-mailapi.jar:/usr/share/java/cloud-httpcore-4.0.jar:/usr/share/java/cloud-log4j.jar:/usr/share/java/cloud-commons-dbcp-1.2.2.jar:/usr/share/java/vmware-lib-xerces.jar:/usr/share/java/cloud-xstream-1.3.1.jar:/usr/share/java/cloud-commons-discovery.jar:/usr/share/java/vmware-lib-wbem.jar:/usr/share/java/cloud-gson.jar:/usr/share/java/cloud-log4j-extras.jar:/usr/share/java/cloud-xmlrpc-common-3.1.3.jar:/usr/share/java/cloud-email.jar:/usr/share/java/cloud-xmlrpc-client-3.1.3.jar:/usr/share/java/jetty-util-6.1.26.jar:/usr/share/java/vmware-lib-jaxrpc.jar:/usr/share/java/vmware-lib-saxpath.jar:/usr/share/java/jetty-6.1.26.jar:/usr/share/java/cloud-jstl-1.2.jar:/usr/share/java/vmware-lib-jaxen-jdom.jar:/usr/share/java/cloud-cglib.jar:/usr/share/java/cloud-manageontap.jar:/usr/share/java/vmware-lib-jdom.jar:/usr/share/java/cloud-commons-logging-1.1.1.jar:/usr/share/java/cloud-jnetpcap.jar:/usr/share/java/cloud-trilead-ssh2-build213.jar:/usr/share/java/vmware-credstore.jar:/usr/share/java/cloud-junit.jar:/usr/share/java/cloud-jsch-0.1.42.jar:/usr/share/java/cloud-commons-collections-3.2.1.jar:/usr/share/java/cloud-ws-commons-util-1.0.2.jar:/usr/share/java/vmware-lib-xml-apis.jar:/usr/share/java/cloud-libvirt-0.4.5.jar:/usr/share/java/cloud-ehcache.jar:/usr/share/java/cloud-utils.jar:/usr/share/java/cloud-api.jar:/usr/share/java/cloud-core.jar:/usr/share/java/cloud-server.jar:/usr/share/java/cloud-server-extras.jar:/usr/share/java/cloud-agent.jar:/usr/share/java/cloud-console-common.jar:/usr/share/java/cloud-console-proxy.jar:/usr/share/java/cloud-core-extras.jar:/usr/share/java/cloud-agent-extras.jar:/usr/share/java/jna.jar:/etc/cloud/agent
Using manually-configured network device
Using manually-configured network device
Agent started. PID: 5515
log4j:WARN No appenders could be found for logger (com.cloud.agent.AgentShell).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
2011-10-19 10:35:02,612{GMT} INFO [utils.component.ComponentLocator] (main:) Unable to find components.xml
2011-10-19 10:35:02,612 INFO [utils.component.ComponentLocator] (main:null) Unable to find components.xml
2011-10-19 10:35:02,614{GMT} INFO [utils.component.ComponentLocator] (main:) Skipping configuration using components.xml
2011-10-19 10:35:02,614 INFO [utils.component.ComponentLocator] (main:null) Skipping configuration using components.xml
2011-10-19 10:35:02,614{GMT} INFO [cloud.agent.AgentShell] (main:) Implementation Version is 2.2.12.20110929151920
2011-10-19 10:35:02,614 INFO [cloud.agent.AgentShell] (main:null) Implementation Version is 2.2.12.20110929151920
2011-10-19 10:35:02,615{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to using properties file for storage
2011-10-19 10:35:02,615 INFO [cloud.agent.AgentShell] (main:null) Defaulting to using properties file for storage
2011-10-19 10:35:02,627{GMT} INFO [cloud.agent.AgentShell] (main:) Defaulting to the constant time backoff algorithm
2011-10-19 10:35:02,627 INFO [cloud.agent.AgentShell] (main:null) Defaulting to the constant time backoff algorithm
2011-10-19 10:35:02,710{GMT} INFO [cloud.agent.Agent] (main:) id is 4
2011-10-19 10:35:02,710 INFO [cloud.agent.Agent] (main:null) id is 4
2011-10-19 10:35:02,849{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2011-10-19 10:35:02,849 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) VirtualRoutingResource _scriptDir to use: scripts/network/domr/kvm
2011-10-19 10:35:02,851{GMT} INFO [resource.virtualnetwork.VirtualRoutingResource] (main:) ipassoc.sh found in /usr/lib64/cloud/agent/./scripts/network/domr/ipassoc.sh
2011-10-19 10:35:02,851 INFO [resource.virtualnetwork.VirtualRoutingResource] (main:null) ipassoc.sh found in /usr/lib64/cloud/agent/./scripts/network/domr/ipassoc.sh
2011-10-19 10:35:03,505{GMT} INFO [resource.computing.LibvirtComputingResource] (main:) agent.properties found at /etc/cloud/agent/agent.properties
2011-10-19 10:35:03,505 INFO [resource.computing.LibvirtComputingResource] (main:null) agent.properties found at /etc/cloud/agent/agent.properties
2011-10-19 10:35:03,515{GMT} INFO [cloud.agent.Agent] (main:) Agent [id = 4 : type = LibvirtComputingResource : zone = 1 : pod = 1 : workers = 5 : host = 10.0.20.50 : port = 8250
2011-10-19 10:35:03,515 INFO [cloud.agent.Agent] (main:null) Agent [id = 4 : type = LibvirtComputingResource : zone = 1 : pod = 1 : workers = 5 : host = 10.0.20.50 : port = 8250
2011-10-19 10:35:03,523{GMT} INFO [utils.nio.NioClient] (Agent-Selector:) Connecting to 10.0.20.50:8250
2011-10-19 10:35:03,523 INFO [utils.nio.NioClient] (Agent-Selector:null) Connecting to 10.0.20.50:8250
2011-10-19 10:35:04,137{GMT} INFO [utils.nio.NioClient] (Agent-Selector:) SSL: Handshake done
2011-10-19 10:35:04,137 INFO [utils.nio.NioClient] (Agent-Selector:null) SSL: Handshake done
libvir: QEMU error : Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
2011-10-19 10:35:04,169{GMT} WARN [resource.computing.LibvirtComputingResource] (Agent-Handler-1:) Unable to get vms
org.libvirt.LibvirtException: Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.processError(Unknown Source)
at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source)
at org.libvirt.Connect.domainLookupByUUID(Unknown Source)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getAllVms(LibvirtComputingResource.java:2853)
at com.cloud.agent.resource.computing.LibvirtComputingResource.sync(LibvirtComputingResource.java:2631)
at com.cloud.agent.resource.computing.LibvirtComputingResource.initialize(LibvirtComputingResource.java:2591)
at com.cloud.agent.Agent.sendStartup(Agent.java:302)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:810)
at com.cloud.utils.nio.Task.run(Task.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
2011-10-19 10:35:04,169 WARN [resource.computing.LibvirtComputingResource] (Agent-Handler-1:null) Unable to get vms
org.libvirt.LibvirtException: Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.processError(Unknown Source)
at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source)
at org.libvirt.Connect.domainLookupByUUID(Unknown Source)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getAllVms(LibvirtComputingResource.java:2853)
at com.cloud.agent.resource.computing.LibvirtComputingResource.sync(LibvirtComputingResource.java:2631)
at com.cloud.agent.resource.computing.LibvirtComputingResource.initialize(LibvirtComputingResource.java:2591)
at com.cloud.agent.Agent.sendStartup(Agent.java:302)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:810)
at com.cloud.utils.nio.Task.run(Task.java:85)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
2011-10-19 10:35:04,366{GMT} INFO [cloud.serializer.GsonHelper] (Agent-Handler-1:) Default Builder inited.
2011-10-19 10:35:04,366 INFO [cloud.serializer.GsonHelper] (Agent-Handler-1:null) Default Builder inited.
2011-10-19 10:35:05,436{GMT} INFO [cloud.agent.Agent] (Agent-Handler-5:) Proccess agent startup answer, agent id = 2
2011-10-19 10:35:05,436 INFO [cloud.agent.Agent] (Agent-Handler-5:null) Proccess agent startup answer, agent id = 2
2011-10-19 10:35:05,436{GMT} INFO [cloud.agent.Agent] (Agent-Handler-5:) Set agent id 2
2011-10-19 10:35:05,436 INFO [cloud.agent.Agent] (Agent-Handler-5:null) Set agent id 2
2011-10-19 10:35:05,438{GMT} INFO [cloud.agent.Agent] (Agent-Handler-5:) Startup Response Received: agent id = 2
2011-10-19 10:35:05,438 INFO [cloud.agent.Agent] (Agent-Handler-5:null) Startup Response Received: agent id = 2
libvir: QEMU error : Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
2011-10-19 10:36:05,443{GMT} WARN [resource.computing.LibvirtComputingResource] (UgentTask-1:) Unable to get vms
org.libvirt.LibvirtException: Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.processError(Unknown Source)
at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source)
at org.libvirt.Connect.domainLookupByUUID(Unknown Source)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getAllVms(LibvirtComputingResource.java:2853)
at com.cloud.agent.resource.computing.LibvirtComputingResource.sync(LibvirtComputingResource.java:2631)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getCurrentStatus(LibvirtComputingResource.java:2559)
at com.cloud.agent.Agent.processOtherTask(Agent.java:568)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:829)
at com.cloud.utils.nio.Task.run(Task.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
2011-10-19 10:36:05,443 WARN [resource.computing.LibvirtComputingResource] (UgentTask-1:null) Unable to get vms
org.libvirt.LibvirtException: Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.processError(Unknown Source)
at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source)
at org.libvirt.Connect.domainLookupByUUID(Unknown Source)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getAllVms(LibvirtComputingResource.java:2853)
at com.cloud.agent.resource.computing.LibvirtComputingResource.sync(LibvirtComputingResource.java:2631)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getCurrentStatus(LibvirtComputingResource.java:2559)
at com.cloud.agent.Agent.processOtherTask(Agent.java:568)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:829)
at com.cloud.utils.nio.Task.run(Task.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
libvir: QEMU error : Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
2011-10-19 10:37:05,444{GMT} WARN [resource.computing.LibvirtComputingResource] (UgentTask-2:) Unable to get vms
org.libvirt.LibvirtException: Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.processError(Unknown Source)
at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source)
at org.libvirt.Connect.domainLookupByUUID(Unknown Source)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getAllVms(LibvirtComputingResource.java:2853)
at com.cloud.agent.resource.computing.LibvirtComputingResource.sync(LibvirtComputingResource.java:2631)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getCurrentStatus(LibvirtComputingResource.java:2559)
at com.cloud.agent.Agent.processOtherTask(Agent.java:568)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:829)
at com.cloud.utils.nio.Task.run(Task.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
2011-10-19 10:37:05,444 WARN [resource.computing.LibvirtComputingResource] (UgentTask-2:null) Unable to get vms
org.libvirt.LibvirtException: Domain not found: no domain with matching uuid '098f6bcd-4621-3373-8ade-4e832627b4f6'
at org.libvirt.ErrorHandler.processError(Unknown Source)
at org.libvirt.Connect.processError(Unknown Source)
at org.libvirt.Connect.domainLookupByUUIDString(Unknown Source)
at org.libvirt.Connect.domainLookupByUUID(Unknown Source)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getAllVms(LibvirtComputingResource.java:2853)
at com.cloud.agent.resource.computing.LibvirtComputingResource.sync(LibvirtComputingResource.java:2631)
at com.cloud.agent.resource.computing.LibvirtComputingResource.getCurrentStatus(LibvirtComputingResource.java:2559)
at com.cloud.agent.Agent.processOtherTask(Agent.java:568)
at com.cloud.agent.Agent$ServerHandler.doTask(Agent.java:829)
at com.cloud.utils.nio.Task.run(Task.java:85)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
The administrator has disabled public write access.

Re: Cannot add host (this time I'm using KVM as hypervisor) 9 months 2 weeks ago #12746

  • Tbabs
  • Tbabs's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Diego, did you ever figure this problem out? I'm seeing a similar issue, I think.
The administrator has disabled public write access.

Re: Cannot add host (this time I'm using KVM as hypervisor) 9 months 2 weeks ago #12750

Hi Tbabs,

The last time I had this issue was with the latest version of CloudStack, check that the Contents of /etc/cgconfig.conf are:


===============================
mount {
cpuset = /cgroup/cpuset;
cpu = /cgroup/cpu;
cpuacct = /cgroup/cpuacct;
memory = /cgroup/memory;
devices = /cgroup/devices;
freezer = /cgroup/freezer;
net_cls = /cgroup/net_cls;
blkio = /cgroup/blkio;
}

group virt {
cpu {
cpu.shares = 9216;
}
}


Then execute -> service restart cgconfig and try again. I hope this helps :)
The administrator has disabled public write access.

Re: Cannot add host (this time I'm using KVM as hypervisor) 9 months 2 weeks ago #12752

  • Tbabs
  • Tbabs's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 3
  • Karma: 0
Unfortunately this did not work for me, but thank you for the reply!
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.451 seconds
About BuildaCloud.org Resources Site Info

Build a Cloud.org is a resource for those users who want to build cloud computing software with both open source and proprietary software.