Hi
I'm trying to setup launcher service in my rstudio server installation.
Both launcher and rserver reside on the same ubuntu virtual machine
I configured all the necessary files as indicated here (https://docs.rstudio.com/rsp/integration/launcher-kubernetes/)
This is how the files look like:
/etc/rstudio/rserver.conf
Server Configuration File
launcher-sessions-enabled=1
launcher-address=127.0.0.1
launcher-port=5559
launcher-default-cluster=Kubernetes
launcher-sessions-callback-address=<http://ip:port of my rserver instance>
launcher-sessions-container-run-as-root=0
launcher-sessions-create-container-user=1
/etc/rstudio/launcher.conf
[server]
address=127.0.0.1
port=5559
server-user=rstudio-server
admin-group=rstudio-server
authorization-enabled=1
thread-pool-size=4
enable-debug-logging=1
[cluster]
name=Kubernetes
type=Kubernetes
/etc/rstudio/launcher.kubernetes.profiles.conf
[*]
default-cpus=1
default-mem-mb=512
max-cpus=2
max-mem-mb=1024
container-images=rstudio/r-session-complete:centos7-1.2.5033-1
default-container-image=rstudio/r-session-complete:centos7-1.2.5033-1
allow-unknown-images=0
/etc/rstudio/launcher-mounts
Host: 10.40.240.7
Path: /home/{USER}
MountPath: /home/{USER}
ReadOnly: false
Cluster: Kubernetes
/etc/rstudio/launcher.kubernetes.conf
api-url=https://aksdevtest1-17073332.hcp.eastus2.azmk8s.io:443
auth-token=
verify-ssl-certs=0
Then I execute this:
sudo rstudio-server stop
sudo rstudio-server verify-installation --verify-user=
And I get the following error:
Checking Job Launcher configuration...
Ensuring server-user is a Job Launcher admin...
22 Jan 2020 21:28:04 [rserver] ERROR Cannot connect to the Job Launcher service; LOGGED FROM: rstudio::server::session_proxy::overlay::{anonymous}::ensureServerUserIsLauncherAdmin()::<lambda(const rstudio::core::Error&)> mutable /var/lib/jenkins/workspace/IDE/pro-pipeline/v1.2-patch/src/cpp/server/JobLauncherVerification.cpp:159
22 Jan 2020 21:28:04 [rserver] ERROR system error 111 (Connection refused); OCCURRED AT: void rstudio::core::http::TcpIpAsyncConnector::handleConnect(const rstudio_boost::system::error_code&, rstudio_boost::asio::ip::basic_resolver<rstudio_boost::asio::ip::tcp>::iterator) /var/lib/jenkins/workspace/IDE/pro-pipeline/v1.2-patch/src/cpp/core/include/core/http/TcpIpAsyncConnector.hpp:197; LOGGED FROM: int main(int, char* const*) /var/lib/jenkins/workspace/IDE/pro-pipeline/v1.2-patch/src/cpp/server/ServerMain.cpp:581
Do you have any clue that might help me overcome this issue?
The log files do not seem to add anything more that the error shown above.
I would like to mention as well that the kubernetes cluster I'm trying to connect to is hosted in Azure as an aks service. I configured everything in that cluster as explained here: