Actions
Bug #15009
closed[virtual-machines-user] bugs on the the user virtual machines page
Status:
Resolved
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Story points:
-
Description
There are three issues here (e.g. https://workbench2.c97qk.arvadosapi.com/virtual-machines-user):
- The "log in as" link is hardcoded to point to workbench.c97qk.arvadosapi.com, it should be using a relative link (no hostname) so that the current hostname for the workbench2 instance is used
- The "log in as" link introduces a series of commas around the username:
https://workbench.c97qk.arvadosapi.com/virtual_machines/c97qk-2x53u-0f13z63os6uuyfr/webshell/,,,wvandewege,,,,,,,,,,,,,,
- The suggested ssh snippet is hardcoded to "switchyard.api.ardev.roche.com". The site-specific switchyard hostname should be constructed as "switchyard." followed by the configured value for API_HOST from workbench2.json
Updated by Ward Vandewege almost 6 years ago
- Related to Feature #13864: [Navigation] Virtual machines added
Updated by Tom Morris almost 6 years ago
Here are some suspicious looking magic strings:
$ find . -type f -exec grep -i c97qk {} \; -print REACT_APP_ARVADOS_API_HOST=c97qk.arvadosapi.com ./.env ownerUuid: 'c97qk-j7d0g-s3ngc1z0748hsmf', "--project-uuid=c97qk-j7d0g-s3ngc1z0748hsmf", ./src/index.tsx <a href={`https://workbench.c97qk.arvadosapi.com${it.href}/webshell/${getUsername(props.links, props.userUuid)}`} target="_blank" className={props.classes.link}> ./src/views/virtual-machine-panel/virtual-machine-user-panel.tsx $ find . -type f -exec grep -i qr1hi {} \; -print const u = this.renameFile('qr1hi-4zz18-n0sx074erl4p0ph', { ./src/services/collection-files-service/collection-files-service.ts $ find . -type f -exec grep -i "ardev\." {} \; -print ProxyCommand ssh -p2222 turnout@switchyard.api.ardev.roche.com -x -a $SSH_PROXY_FLAGS %h`; ./src/views/virtual-machine-panel/virtual-machine-user-panel.tsx
Actions