From cce32d193d0f475297e2dcf5d063cbbf3fac1a30 Mon Sep 17 00:00:00 2001 From: Anoop C S Date: Mon, 29 Sep 2025 14:59:56 +0530 Subject: [PATCH] sit.cephfs: Disable posix locking for durable handles Durable handles are only enabled with "kernel oplocks", "kernel share modes" and "posix locking" disabled. But with mgr variant "posix locking" was not explicitly disabled and thus few tests failed. Signed-off-by: Anoop C S --- .../ansible/roles/sit.cephfs/templates/ceph.smb.cluster.yml.j2 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/playbooks/ansible/roles/sit.cephfs/templates/ceph.smb.cluster.yml.j2 b/playbooks/ansible/roles/sit.cephfs/templates/ceph.smb.cluster.yml.j2 index 2460941..f1dade8 100644 --- a/playbooks/ansible/roles/sit.cephfs/templates/ceph.smb.cluster.yml.j2 +++ b/playbooks/ansible/roles/sit.cephfs/templates/ceph.smb.cluster.yml.j2 @@ -42,3 +42,6 @@ resources: {%- for addr in ctdb_network_public_interfaces +%} - address: {{ addr }}/{{ ctdb_network_public_interface_subnet_mask }} {%- endfor +%} + custom_smb_global_options: + "_allow_customization": "i-take-responsibility-for-all-samba-configuration-errors" + "posix locking": "no"