Can't create VM on Ceph storage erasure coding 8:4

MarkOldMan

New Member
May 15, 2024
2
0
1
I tried to Lab with Ceph storage erasure coding 8:4 by lab information below:

- 12 node
- each node have 4 ssd disk
- Build a cluster successfully.
- Created OSD successfully.
- Created erasure coding profile and created ec pool 8:4 successfully.
- Enable RBD on ec pool successfully.
- Created RBD Cluster Storage successfully.
- Command allow_ec_overwrites true done.

The issue is when I create a VM and point to ec pool storage but can't and have an error below so how can it fix it. Please help and guide me.

"TASK ERROR: unable to create VM 101 - rbd error: rbd: listing images failed: (95) Operation not supported"

Thank you in advance, Mark
 

Attachments

  • EC84 VM Error.png
    EC84 VM Error.png
    499 KB · Views: 24
  • EC84 VM Error2.png
    EC84 VM Error2.png
    468.1 KB · Views: 18
Last edited:
Last edited:
  • Like
Reactions: MarkOldMan
RBDs on EC do not work out of the box.

You need a replicated pool to create the RBDs in and can only use an EC pool for the data part of the RBD.

https://docs.ceph.com/en/latest/rados/operations/erasure-code/#erasure-coding-with-overwrites

You need to add both pools with a special command as storage to Proxmox: https://pve.proxmox.com/wiki/Deploy_Hyper-Converged_Ceph_Cluster#pve_ceph_pools
Thank you for your kind guideline me but I still figure out in right way with command "rbd create --size 1G --data-pool ec_pool replicated_pool/image_name"

Please guide me again. How does this command work correctly? Please see my error in this command in the attached file.

Thanks again, Mark
 

Attachments

  • EC84 VM Error3.png
    EC84 VM Error3.png
    621.2 KB · Views: 13