incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 马营 <breeze7...@gmail.com>
Subject Re: 添加主机是报错
Date Tue, 08 Jan 2013 06:19:32 GMT
删除libvirt的存储配置相关文件,然后重启一下进程,重新添加试试

2013/1/7 huangjy <huangjy@casc.ac.cn>

> 大家好,我使用的环境是
> ubuntu12.04 cs4.0在增加主机节点时主机节点报如下的错误,请问是什么问题呢,要如何更改
> 2013-01-07 10:03:07,945 INFO  [cloud.agent.Agent]
> (AgentShutdownThread:null) Stopping the agent: Reason = sig.kill
> 2013-01-07 10:03:08,008 INFO  [cloud.serializer.GsonHelper]
> (AgentShutdownThread:null) Default Builder inited.
> 2013-01-07 10:03:38,459 INFO  [utils.component.ComponentLocator]
> (main:null) Unable to find components.xml
> 2013-01-07 10:03:38,460 INFO  [utils.component.ComponentLocator]
> (main:null) Skipping configuration using components.xml
> 2013-01-07 10:03:38,460 INFO  [cloud.agent.AgentShell] (main:null)
> Implementation Version is 4.0.1-incubating.20121219082506
> 2013-01-07 10:03:38,461 INFO  [cloud.agent.AgentShell] (main:null)
> agent.properties found at /etc/cloud/agent/agent.properties
> 2013-01-07 10:03:38,462 INFO  [cloud.agent.AgentShell] (main:null)
> Defaulting to using properties file for storage
> 2013-01-07 10:03:38,465 INFO  [cloud.agent.AgentShell] (main:null)
> Defaulting to the constant time backoff algorithm
> 2013-01-07 10:03:38,541 INFO  [cloud.agent.Agent] (main:null) id is
> 2013-01-07 10:03:38,651 INFO
>  [resource.virtualnetwork.VirtualRoutingResource] (main:null)
> VirtualRoutingResource _scriptDir to use:
>  scripts/network/domr/kvm
> 2013-01-07 10:03:41,229 INFO  [kvm.resource.LibvirtComputingResource]
> (main:null) No libvirt.vif.driver specififed. Defaults to Brid
> geVifDriver.
> 2013-01-07 10:03:41,260 INFO  [cloud.agent.Agent] (main:null) Agent [id =
> new : type = LibvirtComputingResource : zone = 1 : pod = 1
>  : workers = 5 : host = 192.168.100.103 : port = 8250
> 2013-01-07 10:03:41,274 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.100.103:8250
> 2013-01-07 10:03:41,532 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> SSL: Handshake done
> 2013-01-07 10:03:42,488 ERROR [kvm.storage.LibvirtStorageAdaptor]
> (Agent-Handler-1:null) org.libvirt.LibvirtException: operation fai
> led: Storage source conflict with pool:
> 'b649adb1-f795-4019-9fa1-8c61935110ef'
> 2013-01-07 10:03:42,490 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:462)
>         at
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.initialize(LibvirtComputingResource.java:3250)
>         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:1110)
>         at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>         at java.lang.Thread.run(Thread.java:679)
>
>
>
> huangjy

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message