Steps to Reproduce:
* created a tool account (no code deployed)
* `become toolname`
* `webservice --backend=kubernetes python3.7 shell`
Actual Results:
tools.adhs-wde@tools-sgebastion-07:~$ webservice --backend=kubernetes python3.7 shell
Traceback (most recent call last):
File "/usr/local/bin/webservice", line 412, in <module>
extra_args=args.extra_args,
File "/usr/lib/python2.7/dist-packages/toolsws/backends/kubernetes.py", line 211, in __init__
self.api = K8sClient.from_file()
File "/usr/lib/python2.7/dist-packages/toolsws/backends/kubernetes.py", line 528, in from_file
with open(filename) as f:
IOError: [Errno 2] No such file or directory: '/data/project/adhs-wde/.kube/config'
Expected Results:
The documentation suggests to run the command `webservice --backend=kubernetes python3.7 shell` before creating a virtual environment for the tool. No crash expected.