magnus@tools-sgebastion-10:~$ webservice stop Traceback (most recent call last): File "/usr/local/bin/webservice", line 11, in <module> load_entry_point('toolforge-webservice==0.1', 'console_scripts', 'webservice')() File "/usr/lib/python3/dist-packages/toolsws/cli/webservice.py", line 195, in main KubernetesBackend.get_types(), File "/usr/lib/python3/dist-packages/toolsws/backends/kubernetes.py", line 291, in get_types kubeconfig=Kubeconfig.load(), user_agent="webservice" File "/usr/lib/python3/dist-packages/toolforge_weld/kubernetes_config.py", line 98, in load raise KubernetesConfigFileNotFoundException(str(path.resolve())) toolforge_weld.kubernetes_config.KubernetesConfigFileNotFoundException: /mnt/nfs/labstore-secondary-tools-home/magnus/.kube/config magnus@tools-sgebastion-10:~$ webservice status Traceback (most recent call last): File "/usr/local/bin/webservice", line 11, in <module> load_entry_point('toolforge-webservice==0.1', 'console_scripts', 'webservice')() File "/usr/lib/python3/dist-packages/toolsws/cli/webservice.py", line 195, in main KubernetesBackend.get_types(), File "/usr/lib/python3/dist-packages/toolsws/backends/kubernetes.py", line 291, in get_types kubeconfig=Kubeconfig.load(), user_agent="webservice" File "/usr/lib/python3/dist-packages/toolforge_weld/kubernetes_config.py", line 98, in load raise KubernetesConfigFileNotFoundException(str(path.resolve())) toolforge_weld.kubernetes_config.KubernetesConfigFileNotFoundException: /mnt/nfs/labstore-secondary-tools-home/magnus/.kube/config magnus@tools-sgebastion-10:~$ webservice start Traceback (most recent call last): File "/usr/local/bin/webservice", line 11, in <module> load_entry_point('toolforge-webservice==0.1', 'console_scripts', 'webservice')() File "/usr/lib/python3/dist-packages/toolsws/cli/webservice.py", line 195, in main KubernetesBackend.get_types(), File "/usr/lib/python3/dist-packages/toolsws/backends/kubernetes.py", line 291, in get_types kubeconfig=Kubeconfig.load(), user_agent="webservice" File "/usr/lib/python3/dist-packages/toolforge_weld/kubernetes_config.py", line 98, in load raise KubernetesConfigFileNotFoundException(str(path.resolve())) toolforge_weld.kubernetes_config.KubernetesConfigFileNotFoundException: /mnt/nfs/labstore-secondary-tools-home/magnus/.kube/config
Description
Description
Event Timeline
Comment Actions
webservice is supposed to give a better error message, but this is happening because you forgot to become a tool account before running the command.