To allow users to use NFSv3 with cephadm deployed
nfs daemons by default
Signed-off-by: Adam King <adking@redhat.com>
NFS_CORE_PARAM {
Enable_NLM = {{ enable_nlm }};
Enable_RQUOTA = false;
- Protocols = 4;
+ Protocols = 3, 4;
NFS_Port = {{ port }};
allow_set_io_flusher_fail = true;
{% if bind_addr %}
'NFS_CORE_PARAM {\n'
' Enable_NLM = true;\n'
' Enable_RQUOTA = false;\n'
- ' Protocols = 4;\n'
+ ' Protocols = 3, 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'
assert export.pseudo == "/cephfs3"
assert export.access_type == "RW"
assert export.squash == "root"
- assert export.protocols == [4]
+ assert export.protocols == [3, 4]
assert export.fsal.name == "CEPH"
assert export.fsal.user_id == "nfs.foo.myfs.86ca58ef"
assert export.fsal.cephx_key == "thekeyforclientabc"