Skip to content

Ceph - Libvirt handle multiple pool #162

Open
@GaetanF

Description

@GaetanF

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions