Bug #16989

Workbench1 user is setup on home cluster but not setup on satellite cluster

Added by Peter Amstutz 14 days ago. Updated 13 days ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Start date:
10/09/2020
Due date:
% Done:

100%

Estimated time:
(Total: 0.00 h)
Story points:
-

Description

  1. Have a LoginCluster and a satellite cluster. Both clusters are set AutoSetupUsers: true
  2. New user appears on satellite cluster, logs in, and account is created
  3. User is set up on LoginCluster, is_invited=true, is_active=false
  4. Being inactive, the user is un-setup on the satellite cluster which makes them un-invited
  5. Workbench has the user as is_invited=false (?) which sends them to the inactive user page
    1. Why isn't the user record is_active=true ?
  6. Going to Workbench 2 (which always tries to self-activate) the user does get activated. However, no welcome email is sent out.

Possibly related: on pirca, go to user page, click on "Set up user", the dialog box opens for a second and then immediately goes away.

It's possible to activate the user at the command line, and with --send-notification-email an email does go out.

Desired behavior:

User arrives at the satellite cluster. Login happens transparently through the LoginCluster and user is returned to the satellite workbench. User is auto-setup and gets welcome email from satellite.


Subtasks

Task #16994: Review 16989-user-setupResolvedPeter Amstutz


Related issues

Blocks Arvados - Story #16662: Release Arvados 2.1Resolved09/28/2020

Associated revisions

Revision 9df2ccdf
Added by Peter Amstutz 13 days ago

Merge branch '16989-user-setup' refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

Revision 6440951d (diff)
Added by Peter Amstutz 13 days ago

Setup default VM from AutoSetupNewUsersWithVmUUID refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

Revision 7ce1e512 (diff)
Added by Peter Amstutz 13 days ago

Setup default VM/repo in setup method refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

Revision 79393ed8
Added by Peter Amstutz 10 days ago

Merge branch '16989-fix-fed-migrate' refs #16989

Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <>

History

#1 Updated by Peter Amstutz 14 days ago

  • Status changed from New to In Progress

#2 Updated by Peter Amstutz 14 days ago

  • Description updated (diff)

#3 Updated by Peter Amstutz 14 days ago

  • Description updated (diff)

#4 Updated by Peter Amstutz 13 days ago

  • Assigned To set to Peter Amstutz

#5 Updated by Peter Amstutz 13 days ago

  • Description updated (diff)

#6 Updated by Peter Amstutz 13 days ago

16989-user-setup @ arvados|2958a94fafbab941f8d6eb76bb2785b5c2868d3d

  • Rework how remote user setup/activate/unsetup state is synchronized
  • Sending welcome email is moved to model
  • Add test for all combinations of user status and relevant configuration.

#7 Updated by Peter Amstutz 13 days ago

#8 Updated by Lucas Di Pentima 13 days ago

This LGTM, please merge.

#9 Updated by Peter Amstutz 13 days ago

  • Status changed from In Progress to Resolved

Also available in: Atom PDF