Skip to content

Fix accounting storage #101

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 4 commits into from
Apr 8, 2021
Merged

Fix accounting storage #101

merged 4 commits into from
Apr 8, 2021

Conversation

sjpb
Copy link
Collaborator

@sjpb sjpb commented Apr 7, 2021

Fixes #100 by defaulting accounting storage to none.

@sjpb sjpb requested a review from jovial April 7, 2021 15:05
@sjpb
Copy link
Collaborator Author

sjpb commented Apr 8, 2021

Note that 5588835 changes the owner for slurm.conf from root to slurm - it appears the latest slurm is slightly more picky about this.

Copy link

@brtkwr brtkwr left a comment

Choose a reason for hiding this comment

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

Looks reasonable to me

this only supports a subset of `sacct` commands.

To deploy and configure `slurmdbd`:
By default, no accounting storage is configured. OpenHPC v1.x and un-updated OpenHPC v2.0 clusters support file-based accounting storage which can be selected by setting the role variable `openhpc_slurm_accounting_storage_type` to `accounting_storage/filetxt`<sup id="accounting_storage">[1](#slurm_ver_footnote)</sup>. Accounting for OpenHPC v2.1 and updated OpenHPC v2.0 clusters requires the Slurm database daemon, `slurmdbd`. To enable this:
Copy link

Choose a reason for hiding this comment

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

Hmm it might be a matter of personal preference but footnote in markdown seems to make it less readable.

pip3 install -r molecule/requirements.txt --user
python3 -m venv venv
. venv/bin/activate
pip install -U pip
Copy link

Choose a reason for hiding this comment

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

python3 -m pip

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

pip gets you the pip from the venv here.

Copy link
Member

@oneswig oneswig left a comment

Choose a reason for hiding this comment

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

Looks good thanks @sjpb

@sjpb sjpb merged commit b3b4f44 into master Apr 8, 2021
@sjpb sjpb deleted the fix/accounting_storage branch April 8, 2021 12:27
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.

filetxt accounting storage not supported in Slurm 20.11
3 participants