Project

General

Profile

Actions

Bug #15009

closed

[virtual-machines-user] bugs on the the user virtual machines page

Added by Ward Vandewege almost 6 years ago. Updated about 2 years ago.

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 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

Related issues 1 (0 open1 closed)

Related to Arvados Workbench 2 - Feature #13864: [Navigation] Virtual machinesResolvedPawel KowalczykActions
Actions #1

Updated by Ward Vandewege almost 6 years ago

Actions #2

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 #3

Updated by Peter Amstutz about 2 years ago

  • Status changed from New to Resolved
Actions

Also available in: Atom PDF