cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Boylan, James" <JAMES.BOY...@orbitz.com>
Subject Libvirt errors preventing System VMs from being created
Date Tue, 20 Nov 2012 16:30:10 GMT
I'm having an issue with a new install of Cloudstack and would appreciate any help on this.

Everything is configured, but when it tries to start the initial System VMs I get the following
errors.

management-server.log:
---------------------------------------------
2012-11-20 09:43:17,021 WARN  [storage.secondary.SecondaryStorageManagerImpl] (secstorage-1:null)
Exception while trying to start secondary storage vm
com.cloud.exception.AgentUnavailableException: Resource [Host:1] is unreachable: Host 1: 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
agent.log:
---------------------------------------------
2012-11-20 09:38:32,016 WARN  [kvm.resource.LibvirtComputingResource] (agentRequest-Handler-5:null)
Exception
com.cloud.utils.exception.CloudRuntimeException: org.libvirt.LibvirtException: cannot create
path '/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-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-11-20 09:38:32,023 WARN  [cloud.agent.Agent] (agentRequest-Handler-5: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)

libvirtd:
---------------------------------------------
2012-11-20 15:43:16.627+0000: 41665: error : virStorageBackendCreateRaw:401 : cannot create
path '/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/s-3-VM-patchdisk': Invalid argument
2012-11-20 15:43:16.627+0000: 41665: error : virStorageBackendCreateRaw:401 : cannot create
path '/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/s-3-VM-patchdisk': Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virFileOpenForceOwnerMode:795 : cannot chown
'/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk' to (0, 0): Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virFileOpenForceOwnerMode:795 : cannot chown
'/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk' to (0, 0): Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virFileOpenForceOwnerMode:795 : cannot chown
'/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk' to (0, 0): Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virFileOpenForceOwnerMode:795 : cannot chown
'/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk' to (0, 0): Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virStorageBackendCreateRaw:401 : cannot create
path '/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk': Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virStorageBackendCreateRaw:401 : cannot create
path '/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk': Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virStorageBackendCreateRaw:401 : cannot create
path '/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk': Invalid argument
2012-11-20 15:43:16.720+0000: 41667: error : virStorageBackendCreateRaw:401 : cannot create
path '/mnt/0e6f9c16-6a1a-3536-9460-8ce14d494596/v-2-VM-patchdisk': Invalid argument

-- James


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