rhtyd opened a new issue #4159:
URL: https://github.com/apache/cloudstack/issues/4159


   Tried to deploy a VM using a template and custom compute offering with tags 
to match against a Ceph (Octopus) based primary storage, on Ubuntu 20.04 KVM 
(raspberrypi4).
   
   The issue may be in rados-java 
(https://github.com/ceph/rados-java/blob/master/src/main/java/com/ceph/rados/Rados.java#L362)
 or something due to offering configuration or handling of the same; and upon 
failure and expunging of the VM, the root disk (marked as removed in DB) did 
not get remove from the Ceph pool:
   
   ```
   2020-06-20 17:01:02,535 DEBUG [o.a.c.e.o.VolumeOrchestrator] 
(Work-Job-Executor-18:ctx-d056c1e3 job-636/job-637 ctx-c3cd8ca6) 
(logid:1cec6c16) Unable to create 
Vol[72|vm=76|ROOT]:java.lang.NoSuchFieldError: SIZE
           at com.ceph.rados.Rados.ioCtxCreate(Rados.java:362)
           at 
com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.copyPhysicalDisk(LibvirtStorageAdaptor.java:1341)
           at 
com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.copyPhysicalDisk(KVMStoragePoolManager.java:394)
           at 
com.cloud.hypervisor.kvm.storage.KVMStorageProcessor.copyTemplateToPrimaryStorage(KVMStorageProcessor.java:258)
           at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:89)
           at 
com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:57)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:36)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtStorageSubSystemCommandWrapper.execute(LibvirtStorageSubSystemCommandWrapper.java:30)
           at 
com.cloud.hypervisor.kvm.resource.wrapper.LibvirtRequestWrapper.execute(LibvirtRequestWrapper.java:78)
           at 
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1637)
           at com.cloud.agent.Agent.processRequest(Agent.java:644)
           at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:1057)
   
   ```
   
   Ping @wido @GabrielBrascher 
   
   ##### ISSUE TYPE
    * Bug Report
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Ceph
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.14
   ~~~


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to