Bug #18979
closedMissing VM login, user names not rendered
100%
Description
On pirca.arvadosapi.com
Go to workbench 2
- Go to admin view for virtual machines -- all the user accounts are rendered as uuids, not users. Possibly because they are federated accounts? But should be possible to get user names for federated users.
- also, it should render the username, not the full name or email address
2nd problem
- Go to user view of VMs as me
- My can_login permission link "pirca-o0j2j-vts284swp2o6vgv" is not displayed. It does show up in workbench 1.
- Since I didn't see any logins, I added one (and noticed the 1st problem of user account names not shown). Now I have two can_login links.
- The second one (pirca-o0j2j-i1decomuvw455rd) does show up. I try to log in with webshell and I run into #18978
- If I go to workbench 1 VM list, I see both can_login entries.
3rd problem
- If the window is too narrow, it doesn't render a horizontal scroll bar, and the right part of the row (e.g. the "log in to web shell" button) is cut off entirely
Files
Updated by Stephen Smith over 2 years ago
- Status changed from New to In Progress
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-04-27 Sprint to 2022-05-11 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-05-11 sprint to 2022-05-25 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-05-25 sprint to 2022-06-08 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-06-08 sprint to 2022-06-22 Sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-06-22 Sprint to 2022-07-06
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-07-06 to 2022-07-20
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-07-20 to 2022-08-03 Sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-08-03 Sprint to 2022-08-17 sprint
Updated by Stephen Smith over 2 years ago
Additional bug: adding groups to login - any un-tokenized group after the first are lost when submitting the update form.
Updated by Stephen Smith over 2 years ago
Changes at arvados-workbench2|1591e11e1f0344c16b1ee05dcf21bdef483aa59a
Tests developer-tests-workbench2: #850
- Increased query limit to 1000 for fetching login permissions
- Added horizontal scroll when screen is too small
- Disable submitting add/update login form when unsaved group value is present - also add a validation message * This one was a bit tricky since the partial input state is in the chips input component state - instead of hoisting the state into the many consumers of chips input, I added a bool flag to the add login dialog which made it easier to access this info in the components between the form and the input - where the redux Field component is which is still above the input component itself.
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-08-17 sprint to 2022-08-31 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-08-31 sprint to 2022-09-14 sprint
Updated by Stephen Smith over 2 years ago
Updated branch with main arvados-workbench2|0f55c7182b5231712e77f2538dd0c69336558647
Tests rerun developer-tests-workbench2: #875
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-09-14 sprint to 2022-09-28 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from 2022-09-28 sprint to 2022-10-12 sprint
Updated by Peter Amstutz over 2 years ago
- File Screenshot from 2022-10-03 16-55-54.png Screenshot from 2022-10-03 16-55-54.png added
- File Screenshot from 2022-10-03 16-59-55.png Screenshot from 2022-10-03 16-59-55.png added
18979-vm-login-ui @ commit:0f55c7182b5231712e77f2538dd0c69336558647
1. On the admin page for VMs it is loading more logins, but it isn't loading all the names. Maybe getting the users also needs limit=1000?
To be honest, with more than a handful of accounts the chips interface doesn't work at all. We should probably move to something like the groups view where you have a list of VMs, and then click on a VM to get a separate paged list of members. That is probably a story for a separate ticket, though.
2. The VM page for users is straight up broken for me. When I navigate to it on pirca, it briefly flickers showing me two entries, then nothing:
When I go to workbench 1, it shows that I have a login, although it is listed twice -- somehow I probably ended up with a duplicate login link. Is that the problem, or is it something else?
We need to prevent that from happening (#19057) but in the meantime the UI shouldn't fail.
Updated by Stephen Smith about 2 years ago
Changes at arvados-workbench2|5f11a35f157af618340d5ce6d64694b15bfe2f8a
Tests developer-tests-workbench2: #946
- Use urlencoded post body for large list requests in common resource service - fixes incorrect limit / names not showing up
- Add filter to user vm panel to just fetch user's own login permissions - fixes missing permission links
Updated by Peter Amstutz about 2 years ago
Stephen Smith wrote in #note-22:
Changes at arvados-workbench2|5f11a35f157af618340d5ce6d64694b15bfe2f8a
Tests developer-tests-workbench2: #946
- Use urlencoded post body for large list requests in common resource service - fixes incorrect limit / names not showing up
- Add filter to user vm panel to just fetch user's own login permissions - fixes missing permission links
This works now, thanks! LGTM
Updated by Stephen Smith about 2 years ago
- Status changed from In Progress to Resolved