terraform-provider-libvirt icon indicating copy to clipboard operation
terraform-provider-libvirt copied to clipboard

RBD volume support

Open gxben opened this issue 3 years ago • 2 comments

@dmacvicar This PR adds minimal changes to provide RBD volume support. As documented, it relies on libvirt sysadmin to have provisioned template images on the Ceph/RBD pool and have the named pool defined at libvirt's level first, as to minimize configuration impact at Terraform level.

libvirt currently does not support source volume copying through backing store for anything else than directory pool type. So when RBD volumes come into play, we use the volume clone and resize functions instead.

gxben avatar Nov 18 '21 17:11 gxben

@gxben thanks for the PR.

I don't know much about RBD. Why do we need to put configuration in the disk, instead of having a pool of type RBD and have the disk refer to the volume and pool by name/id?

dmacvicar avatar Dec 11 '21 23:12 dmacvicar

Hi @dmacvicar , Care to detail which part of the "configuration in the disk" you mean so I can help ?

gxben avatar Jan 03 '22 15:01 gxben