Page MenuHomePhabricator

Unable to launch node18 shell on toolforge server due to username mismatch
Closed, InvalidPublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

  • When creating the developer account, do not include "tools-" as a prefix
  • Have the developer account be approved for membership
  • SSH into the toolforge server
  • Try to invoke a node 18 shell via webservice --backend=kubernetes node18 shell.

What happens?:

rpi2026f1@tools-sgebastion-10:~$ webservice --backend=kubernetes node18 shell
Traceback (most recent call last):
  File "/usr/local/bin/webservice", line 352, in <module>
    tool = Tool.from_currentuser()
  File "/usr/lib/python3/dist-packages/toolsws/tool.py", line 111, in from_currentuser
    return Tool.from_pwd(pwd_entry)
  File "/usr/lib/python3/dist-packages/toolsws/tool.py", line 120, in from_pwd
    "Tool username should begin with " + Tool.get_prefix()
toolsws.tool.InvalidToolException: Tool username should begin with tools.

What should have happened instead?: The shell should launch

Software version (skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.): My shell username is rpi2026f1.