Skip to content

Deactivate before delete - #650

Closed
yasithdev wants to merge 3 commits into
core-deactivate-accountsfrom
slurm-delete-user-min
Closed

yasithdev wants to merge 3 commits into
core-deactivate-accountsfrom
slurm-delete-user-min

Conversation

@yasithdev

@yasithdev yasithdev commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

Stacked on #706.

  • PUT /compute-allocations/{id}/status, under core:allocations:write.
  • Status is ACTIVE or INACTIVE.
  • Deleting an active allocation returns 409.
  • Portal deactivates and reactivates an allocation.
  • Portal disables delete on an active allocation.

@yasithdev yasithdev changed the title slurm account association lifecycle fixes remove cluster access only after an admin approves the deletion Oct 21, 2026
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 2 times, most recently from 03fb241 to b3567c1 Compare October 21, 2026 02:28
@yasithdev yasithdev changed the title remove cluster access only after an admin approves the deletion let admins decide what happens to a deleted user's data Oct 21, 2026
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 4 times, most recently from 5f8ecf7 to 9c762ca Compare October 21, 2026 15:01
@yasithdev
yasithdev marked this pull request as ready for review October 21, 2026 15:25
@yasithdev yasithdev self-assigned this Oct 21, 2026
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 3 times, most recently from 264fe1c to f40d311 Compare October 22, 2026 20:28
@yasithdev
yasithdev changed the base branch from master to vast-integrity October 22, 2026 20:28
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch from f40d311 to 7263a6a Compare October 23, 2026 03:35
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch from 7263a6a to c37a685 Compare October 23, 2026 05:24
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 2 times, most recently from af27dc8 to 5cb5f34 Compare October 26, 2026 14:45
@yasithdev
yasithdev changed the base branch from vast-integrity to master October 26, 2026 14:45
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch from 5cb5f34 to 85c0429 Compare October 26, 2026 14:54
@yasithdev
yasithdev marked this pull request as draft October 27, 2026 16:36
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch from 85c0429 to 96e3107 Compare October 28, 2026 08:00
@yasithdev yasithdev changed the title Deactivate cluster accounts, allocations, memberships and users before deleting them Require deactivation before deleting cluster accounts, allocations, memberships and users Nov 2, 2026
@yasithdev yasithdev changed the title Require deactivation before deleting cluster accounts, allocations, memberships and users Deactivate before deleting cluster accounts, allocations, memberships and users Nov 2, 2026
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 2 times, most recently from d399d21 to 580439f Compare November 2, 2026 20:07
@yasithdev yasithdev changed the title Deactivate before deleting cluster accounts, allocations, memberships and users Deactivate before delete Nov 2, 2026
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 3 times, most recently from e095574 to 6f2f603 Compare November 4, 2026 20:33
@yasithdev
yasithdev marked this pull request as ready for review November 4, 2026 21:29
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 2 times, most recently from ff08ce2 to 1c602fe Compare November 5, 2026 00:43
@yasithdev
yasithdev changed the base branch from master to core-connector-events November 5, 2026 00:43
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch from 1c602fe to 5dc2760 Compare November 5, 2026 00:52
@yasithdev
yasithdev marked this pull request as draft November 5, 2026 01:27
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 2 times, most recently from f1e44d0 to 60e252a Compare November 5, 2026 02:41
@yasithdev
yasithdev force-pushed the core-connector-events branch from b3aba59 to 7f0d8ae Compare November 5, 2026 07:32
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch 2 times, most recently from 0b019b3 to 4904049 Compare November 5, 2026 07:50
@yasithdev
yasithdev force-pushed the core-connector-events branch from 7f0d8ae to 471decd Compare November 5, 2026 07:50
@yasithdev
yasithdev changed the base branch from core-connector-events to web-deactivate-members November 5, 2026 07:53
@yasithdev
yasithdev added this pull request to stack #713 November 5, 2026 18:44
@yasithdev
yasithdev force-pushed the web-deactivate-members branch from e9c2974 to c8f2632 Compare November 5, 2026 23:09
@yasithdev
yasithdev force-pushed the slurm-delete-user-min branch from 4904049 to 6b8be38 Compare November 5, 2026 23:09

@lahirujayathilake lahirujayathilake left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This change LGTM 👍🏼
@yasithdev can we have a followup to soft delete the allocations, instead deleting the records?

@yasithdev

Copy link
Copy Markdown
Contributor Author

Folded into #706.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants