Skip to content

Commit dfccf34

Browse files
anoopcs9xhernandez
authored andcommitted
sit.cephfs: Add share configured with vfs_ceph_new(non-mgr)
Signed-off-by: Anoop C S <[email protected]>
1 parent 8d260b5 commit dfccf34

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

playbooks/ansible/roles/sit.cephfs/templates/smb_share.conf.j2

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,10 @@
33
comment = Volume '{{ volume.name }}' from {{ config.be.name }}({{ config.be.variant }} {{ method }})
44
vfs objects = acl_xattr ceph_snapshots
55
{%- if method != 'kclient' %}
6-
{%- set vfs = 'ceph' %} {{ vfs }}
6+
{%- set vfs = 'ceph_new' %}
7+
{%- if method == 'vfs' %}
8+
{%- set vfs = 'ceph' %}
9+
{%- endif %} {{ vfs }}
710
{{ vfs }}:config_file = /etc/ceph/sit.ceph.conf
811
{{ vfs }}:user_id = sit
912
path = {{ subvol }}

playbooks/settings.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,7 @@ environments:
362362
data:
363363
branch: main
364364
ctdb_mutex: rados
365-
methods: ['klcient', 'vfs']
365+
methods: ['klcient', 'vfs', 'vfs.new']
366366

367367
nodes:
368368
setup:

0 commit comments

Comments
 (0)