Comment 1 for bug 1942629

Revision history for this message
Felipe Reyes (freyes) wrote : Re: [Bug 1942629] [NEW] Charm does not support multiple backends of the same type

On Fri, 2021-09-03 at 17:37 +0000, Thobias Trevisan wrote:
> Is it possible to add that support in charm-glance? This feature is
> useful when there is more than one ceph cluster in the same openstack
> installation.

It is possible using different application names for each cinder-ceph
deployment.

From the Overview:

"Through the use of multiple application names (e.g. cinder-ceph-1,
cinder-ceph-2), multiple Ceph clusters can be associated with a single
Cinder deployment." - https://jaas.ai/cinder-ceph

juju deploy cs:cinder-ceph cinder-ceph-1
juju add-relation cinder-ceph-1:storage-backend cinder:storage-backend
juju add-relation cinder-ceph-1:ceph ceph-mon-1:client

juju deploy cs:cinder-ceph cinder-ceph-2
juju add-relation cinder-ceph-2:storage-backend cinder:storage-backend
juju add-relation cinder-ceph-2:ceph ceph-mon-2:client

This is how you would be able to relate 2 diffent ceph clusters (ceph-
mon-1 and ceph-mon-2).

Let me invite you to our discourse at https://discourse.charmhub.io/ ,
it's a good place where users gather to discuss about how to achieve
certain tasks with juju, charms, openstack, k8s and other workloads.