Take a look at the agent logs on kvm host there will be more clues.
On 22/02/17, 8:10 AM, "Kurt K" <k...@ihnetworks.com> wrote: >Hello, > >I have created a ceph cluster with one admin server, one monitor and two >osd's. The setup is completed. But when trying to add the ceph as >primary storage of cloudstack, I am getting the below error in error logs. > >Am I missing something ? Please help. > >================ >2017-02-20 21:03:02,842 DEBUG >[o.a.c.s.d.l.CloudStackPrimaryDataStoreLifeCycleImpl] >(catalina-exec-6:ctx-f293a10c ctx-093b4faf) In createPool Adding the >pool to each of the hosts >2017-02-20 21:03:02,843 DEBUG [c.c.s.StorageManagerImpl] >(catalina-exec-6:ctx-f293a10c ctx-093b4faf) Adding pool null to host 1 >2017-02-20 21:03:02,845 DEBUG [c.c.a.t.Request] >(catalina-exec-6:ctx-f293a10c ctx-093b4faf) Seq 1-653584895922143294: >Sending { Cmd , MgmtId: 207381009036, via: 1(hyperkvm.xxxxx.com), Ver: >v1, Flags: 100011, >[{"com.cloud.agent.api.ModifyStoragePoolCommand":{"add":true,"pool":{"id":14,"uuid":"9c51d737-3a6f-3bb3-8f28-109954fc2ef0","host":"mon1.xxxx.com","path":"cloudstack","userInfo":"cloudstack:AQDagqZYgSSpOBAATFvSt4tz3cOUWhNtR-NaoQ==","port":6789,"type":"RBD"},"localPath":"/mnt//ac5436a6-5889-30eb-b079-ac1e05a30526","wait":0}}] > >} >2017-02-20 21:03:02,944 DEBUG [c.c.a.t.Request] >(AgentManager-Handler-15:null) Seq 1-653584895922143294: Processing: { >Ans: , MgmtId: 207381009036, via: 1, Ver: v1, Flags: 10, >[{"com.cloud.agent.api.Answer":{"result":false,"details":"com.cloud.utils.exception.CloudRuntimeException: > >Failed to create storage pool: >9c51d737-3a6f-3bb3-8f28-109954fc2ef0\n\tat >com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:524)\n\tat > >com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:277)\n\tat > >com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:271)\n\tat > >com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:2823)\n\tat > >com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1325)\n\tat > >com.cloud.agent.Agent.processRequest(Agent.java:501)\n\tat >com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:808)\n\tat >com.cloud.utils.nio.Task.run(Task.java:84)\n\tat >java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)\n\tat > >java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat > >java.lang.Thread.run(Thread.java:745)\n","wait":0}}] } >2017-02-20 21:03:02,944 DEBUG [c.c.a.t.Request] >(catalina-exec-6:ctx-f293a10c ctx-093b4faf) Seq 1-653584895922143294: >Received: { Ans: , MgmtId: 207381009036, via: 1, Ver: v1, Flags: 10, { >Answer } } >2017-02-20 21:03:02,944 DEBUG [c.c.a.m.AgentManagerImpl] >(catalina-exec-6:ctx-f293a10c ctx-093b4faf) Details from executing class >com.cloud.agent.api.ModifyStoragePoolCommand: >com.cloud.utils.exception.CloudRuntimeException: Failed to create >storage pool: 9c51d737-3a6f-3bb3-8f28-109954fc2ef0 > at >com.cloud.hypervisor.kvm.storage.LibvirtStorageAdaptor.createStoragePool(LibvirtStorageAdaptor.java:524) > at >com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:277) > at >com.cloud.hypervisor.kvm.storage.KVMStoragePoolManager.createStoragePool(KVMStoragePoolManager.java:271) >================ > >Any suggestions? > >-Kurt abhinandan.prat...@shapeblue.comĀ www.shapeblue.com 53 Chandos Place, Covent Garden, London WC2N 4HSUK @shapeblue