Hello,
After checking the ceph block on to_xml function of server.rb file. It's not possible to handle multiple Ceph pool on the /etc/foreman/ceph.conf file.
|
if ceph_args && volume.pool_name.include?(ceph_args["libvirt_ceph_pool"]) |
It will possible to handle them by splitting using comma the configuration string entry and check with them like this :
if ceph_args && ceph_args["libvirt_ceph_pool"]&.split(",")&.include?(volume.pool_name)
Regards
Hello,
After checking the ceph block on to_xml function of server.rb file. It's not possible to handle multiple Ceph pool on the
/etc/foreman/ceph.conffile.fog-libvirt/lib/fog/libvirt/models/compute/server.rb
Line 349 in 238a8b8
It will possible to handle them by splitting using comma the configuration string entry and check with them like this :
if ceph_args && ceph_args["libvirt_ceph_pool"]&.split(",")&.include?(volume.pool_name)Regards