incubator-cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Serg <kernc...@gmail.com>
Subject 3.0.2 - KVM Agent problem? Please help.
Date Sun, 03 Jun 2012 18:48:11 GMT
Hi,


How to debug such problem ?
All volumes exist and instances running, but can't to 

CentOS release 6.2 (Final)
libvirt-0.9.4-23.el6_2.4.x86_64
libvirt-client-0.9.4-23.el6_2.4.x86_64


[root@kvmhost2 snapshot]# tail -10 /var/log/cloud/agent/agent.log
com.cloud.utils.exception.CloudRuntimeException: org.libvirt.LibvirtException: Storage volume
not found: no storage vol with matching name '/var/lib/libvirt/images/67033fb9-a432-4162-8b22-d8a7b2aeb100'
	at com.cloud.agent.storage.LibvirtStorageAdaptor.getVolume(LibvirtStorageAdaptor.java:81)
...cut...
libvir: Storage error : Storage volume not found: no storage vol with matching name '/opt/primary/f5b97a37-f8dd-485c-945c-da31d20b9e23'
...cut...
libvir: Storage error : Storage volume not found: no storage vol with matching name '/var/lib/libvirt/images/58ba9eed-c864-44f3-a987-9d1eaab182e1'

[root@kvmhost2 snapshot]# tail -10 /var/log/cloud/agent/agent.log | awk '{print $15}' | xargs
file 
/opt/primary/e371ebb7-8d9e-4c64-83e9-effea15a00e7:            Qemu Image, Format: Qcow , Version:
2
/opt/primary/e371ebb7-8d9e-4c64-83e9-effea15a00e7:            Qemu Image, Format: Qcow , Version:
2
/opt/primary/e55358fa-8dc5-4070-b3b6-3f4bc01b17ae:            Qemu Image, Format: Qcow , Version:
2
/opt/primary/e55358fa-8dc5-4070-b3b6-3f4bc01b17ae:            Qemu Image, Format: Qcow , Version:
2
/var/lib/libvirt/images/d49b318c-8bb4-4bb2-a897-1c40ef234d30: Qemu Image, Format: Qcow , Version:
2
/var/lib/libvirt/images/d49b318c-8bb4-4bb2-a897-1c40ef234d30: Qemu Image, Format: Qcow , Version:
2
/var/lib/libvirt/images/193c378c-80ba-4b82-affe-45c9da0ee839: Qemu Image, Format: Qcow , Version:
2
/var/lib/libvirt/images/193c378c-80ba-4b82-affe-45c9da0ee839: Qemu Image, Format: Qcow , Version:
2
/var/lib/libvirt/images/58ba9eed-c864-44f3-a987-9d1eaab182e1: Qemu Image, Format: Qcow , Version:
2
/var/lib/libvirt/images/58ba9eed-c864-44f3-a987-9d1eaab182e1: Qemu Image, Format: Qcow , Version:
2

When I'm try to start instance through UI I'm get the following error :
UI Error pop-up : Resource [Host:34] is unreachable: Host 34: Unable to start instance due
to Unable to get answer that is of class com.cloud.agent.api.StartAnswer

Agent LOG : 

2012-06-03 20:47:13,397 WARN  [resource.computing.LibvirtComputingResource] (agentRequest-Handler-2:null)
Exception 
com.cloud.utils.exception.CloudRuntimeException: org.libvirt.LibvirtException: Storage volume
not found: no storage vol with matching name '/var/lib/libvirt/images/19d086dd-8229-48c2-aaa7-ea3d218dc5dc'
	at com.cloud.agent.storage.LibvirtStorageAdaptor.getVolume(LibvirtStorageAdaptor.java:81)
	at com.cloud.agent.storage.LibvirtStorageAdaptor.getPhysicalDisk(LibvirtStorageAdaptor.java:450)
	at com.cloud.agent.storage.LibvirtStoragePool.getPhysicalDisk(LibvirtStoragePool.java:104)
	at com.cloud.agent.resource.computing.LibvirtComputingResource.createVbd(LibvirtComputingResource.java:2593)
	at com.cloud.agent.resource.computing.LibvirtComputingResource.execute(LibvirtComputingResource.java:2510)
	at com.cloud.agent.resource.computing.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:985)
	at com.cloud.agent.Agent.processRequest(Agent.java:517)
	at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:827)
	at com.cloud.utils.nio.Task.run(Task.java:79)
	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-06-03 20:47:13,399{GMT} WARN  [cloud.agent.Agent] (agentRequest-Handler-2:) Caught: 
java.lang.NullPointerException
	at com.cloud.agent.resource.computing.LibvirtComputingResource.cleanupVMNetworks(LibvirtComputingResource.java:3664)
	at com.cloud.agent.resource.computing.LibvirtComputingResource.handleVmStartFailure(LibvirtComputingResource.java:2416)
	at com.cloud.agent.resource.computing.LibvirtComputingResource.execute(LibvirtComputingResource.java:2539)
	at com.cloud.agent.resource.computing.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:985)
	at com.cloud.agent.Agent.processRequest(Agent.java:517)
	at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:827)
	at com.cloud.utils.nio.Task.run(Task.java:79)
	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)



--
Serg


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