[kolla] multiple ceph backends

Pierre Riteau pierre at stackhpc.com
Thu Jul 15 15:01:11 UTC 2021


Hi J-P,

I am afraid Kolla Ansible only supports a single ceph.conf file at the
moment, so you would need to modify its code for additional ones. Take a
look at these files:

https://opendev.org/openstack/kolla-ansible/src/branch/master/ansible/roles/cinder/templates/cinder-volume.json.j2#L17-L23
(and the cinder-backup file too, if needed)
https://opendev.org/openstack/kolla-ansible/src/branch/master/ansible/roles/cinder/tasks/external_ceph.yml#L2-L20

On Tue, 13 Jul 2021 at 21:18, J-P Methot <jp.methot at planethoster.info>
wrote:

> Hi,
>
>
> I'm progressing in figuring out Kolla and I've hit another issue. On our
> regular setups, we happen to be using multiple Ceph backends in cinder.
> Each of those backend uses a differently named ceph config file (like
> ceph.conf and ceph-rep.conf). While adding a custom configuration to
> cinder.conf is pretty easy, what's the best way to ensure that my second
> ceph config file ends up in my containers at the correct path? I've
> considered using ansible to add the file after kolla has deployed but I
> doubt this would be permanent.
>
> --
> Jean-Philippe Méthot
> Senior Openstack system administrator
> Administrateur système Openstack sénior
> PlanetHoster inc.
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210715/cf1fb465/attachment.html>


More information about the openstack-discuss mailing list