Skip to content

Conversation

bertiethorpe
Copy link
Member

Previous nightly cleanup broken for duplicate servers:
https://github.com/stackhpc/ansible-slurm-appliance/actions/runs/14093434777/job/39475494238

New workflow ensures that subsequent cleanup calls for duplicate server names doesn't occur.

@bertiethorpe bertiethorpe requested a review from a team as a code owner April 22, 2025 10:48
@bertiethorpe
Copy link
Member Author

CI cancelled because not tested

Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

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

The logic here doesn't work; if you get multiple clusters with the same prefix (b/c of re-runs), and one of them is tagged, this may delete another, untagged cluster with the same prefix.

We've never used the tag feature, I suggest we just drop that entirely.

@bertiethorpe bertiethorpe requested a review from sjpb April 22, 2025 13:35
Copy link
Collaborator

@sjpb sjpb left a comment

Choose a reason for hiding this comment

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

LGTM

@bertiethorpe bertiethorpe merged commit 2244f07 into main Apr 22, 2025
0 of 2 checks passed
@bertiethorpe bertiethorpe deleted the fix/nightly-cleanup branch April 22, 2025 14:24
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