-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove an association (HPC-7692) #86
base: master
Are you sure you want to change the base?
Remove an association (HPC-7692) #86
Conversation
slurm_acct_users = set([user for (user, acct) in cluster_users_acct if acct == vo_id]) | ||
slurm_acct_users = set([user for (user, def_acct, _) in cluster_users_acct if def_acct == vo_id]) | ||
|
||
# these are the users for which an earlier delete failed because they still had live job in their (at that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
says who? these users are part of this set, but there might be others to, no?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we grab them all. AFAICT.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe I misunderstood. What others and where?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- By default, we only have one account per user.
- When a user switches VO, he will be added to the new VO and the default account will be set to the new VO. He might not be removed from the old.
- When we look through the associations, I believe we find all those that need to be removed. If they fail to be removed due to running jobs, they will be picked up again the next run. New jobs should be submitted under the default account, thus the jobs under the new association will eventually be gone.
What am I missing?
@itkovian is this PR still needed? could you update it to 2020? |
No description provided.