incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Edison Su <Edison...@citrix.com>
Subject RE: Exception while trying to start secondary storage vm Exception while trying to start secondary storage vm
Date Fri, 07 Dec 2012 23:19:05 GMT
你可以参考这个帖子:http://markmail.org/message/tvaprux4o3jdwhrv
主要原因是你的nfs服务器有问题,不能写。你可以用nfs v3试试

> -----Original Message-----
> From: 仇惊雷 [mailto:qiujinglei@gmail.com]
> Sent: Friday, December 07, 2012 3:19 AM
> To: cloudstack-users-cn@incubator.apache.org
> Subject: Re: Exception while trying to start secondary storage vm Exception
> while trying to start secondary storage vm
> 
> 谢谢你的解答。
> 
> 错误org.libvirt.LibvirtException: cannot create path
> '/mnt/.../s-161-VM-patchdisk': Invalid argument
> 
> 我该如何修改这个问题?
> 
> 
> agent.log 错误内容如下:
> 
> 2012-12-07 13:08:38,298 WARN  [kvm.resource.LibvirtComputingResource]
> (agentRequest-Handler-4:null) Exception
> com.cloud.utils.exception.CloudRuntimeException:
> org.libvirt.LibvirtException: cannot create path
> '/mnt/81deed58-d0b4-3d56-bd55-db7d444c3960/s-161-VM-patchdisk':
> Invalid argument
> 	at
> com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createPhysicalDisk
> (LibvirtStorageAdaptor.java:556)
> 	at
> com.cloud.hypervisor.kvm.storage.LibvirtStoragePool.createPhysicalDisk(Lib
> virtStoragePool.java:101)
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createPatch
> Vbd(LibvirtComputingResource.java:2980)
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(Li
> bvirtComputingResource.java:2943)
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(Libv
> irtComputingResource.java:2808)
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeReq
> uest(LibvirtComputingResource.java:1035)
> 	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.jav
> a:1110)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:603)
> 	at java.lang.Thread.run(Thread.java:679)
> 2012-12-07 13:08:38,298 WARN  [cloud.agent.Agent]
> (agentRequest-Handler-4:null) Caught:
> java.lang.NullPointerException
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.cleanupVMN
> etworks(LibvirtComputingResource.java:3922)
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.handleVmSt
> artFailure(LibvirtComputingResource.java:2709)
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(Libv
> irtComputingResource.java:2834)
> 	at
> com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeReq
> uest(LibvirtComputingResource.java:1035)
> 	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.jav
> a:1110)
> 	at
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:603)
> 	at java.lang.Thread.run(Thread.java:679)
> 
> 
> 
> 2012/12/7 Edison Su <Edison.su@citrix.com>
> 
> >
> > 看上去是启动ssvm失败了。你把kvm机器上的agent.log的loglevel设
> 置成debug(改/etc/cloud/agent/cl
> > oud-log4j),当ssvm正在启动的时候,在查看一下agent.log
> >
> > From: 仇惊雷 [mailto:qiujinglei@gmail.com]
> > Sent: Thursday, December 06, 2012 10:31 PM
> > To: cloudstack-users-cn@incubator.apache.org
> > Subject: Re: Exception while trying to start secondary storage vm
> > Exception while trying to start secondary storage vm
> >
> > 补充
> > 发现 agent.log 报错了
> > log 参见附件
> >
> > 2012/12/7 仇惊雷 <qiujinglei@gmail.com<mailto:qiujinglei@gmail.com>>
> > hi, all.
> >
> > 我在安装cloudstack4.0 遇到了一个问题。
> > 环境 centos6.3 kvm
> >
> > 我参照的安装文档是官方的Apache_CloudStack-4.0.0-incubating-
> Installation_Guide-en-U
> > S.pdf
> >
> > 文档中
> > DEVICE=eth0.100
> > HWADDR=00:04:xx:xx:xx:xx
> > ONBOOT=yes
> > HOTPLUG=no
> > BOOTPROTO=none
> > TYPE=Ethernet
> > VLAN=yes
> > IPADDR=192.168.42.11
> > GATEWAY=192.168.42.1
> > NETMASK=255.255.255.0
> >
> > 这个地方的IPADDR应该怎么填啊????
> >
> > log如下:
> > 2012-12-06 15:12:54,105 WARN
> >  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> > Exception while trying to start secondary storage vm
> > com.cloud.exception.AgentUnavailableException: Resource [Host:3] is
> > unreachable: Host 3: Unable to start instance due to Unable to get
> > answer that is of class com.cloud.agent.api.StartAnswer
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineMa
> nagerImpl.java:847)
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerIm
> pl.java:472)
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerIm
> pl.java:465)
> >         at
> >
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorag
> eVm(SecondaryStorageManagerImpl.java:257)
> >         at
> >
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(
> SecondaryStorageManagerImpl.java:684)
> >         at
> >
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(S
> econdaryStorageManagerImpl.java:1310)
> >         at
> >
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Pre
> miumSecondaryStorageManagerImpl.java:119)
> >         at
> >
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(Pre
> miumSecondaryStorageManagerImpl.java:50)
> >         at
> >
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java
> :106)
> >         at
> >
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.ja
> va:34)
> >         at
> >
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.j
> ava:83)
> >         at
> >
> com.cloud.vm.SystemVmLoadScanner$1.run(SystemVmLoadScanner.java:73)
> >         at
> > java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
> >         at
> >
> java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:35
> 1)
> >         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
> >         at
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ac
> cess$201(ScheduledThreadPoolExecutor.java:165)
> >         at
> >
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.ru
> n(ScheduledThreadPoolExecutor.java:267)
> >         at
> >
> java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.jav
> a:1110)
> >         at
> >
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.ja
> va:603)
> >         at java.lang.Thread.run(Thread.java:679)
> > Caused by: com.cloud.utils.exception.CloudRuntimeException: Unable to
> > get answer that is of class com.cloud.agent.api.StartAnswer
> >         at
> com.cloud.agent.manager.Commands.getAnswer(Commands.java:80)
> >         at
> >
> com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineMa
> nagerImpl.java:783)
> >         ... 20 more
> > 2012-12-06 15:12:54,106 INFO
> >  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
> > Unable to start secondary storage vm for standby capacity, secStorageVm
> vm Id :
> > 478, will recycle it and start a new one
> >
> >
> > thanks
> >
> > Regards
> >
> >
> >
> > Joe
> >
> >
Mime
View raw message