cloudstack-users-cn mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tanthalas <tanthalas...@hotmail.com>
Subject Re: 系统虚拟机无法创建成功
Date Sun, 01 Dec 2013 13:26:44 GMT

从libvirtd的log来看,有可能是存储有问题,比如权限之类的,建不了目录。
CloudStack的log,你要在exception这个关键字前面再看看有没有报错原因。

刘宇超  Richard Liu




发件人: houqd2012@163.com 
发送时间: 2013-11-30  23:04:12 
收件人: users-cn 
抄送: 
主题: 系统虚拟机无法创建成功 
 
各位:
         我的环境是CS4.0.1+kvm,区域可以创建成功,可是系统虚拟机一直无法创建成功,一直创建删除、创建删除。
         agent.log的日志为:
         
2013-11-30 23:01:08,723 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-1:null)
Exception 
com.cloud.utils.exception.CloudRuntimeException: org.libvirt.LibvirtException: Storage volume
not found: no storage vol with matching name 'dd324d10-c822-4c1b-a3d5-bfb0b84e323c'
at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getVolume(LibvirtStorageAdaptor.java:90)
at com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.getPhysicalDisk(LibvirtStorageAdaptor.java:404)
at com.cloud.hypervisor.kvm.storage.LibvirtStoragePool.getPhysicalDisk(LibvirtStoragePool.java:113)
at com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:2888)
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:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
2013-11-30 23:01:08,724 WARN  [cloud.agent.Agent] (agentRequest-Handler-1: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:1146)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:701)
libvirtd.log 中的错误日志:
2013-11-30 14:45:28.379+0000: 22402: error : virFileOpenForceOwnerMode:807 : cannot chown
'/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3/s-28-VM-patchdisk' to (0, 0): Invalid argument
2013-11-30 14:45:28.379+0000: 22402: error : virStorageBackendCreateRaw:412 : cannot create
path '/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3/s-28-VM-patchdisk': Invalid argument
2013-11-30 14:45:28.494+0000: 22400: error : virStorageBackendVolOpenCheckMode:1049 : cannot
open volume '/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3/45052b17-61e9-4387-af47-9c4a756755a5':
No such file or directory
2013-11-30 14:50:01.984+0000: 22403: error : virStorageBackendFileSystemRefresh:823 : cannot
open path '/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3': No such file or directory
2013-11-30 14:50:48.322+0000: 22400: error : virCommandWait:2272 : internal error Child process
(/bin/mount 192.168.1.165:/primary /mnt/3c812bf5-0e22-3263-b902-4a65532af2e3) unexpected exit
status 1: mount.nfs: mount point /mnt/3c812bf5-0e22-3263-b902-4a65532af2e3 does not exist
2013-11-30 14:50:48.322+0000: 22400: error : virStorageBackendFileSystemRefresh:823 : cannot
open path '/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3': No such file or directory
2013-11-30 14:50:48.400+0000: 22402: error : virCommandWait:2272 : internal error Child process
(/bin/mount 192.168.1.165:/primary /mnt/3c812bf5-0e22-3263-b902-4a65532af2e3) unexpected exit
status 1: mount.nfs: mount point /mnt/3c812bf5-0e22-3263-b902-4a65532af2e3 does not exist
2013-11-30 14:50:48.400+0000: 22402: error : virStorageBackendFileSystemRefresh:823 : cannot
open path '/mnt/3c812bf5-0e22-3263-b902-4a65532af2e3': No such file or directory
houqd2012@163.com
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message