Bug #18284
closedVM listing buggy in workbench2
Added by Peter Amstutz about 3 years ago. Updated almost 3 years ago.
Description
As an admin on pirca (running 2.3.0~rc3)
- The "user" VM list is empty (it should show the vms I can log in to)
- The "admin" VM list only shows on the vm that I can log in to and not anyone else's login permissions
The user list should show the VMs I can log in to, with the webshell button.
The admin list should show all VMs and login permissions associated with those VMs, and let me add or remove login permissions.
Updated by Peter Amstutz about 3 years ago
- Category set to Workbench2
- Description updated (diff)
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-10-27 sprint to 2021-11-10 sprint
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-11-10 sprint to 2021-11-24 sprint
Updated by Peter Amstutz about 3 years ago
- Target version changed from 2021-11-24 sprint to 2021-12-08 sprint
Updated by Stephen Smith almost 3 years ago
- Status changed from New to In Progress
Updated by Peter Amstutz almost 3 years ago
- Target version changed from 2021-12-08 sprint to 2022-01-05 sprint
Updated by Peter Amstutz almost 3 years ago
- Target version changed from 2022-01-05 sprint to 2022-01-19 sprint
Updated by Peter Amstutz almost 3 years ago
- Target version changed from 2022-01-19 sprint to 2022-02-02 sprint
Updated by Stephen Smith almost 3 years ago
Changes at arvados-workbench2|281300c86c615248d124c8b5bb6b7a3461b63349 branch 18284-vm-listing
Tests: developer-tests-workbench2: #567
- Fixed display bugs to show correct vms and logins on user/admin pages
- Added create login dialog and remove login button on admin page
- Logins are created with the same username as the user
- Default group list is ['docker']
- Added list of groups on user vm page
- Added icon to vm admin breadcrumb
Updated by Peter Amstutz almost 3 years ago
18284-vm-listing @ 281300c86c615248d124c8b5bb6b7a3461b63349
Admin VM panel¶
- Having default groups hardcoded into workbench seems like a bad idea. We could put something in the configuration but that's a bit of extra work, so let's just have it start empty.
- The label could say something like "for example: docker, sudo"
- It's a little awkward and not obvious that you supposed to hit enter after typing the name of each group
- I crashed the app:
- Typed in "docker, sudo" for the groups
- Did not hit enter
- then hit "Add"
- crash screen with "TypeError: values.map is not a function"
- Similarly, if I type in "docker, sudo" and hit enter, I get a group called "docker, sudo" and not two groups
- It should split on at least commas and spaces, maybe also colons, semicolons, and reject most other punctuation (check what's legal for unix group names).
- As an admin, I can't easily see or edit the unix groups for a user. Could you make it so that clicking on a chip opens an "Update login permission" dialog so I can view or edit that specific login, with an "Update" button to save it?
- This should be able to reuse existing "Add login permission" dialog -- for example https://github.com/arvados/sample-tracker/blob/c8baec286666266c080915ee247f9d84ab974e8f/patient.tsx#L90 for an example.
User VM panel¶
- Can we have a "copy to clipboard" button next to each entry in the "Command line" column?
- Can you tweak the styling so that "Log in as XYZ" looks like a button and not a hyperlink
Updated by Peter Amstutz almost 3 years ago
- Target version changed from 2022-02-02 sprint to 2022-02-16 sprint
Updated by Stephen Smith almost 3 years ago
Changes at arvados-workbench2|87ba49100005ac43690cd2f77b2f797154998d01
Tests developer-tests-workbench2: #581
- Added regex-based tokenization option for chips-input
- Added update login dialog
- Remove default groups and add hint text ("eg. docker, sudo")
- Fix chips error by removing extraneous onblur handler
- Add copy button to user vm ssh command
- Change webshell "log in as" link to button styling
Updated by Peter Amstutz almost 3 years ago
Stephen Smith wrote:
Changes at arvados-workbench2|87ba49100005ac43690cd2f77b2f797154998d01
Tests developer-tests-workbench2: #581
- Added regex-based tokenization option for chips-input
- Added update login dialog
- Remove default groups and add hint text ("eg. docker, sudo")
- Fix chips error by removing extraneous onblur handler
- Add copy button to user vm ssh command
- Change webshell "log in as" link to button styling
This is really good! LGTM
Updated by Stephen Smith almost 3 years ago
- Status changed from In Progress to Resolved