incubator-cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From 仇惊雷 <qiujing...@gmail.com>
Subject Re: Exception while trying to start secondary storage vm Exception while trying to start secondary storage vm
Date Fri, 07 Dec 2012 11:19:00 GMT
谢谢你的解答。

错误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(LibvirtStoragePool.java:101)
	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createPatchVbd(LibvirtComputingResource.java:2980)
	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:2943)
	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2808)
	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(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.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: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.cleanupVMNetworks(LibvirtComputingResource.java:3922)
	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.handleVmStartFailure(LibvirtComputingResource.java:2709)
	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2834)
	at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(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.java:1110)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java: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/cloud-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-US.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(VirtualMachineManagerImpl.java:847)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:472)
>         at
> com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:465)
>         at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.startSecStorageVm(SecondaryStorageManagerImpl.java:257)
>         at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.allocCapacity(SecondaryStorageManagerImpl.java:684)
>         at
> com.cloud.storage.secondary.SecondaryStorageManagerImpl.expandPool(SecondaryStorageManagerImpl.java:1310)
>         at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:119)
>         at
> com.cloud.secstorage.PremiumSecondaryStorageManagerImpl.scanPool(PremiumSecondaryStorageManagerImpl.java:50)
>         at
> com.cloud.vm.SystemVmLoadScanner.loadScan(SystemVmLoadScanner.java:106)
>         at
> com.cloud.vm.SystemVmLoadScanner.access$100(SystemVmLoadScanner.java:34)
>         at
> com.cloud.vm.SystemVmLoadScanner$1.reallyRun(SystemVmLoadScanner.java: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:351)
>         at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
>         at
> java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
>         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)
> 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(VirtualMachineManagerImpl.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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message