Project

General

Profile

Actions

Bug #16989

closed

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

Added by Peter Amstutz over 3 years ago. Updated over 3 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
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 1 (0 open1 closed)

Task #16994: Review 16989-user-setupResolvedPeter Amstutz10/09/2020Actions

Related issues

Blocks Arvados - Idea #16662: Release Arvados 2.1ResolvedPeter Amstutz09/28/2020Actions
Actions #1

Updated by Peter Amstutz over 3 years ago

  • Status changed from New to In Progress
Actions #2

Updated by Peter Amstutz over 3 years ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 3 years ago

  • Description updated (diff)
Actions #4

Updated by Peter Amstutz over 3 years ago

  • Assigned To set to Peter Amstutz
Actions #5

Updated by Peter Amstutz over 3 years ago

  • Description updated (diff)
Actions #6

Updated by Peter Amstutz over 3 years 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.
Actions #7

Updated by Peter Amstutz over 3 years ago

Actions #8

Updated by Lucas Di Pentima over 3 years ago

This LGTM, please merge.

Actions #9

Updated by Peter Amstutz over 3 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF