cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sunsbin" <youxiany...@gmail.com>
Subject 回复: 用户虚机创建报错
Date Tue, 27 Aug 2013 12:11:42 GMT
看看这个是不是你遇到的问题,我刚解决http://clovemfong.blog.51cto.com/3297559/1272798


------------------ 原始邮件 ------------------
发件人: "users-cn@cloudstack.apache.orgza"<zanghongtu2006@gmail.com>;
发送时间: 2013年8月27日(星期二) 凌晨0:28
收件人: "users-cn"<users-cn@cloudstack.apache.org>; 

主题: Re: 用户虚机创建报错



我也遇到过,可能是nfs4验证的问题
需要设置agent的主机名的域名和nfs的域名相同
比如agent.test.cloud, nfs.test.cloud, manage.test.cloud

或者换用nfs3试试看


2013/8/26 求职者 <gaoyaqingcareer@163.com>

>  2013-08-26 17:04:13,491 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.10.109:8250
> 2013-08-26 17:04:13,493 ERROR [utils.nio.NioConnection]
> (Agent-Selector:null) Unable to connect to remote
> 2013-08-26 17:04:18,493 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Reconnecting...
> 2013-08-26 17:04:18,494 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.10.109:8250
> 2013-08-26 17:04:18,495 ERROR [utils.nio.NioConnection]
> (Agent-Selector:null) Unable to connect to remote
> 2013-08-26 17:04:23,496 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Reconnecting...
> 2013-08-26 17:04:23,497 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.10.109:8250
> 2013-08-26 17:04:23,498 ERROR [utils.nio.NioConnection]
> (Agent-Selector:null) Unable to connect to remote
> 2013-08-26 17:04:28,499 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Reconnecting...
> 2013-08-26 17:04:28,499 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.10.109:8250
> 2013-08-26 17:04:28,501 ERROR [utils.nio.NioConnection]
> (Agent-Selector:null) Unable to connect to remote
> 2013-08-26 17:04:33,501 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Reconnecting...
> 2013-08-26 17:04:33,502 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.10.109:8250
> 2013-08-26 17:04:33,503 ERROR [utils.nio.NioConnection]
> (Agent-Selector:null) Unable to connect to remote
> 2013-08-26 17:04:38,504 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Reconnecting...
> 2013-08-26 17:04:38,505 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> Connecting to 192.168.10.109:8250
> 2013-08-26 17:04:38,703 INFO  [utils.nio.NioClient] (Agent-Selector:null)
> SSL: Handshake done
> 2013-08-26 17:04:39,728 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Proccess agent startup answer, agent id = 3
> 2013-08-26 17:04:39,729 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Set agent id 3
> 2013-08-26 17:04:39,730 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Startup Response Received: agent id = 3
> 2013-08-26 17:04:43,704 INFO  [cloud.agent.Agent] (Agent-Handler-2:null)
> Connected to the server
> 2013-08-26 17:09:44,249 WARN  [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-2:null) Exception
> com.cloud.utils.exception.CloudRuntimeException:
> org.libvirt.LibvirtException: 无法创建路径
> '/mnt/39a3abe3-8a72-3bbe-a2ba-10c78cb848b7/r-23-VM-patchdisk': 无效的参数
>         at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createPhysicalDisk(LibvirtStorageAdaptor.java:556)
>         at
> com.cloud.hypervisor.kvm.storage.LibvirtStoragePool.createPhysicalDisk(LibvirtStoragePool.java:101)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createPatchVbd(LibvirtComputingResource.java:3001)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:2964)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2829)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1061)
>         at com.cloud.agent.Agent.processRequest(Agent.java:518)
>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
>         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)
> 2013-08-26 17:09:44,250 WARN  [cloud.agent.Agent]
> (agentRequest-Handler-2:null) Caught:
> java.lang.NullPointerException
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupVMNetworks(LibvirtComputingResource.java:3943)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.handleVmStartFailure(LibvirtComputingResource.java:2730)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2855)
>         at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1061)
>         at com.cloud.agent.Agent.processRequest(Agent.java:518)
>         at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:831)
>         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)
Mime
  • Unnamed multipart/alternative (inline, 8-Bit, 0 bytes)
View raw message