]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: add "allow_set_io_flusher_fail = true;" to ganesha conf 60077/head
authorAdam King <adking@redhat.com>
Tue, 1 Oct 2024 14:03:13 +0000 (10:03 -0400)
committerAdam King <adking@redhat.com>
Tue, 1 Oct 2024 15:26:36 +0000 (11:26 -0400)
This is necessary for ganesha 6.1 running in a container
to start up without hitting a permission failure (without
having to run the container as --privileged)  and doesn't
seem to cause any damage when read in by ganesha v5.9 (the
current version in the main branch containers)

Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2
src/pybind/mgr/cephadm/tests/test_services.py

index ded403169c976e68bee5e4c8185cae475719d5af..03ff8a32ca2923c9cb24f369b51b6bae9aca9b43 100644 (file)
@@ -4,6 +4,7 @@ NFS_CORE_PARAM {
         Enable_RQUOTA = false;
         Protocols = 4;
         NFS_Port = {{ port }};
+        allow_set_io_flusher_fail = true;
 {% if bind_addr %}
         Bind_addr = {{ bind_addr }};
 {% endif %}
index a9b7da624a0e6d42c37259efd7211a7a13b8b61b..538ca653714899e3705dcc2cc8f04e5bcdc02593 100644 (file)
@@ -2710,6 +2710,7 @@ class TestIngressService:
             '        Enable_RQUOTA = false;\n'
             '        Protocols = 4;\n'
             '        NFS_Port = 2049;\n'
+            '        allow_set_io_flusher_fail = true;\n'
             '        HAProxy_Hosts = 192.168.122.111, 10.10.2.20, 192.168.122.222;\n'
             '}\n'
             '\n'