File tree Expand file tree Collapse file tree 7 files changed +40
-92
lines changed
doc/source/reference/storage Expand file tree Collapse file tree 7 files changed +40
-92
lines changed Original file line number Diff line number Diff line change @@ -276,6 +276,13 @@ manila_ks_users:
276
276
password : " {{ manila_keystone_password }}"
277
277
role : " admin"
278
278
279
+
280
+ # ###################
281
+ # CephFS
282
+ # ###################
283
+ manila_cephfs_filesystem_name : " "
284
+
285
+
279
286
# ###################
280
287
# Glusterfs
281
288
# ###################
Original file line number Diff line number Diff line change 12
12
13
13
- name : Flush handlers
14
14
meta : flush_handlers
15
-
16
- - include_tasks : fix_cephfs_owner.yml
17
- when :
18
- - enable_manila_backend_cephfs_native | bool
19
- - inventory_hostname in groups['manila-share']
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -113,7 +113,9 @@ share_driver = manila.share.drivers.cephfs.driver.CephFSDriver
113
113
cephfs_conf_path = /etc/ceph/ceph.conf
114
114
cephfs_auth_id = {{ ceph_manila_user }}
115
115
cephfs_cluster_name = ceph
116
- cephfs_enable_snapshots = False
116
+ {% if manila_cephfs_filesystem_name | length %}
117
+ cephfs_filesystem_name = {{ manila_cephfs_filesystem_name }}
118
+ {% endif %}
117
119
{% endif %}
118
120
119
121
{% if enable_manila_backend_cephfs_nfs | bool %}
@@ -125,7 +127,9 @@ cephfs_protocol_helper_type = NFS
125
127
cephfs_conf_path = /etc/ceph/ceph.conf
126
128
cephfs_auth_id = {{ ceph_manila_user }}
127
129
cephfs_cluster_name = ceph
128
- cephfs_enable_snapshots = False
130
+ {% if manila_cephfs_filesystem_name | length %}
131
+ cephfs_filesystem_name = {{ manila_cephfs_filesystem_name }}
132
+ {% endif %}
129
133
cephfs_ganesha_server_is_remote= False
130
134
cephfs_ganesha_server_ip = {{ api_interface_address }}
131
135
{% endif %}
Original file line number Diff line number Diff line change @@ -204,6 +204,13 @@ for Ceph includes following steps:
204
204
205
205
#. Copy Ceph configuration file to ``/etc/kolla/config/manila/ceph.conf ``
206
206
#. Copy Ceph keyring to ``/etc/kolla/config/manila/<ceph_manila_keyring> ``
207
+
208
+ #. If using multiple filesystems (Ceph Pacific+), set
209
+ ``manila_cephfs_filesystem_name `` in ``/etc/kolla/globals.yml `` to the
210
+ name of the Ceph filesystem Manila should use.
211
+ By default, Manila will use the first filesystem returned by
212
+ the ``ceph fs volume ls `` command.
213
+
207
214
#. Setup Manila in the usual way
208
215
209
216
For more details on the rest of the Manila setup, such as creating the share
Original file line number Diff line number Diff line change 619
619
# hnas_evs_ip:
620
620
# hnas_file_system_name:
621
621
622
+ # CephFS backend configuration.
623
+ # External Ceph FS name.
624
+ # By default this is empty to allow Manila to auto-find the first FS available.
625
+ # manila_cephfs_filesystem_name:
626
+
622
627
# Gluster backend configuration
623
628
# The option of glusterfs share layout can be directory or volume
624
629
# The default option of share layout is 'volume'
Original file line number Diff line number Diff line change
1
+ ---
2
+ features :
3
+ - |
4
+ Adds "manila_cephfs_filesystem_name" variable to support multi-fs
5
+ Ceph Pacific+ deloyments.
6
+ fixes :
7
+ - |
8
+ Removes "fix_cephfs_owner.yaml" which related to pre-wallaby Manila's
9
+ use of subfolders. Post-wallaby Manila now uses cephfs volumes instead,
10
+ as such this file is no longer required.
11
+ `LP#1938285 <https://bugs.launchpad.net/kolla-ansible/+bug/1938285>`__
12
+ `LP#1935784 <https://bugs.launchpad.net/kolla-ansible/+bug/1935784>`__
13
+ - |
14
+ Removes use of "cephfs_enable_snapshots" in Manila config as this
15
+ option was removed from Manila in the Wallaby release.
You can’t perform that action at this time.
0 commit comments