Re: Error with ceph to cloudstack integration.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> Op 6 maart 2017 om 6:26 schreef frank <frank@xxxxxxxxxxxxxx>:
> 
> 
> Hi,
> 
> We have setup a ceph server and cloudstack server. All the osds are up 
> with ceph status currently OK.
> 
> ====
> 
> [root@admin-ceph ~]#  ceph status
>      cluster ebac75fc-e631-4c9f-a310-880cbcdd1d25
>       health HEALTH_OK
>       monmap e1: 1 mons at {mon1=10.10.48.7:6789/0}
>              election epoch 3, quorum 0 mon1
>       osdmap e32: 2 osds: 2 up, 2 in
>              flags sortbitwise,require_jewel_osds
>        pgmap v10253: 240 pgs, 8 pools, 25009 kB data, 39 objects
>              121 MB used, 1852 GB / 1852 GB avail
>                   240 active+clean
> ====
> 
> 
> But when integrating with cloudstack we are receiving the below error.
> 
> =======
> 
> 2017-03-02 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-03-02 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-03-02 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)
> 
> ======
> 
> 
> Please have a check and let us know if there is any thing missing on our 
> end. The ceph server is setup with centos7 and jewel as its ceph version.
> 
> Any help will be greatly appreciated.

You should check the logs of the CloudStack Agent where it tried to create the pool.

But also verify the data you entered in to CloudStack:

- Hostname of Monitor
- Cephx user
- Cephx key
- Pool

Wido

> 
> 
> Regards,
> 
> Frank
> 
> 
> 
> _______________________________________________
> ceph-users mailing list
> ceph-users@xxxxxxxxxxxxxx
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
ceph-users mailing list
ceph-users@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux