From 94a8d63d1dc5838058bf1b4fdb0f590c5a1fe9e0 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Sat, 4 Nov 2023 12:29:07 +0100 Subject: [PATCH] Use CephFS as filesystem for OpenStack Manila Part of osism/issues#142 Signed-off-by: Christian Berendt --- environments/kolla/configuration.yml | 2 +- environments/kolla/files/overlays/manila/ceph.conf | 6 ++++++ releasenotes/notes/manila-cephfs-28b94dbdb39289c0.yaml | 4 ++++ 3 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 environments/kolla/files/overlays/manila/ceph.conf create mode 100644 releasenotes/notes/manila-cephfs-28b94dbdb39289c0.yaml diff --git a/environments/kolla/configuration.yml b/environments/kolla/configuration.yml index 97d0f3e2e..efe2e8091 100644 --- a/environments/kolla/configuration.yml +++ b/environments/kolla/configuration.yml @@ -81,7 +81,7 @@ octavia_network_type: tenant designate_ns_record: openstack.testbed.osism.xyz # manila -enable_manila_backend_generic: "yes" +enable_manila_backend_cephfs_native: "yes" # ironic ironic_dnsmasq_interface: "vxlan0" diff --git a/environments/kolla/files/overlays/manila/ceph.conf b/environments/kolla/files/overlays/manila/ceph.conf new file mode 100644 index 000000000..7140b6d25 --- /dev/null +++ b/environments/kolla/files/overlays/manila/ceph.conf @@ -0,0 +1,6 @@ +[global] +mon host = {% for host in groups['ceph-mon'] %}{{ hostvars[host]['monitor_address'] }}{% if not loop.last %},{% endif %}{% endfor %} + +public network = {{ ceph_public_network }} +max open files = 131072 +fsid = {{ ceph_cluster_fsid }} diff --git a/releasenotes/notes/manila-cephfs-28b94dbdb39289c0.yaml b/releasenotes/notes/manila-cephfs-28b94dbdb39289c0.yaml new file mode 100644 index 000000000..7d9388b4b --- /dev/null +++ b/releasenotes/notes/manila-cephfs-28b94dbdb39289c0.yaml @@ -0,0 +1,4 @@ +--- +features: + - | + CephFS is now used as the default file system for OpenStack Manila.