Hi,
Every time we are trying to launch a session remains in "Peding" status with the following message:
MountVolume.SetUp failed for volume "mount0" : mount failed: exit status 32 Mounting command: mount Mounting arguments: -t nfs :/home/azureuser /var/lib/kubelet/pods/ad918935-f1a9-4685-a42a-119968a73d9e/volumes/kubernetes.io~nfs/mount0 Output: mount.nfs: access denied by server while mounting :/home/azureuser
The file "launcher-mounts" is:
MountType: NFS
Host:
Path: /home/{USER}
MountPath: /home/{USER}
ReadOnly: false
Cluster: Kubernetes
The output from sudo rstudio-server verify-installation --verify-user=azureuser
is:
TTY detected. Printing informational message about logging configuration. Logging configuration loaded from '/etc/rstudio/logging.conf'. Logging to '/var/log/rstudio/rstudio-server/rserver.log'.
Checking Job Launcher configuration...
Ensuring server-user is a Job Launcher admin...
Getting list of Job Launcher clusters...
Job launcher configured with the following clusters: Kubernetes
launcher-adhoc-clusters is empty - all clusters may be used to launch adhoc jobs
launcher-sessions-clusters is empty - all clusters may be used to launch session jobs
Verify Installation Failed: system error 71 (Protocol error) [description: No home directory mount configured for cluster Kubernetes and workbench RStudio - you must configure a home directory mount in /etc/rstudio/launcher-mounts for sessions to properly load user home directories]; OCCURRED AT rstudio::core::Error rstudio::server::session_proxy::overlay::{anonymous}::verifyClusterMounts(const std::set<std::__cxx11::basic_string >&, const std::vectorrstudio::server::job_launcher::MountConfigEntry&, rstudio::server::job_launcher::WorkbenchScope) src/cpp/server/JobLauncherVerification.cpp:314
2022-07-29T11:55:30.420638Z [rserver] ERROR system error 71 (Protocol error) [description: No home directory mount configured for cluster Kubernetes and workbench RStudio - you must configure a home directory mount in /etc/rstudio/launcher-mounts for sessions to properly load user home directories]; OCCURRED AT rstudio::core::Error rstudio::server::session_proxy::overlay::{anonymous}::verifyClusterMounts(const std::set<std::__cxx11::basic_string >&, const std::vectorrstudio::server::job_launcher::MountConfigEntry&, rstudio::server::job_launcher::WorkbenchScope) src/cpp/server/JobLauncherVerification.cpp:314; LOGGED FROM: int main(int, char* const*) src/cpp/server/ServerMain.cpp:872
- The NFS server is an Azure VM and the pod is able to reach the needed ports.
- I was able to mount the home directory on the server were we have RStudio Workbench and the Launcher.
- It is an AKS cluster with an Azure CNI network configuration.
Thank you in advance!
Best Regards,
Dumitru