This is similar to T432325: Make sure dumps-nfs mount/umount is propagated inside Toolforge containers except that it covers PAWS as a standalone/magnum cluster. We'll have to make sure of the following:
- /mnt/nfs/dumps is auto-mounted to dumps-nfs.w.o
- when failover/ESTALE happens, there's a "sitter" process to umount. i.e. similar to what puppet does
- mounts are propagated inside containers, i.e. /mnt/nfs is bindmounted + rslave
In terms of implementation I am thinking the following:
- A maintain-dumps-nfs script that periodically will: check the host if nfs mounts are mounted, if not mount them. if they are mounted and not healthy (ESTALE) then umount and re-mount
- Said script will run inside a container image via a privileged daemonset on all non-control hosts