Skip to content

Add support for upgrading database #186

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

Merged
merged 13 commits into from
May 15, 2025
Merged

Add support for upgrading database #186

merged 13 commits into from
May 15, 2025

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented May 14, 2025

Before starting slurmdbd, the role will check if a database upgrade is required to due to a a Slurm major version upgrade and carry it out if so. Slurm versions before 24.11 do not support this check and so no upgrade will occur.

A backup of the database may be performed before the upgrade - see new variables added in this PR.

@sjpb sjpb requested a review from a team as a code owner May 14, 2025 10:33
@sjpb sjpb force-pushed the feat/upgrade-db branch from 180d30a to 2a8cfa8 Compare May 14, 2025 13:22
@sjpb sjpb requested a review from MoteHue May 15, 2025 09:12
@m-bull
Copy link
Contributor

m-bull commented May 15, 2025

Minor nits

@sjpb sjpb requested a review from m-bull May 15, 2025 11:21
Copy link
Contributor

@m-bull m-bull left a comment

Choose a reason for hiding this comment

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

LGTM

@sjpb sjpb dismissed MoteHue’s stale review May 15, 2025 11:26

Have had later one, have addressed anyway

@sjpb
Copy link
Collaborator Author

sjpb commented May 15, 2025

Passed appliance CI at this commit: stackhpc/ansible-slurm-appliance#670

@sjpb sjpb merged commit de7a904 into master May 15, 2025
31 checks passed
@sjpb sjpb deleted the feat/upgrade-db branch May 15, 2025 12:23
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.

3 participants