Hi Rohit!, thank you very much for answer us.

About this, we have an erasure code pool at ceph, so we can create an image and then we must specify where the metadata and data pool is located. When we add the erasure code pool as Storage in Cloudstack we can't set the datapool, so when we add a VM it shows an error.  We asume that Cloudstack do something like this in Ceph:


/rbd create DISCO --size 4096 -p PoolErasure/

/rbd: create error: (95) Operation not supported/

/
/

_/And must be:/_

/
/

/rbd create --size 4096 --data-pool DataPool PoolErasure/DISCO/

/
/

/Example: https://documentation.suse.com/ses/6/html/ses-all/cha-ceph-erasure.html#ec-rbd
/

//

There is not a field at Cloudstack to set this, so it fails when creating a VM in this storage.


In replicated ceph configuration is working fine because there is just one Pool so you don't need to set more options at Cloudstack.


There is a way to set the data pool at cloudstack in other way?.


Regards,


El 1/9/2020 a las 04:55, Rohit Yadav escribió:
Hi Mauro,

I think you can create a data pool on ceph first and then add it as a storage pool in CloudStack with a storage tag and then create specific compute/disk offering with that storage tag to force VM's root disk and data disks to be deployed on the specific Ceph pool where erasure coding was configured.


Regards.

[email protected]
www.shapeblue.com
@shapeblue

------------------------------------------------------------------------
*From:* Mauro Ferraro - G2K Hosting <[email protected]>
*Sent:* Saturday, August 29, 2020 21:03
*To:* [email protected] <[email protected]>
*Subject:* Cloudstack + CEPH and Erasure Coding
Hi guys!,

We are trying to set ceph 15.2.4 at Cloudstack 4.14, it's work great
with Ceph and Replicated configuration but we are having problems to
configure Erasure coding because at Cloudstack Gui when create a VM we
can't set the Data Pool where erasure code is configured.

We can do it mannually setting this comand at ceph:

rbd create --size 20G --data-pool Pool-ISA
Pool-ISA-Replicado/94a5650f-a67f-4375-a051-d906a0dbd466

But it can be great that cloudstack do this internally

Did you ever use erasure coding with ceph?.

Regards,

M

Reply via email to