You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by GitBox <gi...@apache.org> on 2020/09/02 22:03:57 UTC

[GitHub] [cloudstack] fmcwebs opened a new issue #4302: Cloudstack 4.14 and Ceph with Erasure Coding

fmcwebs opened a new issue #4302:
URL: https://github.com/apache/cloudstack/issues/4302


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete the comments.
   -->
   
   ##### ISSUE TYPE
    * Improvement Request
   
   ##### COMPONENT NAME
   UI-Backend
   
   ##### CLOUDSTACK VERSION
   4.14.0
   
   ##### CONFIGURATION
   Cloudstack and Ceph object storage configuration.
   
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   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?.
   
   ##### STEPS TO REPRODUCE
   <!--
   For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate.
   
   For new features, show how the feature would be used.
   -->
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   
   ~~~
   


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #4302: Cloudstack 4.14 and Ceph with Erasure Coding

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #4302:
URL: https://github.com/apache/cloudstack/issues/4302#issuecomment-906397881


   Many thanks @wido, I'm closing the issue after your remark


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] wido commented on issue #4302: Cloudstack 4.14 and Ceph with Erasure Coding

Posted by GitBox <gi...@apache.org>.
wido commented on issue #4302:
URL: https://github.com/apache/cloudstack/issues/4302#issuecomment-906199932


   Yes, this is not a CloudStack thing. One needs to specify the data pool in the settings inside Ceph:
   
   I use a similar setup with Ceph EC and I have configured this inside Ceph:
   
   <pre>
   wdh@mon-72-4-36:~$ sudo ceph config dump|grep pool
     client        advanced  rbd_default_data_pool                           rbd-data                  * 
   wdh@mon-72-4-36:~$ 
   </pre>
   
   The pool **rbd** is defined in CloudStack, but internally all is stores in the rbd-data pool:
   
   <pre>
   wdh@mon-72-4-36:~$ sudo ceph df
   --- RAW STORAGE ---
   CLASS  SIZE      AVAIL    USED     RAW USED  %RAW USED
   hdd    1015 TiB  564 TiB  451 TiB   451 TiB      44.45
   TOTAL  1015 TiB  564 TiB  451 TiB   451 TiB      44.45
    
   --- POOLS ---
   POOL                   ID  PGS  STORED   OBJECTS  USED     %USED  MAX AVAIL
   device_health_metrics   1    1   13 MiB      126   39 MiB      0    112 TiB
   rbd                     2   64  197 MiB      853  673 MiB      0    112 TiB
   rbd-data                3  512  281 TiB   73.45M  448 TiB  57.19    224 TiB
   wdh@mon-72-4-36:~$ 
   </pre>
   
   So nothing needs to be changed here inside CloudStack.
   
   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez commented on issue #4302: Cloudstack 4.14 and Ceph with Erasure Coding

Posted by GitBox <gi...@apache.org>.
nvazquez commented on issue #4302:
URL: https://github.com/apache/cloudstack/issues/4302#issuecomment-905095779


   Hi @GabrielBrascher @wido any input on this issue?


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [cloudstack] DaanHoogland commented on issue #4302: Cloudstack 4.14 and Ceph with Erasure Coding

Posted by GitBox <gi...@apache.org>.
DaanHoogland commented on issue #4302:
URL: https://github.com/apache/cloudstack/issues/4302#issuecomment-694903939


   @GabrielBrascher @wido can you comment? is this a change in ceph that needs ACS support?


----------------------------------------------------------------
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:
users@infra.apache.org



[GitHub] [cloudstack] nvazquez closed issue #4302: Cloudstack 4.14 and Ceph with Erasure Coding

Posted by GitBox <gi...@apache.org>.
nvazquez closed issue #4302:
URL: https://github.com/apache/cloudstack/issues/4302


   


-- 
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.

To unsubscribe, e-mail: commits-unsubscribe@cloudstack.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org