inclusion of "allow_set_io_flusher_fail = true" is needed otherwise the service won't start cause of EPERM,
referencing cephadm commit http://github.com/ceph/ceph/commit/
3e3b7fa8ea22a2dd7f5d5c97d6e096a5e30585f4 which
does the same. Also, ensure double quotes around some config options like RecoveryBackend, some options in
RADOS_KV block and some in RADOS_URLS.
Fixes: https://tracker.ceph.com/issues/76407
Signed-off-by: Dhairya Parmar <dparmar@redhat.com>
Enable_RQUOTA = false;
Protocols = 4;
NFS_Port = $port;
+ allow_set_io_flusher_fail = true;
}
MDCACHE {
}
NFSv4 {
- RecoveryBackend = rados_cluster;
+ RecoveryBackend = "\"rados_cluster\"";
Minor_Versions = 1, 2;
}
RADOS_KV {
- pool = '$pool_name';
- namespace = $namespace;
- UserId = $test_user;
+ pool = "\"$pool_name\"";
+ namespace = "\"$namespace\"";
+ UserId = "\"$test_user\"";
nodeid = $name;
}
RADOS_URLS {
- Userid = $test_user;
- watch_url = '$url';
+ Userid = "\"$test_user\"";
+ watch_url = "\"$url\"";
}
%url $url" > "$ganesha_dir/ganesha-$name.conf"