cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bo Wang <brito.w...@gmail.com>
Subject Re: 加载主存储报错
Date Fri, 24 Jan 2014 03:25:23 GMT
看日志信息是kvm中cloud-agent服务出问题了,你去KVM上查看一下cloud-agent的日志:/var/log/cloud/agent.log找一下原因吧.


2014/1/21 <xiefp88@sina.com>

> 环境:cloudstack4.0.2+KVM+NFS
>
> CS:10.6.27.31
>
> kvm主机:10.6.31.4
>
> NFS:通过ctdb服务提供,虚拟ip:10.6.27.100    export地址:/gluster/data
>
> 在加入主存储是总是报错:
>
> EBUG [agent.transport.Request] (catalina-exec-19:null) Seq 1-523436038:
> Sending  { Cmd , MgmtId: 345052348489, via: 1, Ver: v1, Flags: 100011,
> [{"ModifyStoragePoolCommand":{"add":true,"pool":{"id":200,"uuid":"5d3a388b-b2ca-3c62-9703-6312647adc48","host":"10.6.26.100","path":"/gluster/data","port":2049,"type":"NetworkFilesystem"},"localPath":"/mnt//5d3a388b-b2ca-3c62-9703-6312647adc48","wait":0}}]
> }
>
> 2014-01-21 17:09:44,091 DEBUG [agent.transport.Request]
> (AgentManager-Handler-10:null) Seq 1-523436038: Processing:  { Ans: ,
> MgmtId: 345052348489, via: 1, Ver: v1, Flags: 10,
> [{"Answer":{"result":false,"details":"java.lang.NullPointerException\n\tat
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:539)\n\tat
> com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:57)\n\tat
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2087)\n\tat
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1053)\n\tat
> com.cloud.agent.Agent.processRequest(Agent.java:518)\n\tat
> com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)\n\tat
> com.cloud.utils.nio.Task.run(Task.java:83)\n\tat
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)\n\tat
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)\n\tat
> java.lang.Thread.run(Thread.java:679)\n","wait":0}}] }
>
> 2014-01-21 17:09:44,092 DEBUG [agent.transport.Request]
> (catalina-exec-19:null) Seq 1-523436038: Received:  { Ans: , MgmtId:
> 345052348489, via: 1, Ver: v1, Flags: 10, { Answer } }
>
> 2014-01-21 17:09:44,092 DEBUG [agent.manager.AgentManagerImpl]
> (catalina-exec-19:null) Details from executing class
> com.cloud.agent.api.ModifyStoragePoolCommand: java.lang.NullPointerException
>
> at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:539)
>
> 。。。。
>
> 日志见附件,请不吝赐教。
>
>
>
>

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