-
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
repo: create a doc
folder, add flux-accounting guide
#446
Conversation
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.
LGTM! One nit.
doc/guide/accounting-guide.rst
Outdated
|
||
Both "types" of jobs, *running* and *active*, are based on Flux's definitions | ||
of job states_. *Active* jobs can be in any state but INACTIVE. *Running* jobs | ||
are jobs in both RUN and CLEANUP states. |
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.
"in either RUN or CLEANUP states"?
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.
Good suggestion, thanks for catching this - I will fix!
Problem: flux-accounting has a guide, but it lives in another repo, which can be tedious to maintain. Add the flux-accounting guide to this repository in a newly-created doc/ folder.
Problem: The version number of flux-accounting is mentioned in the guide, but since this document now lives in the flux-accounting repo, it can now be implied that the guide applies to the current version. Drop the mention of the version number of flux-accounting from the guide.
Problem: The Accounting Guide does not detail instructions for the new job archival method in flux-accounting. Update the flux-accounting guide with the new instructions on setting up the new Python script that fetches inactive jobs and stores them in the flux-accounting DB to be used for job usage and fair share calculation. Update the code block that shows which commands to set up with flux-cron. Update the list of tables present in the flux-accounting database to account for the new "jobs" table.
Thanks for reviewing @jameshcorbett! Setting MWP here |
Problem
flux-accounting has a guide in flux-docs, which can be tedious to maintain when things change here in this repo.
This PR adds the flux-accounting guide to this repository in a newly-created
doc/
folder, following a similar format to flux-core. It also removes the flux-accounting version number from the guide.Lastly, I've added a commit to update the instructions on running commands to populate the flux-accounting DB with job records now that #357 has landed.