Part of a series of commits to increase coverage of deployment
path features with regards to container engine options, env vars
and mounts. This will serve future refactoring efforts.
Signed-off-by: John Mulligan <jmulligan@redhat.com>
assert runfile_lines[-1].endswith('quay.io/ceph/ceph:latest -F -L STDERR')
assert '-e TCMALLOC_MAX_TOTAL_THREAD_CACHE_BYTES' not in runfile_lines[-1]
assert '--pids-limit' in runfile_lines[-1]
+ assert '-e CEPH_CONF=' in runfile_lines[-1]
+ assert f'-v /var/lib/ceph/{fsid}/nfs.fun/etc/ganesha:/etc/ganesha:z' in runfile_lines[-1]
_firewalld().open_ports.assert_called_with([2049])
with open(f'/var/lib/ceph/{fsid}/nfs.fun/config') as f:
assert f.read() == 'BALONEY'