Skip to content
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

Feature: Auto Update of an allocation attribute usage (if has usage) with custom code provided by admin #616

Open
giuliolibrando opened this issue Jul 20, 2024 · 1 comment
Labels
documentation documentation to be updated enhancement Improvement to existing feature

Comments

@giuliolibrando
Copy link

giuliolibrando commented Jul 20, 2024

Description

Add the capability to autoupdate an Allocation Attribute Usage (if it's consumable) by adding automatic checks provided by admin.

Imagine having those allocations inside a project
image
It could be really useful if the admin can provide on the admin dashboard a way fro coldfront to check what the real time consumpion of those resources is regularly.

Something like: i want to check what is the storage quota usage on an allocation. So i add a check on beegfs storage passing the name of the slurm_account from coldfront (that is the same for the linux group %GID% on beegfs) and the value that's returned from the function became the new allocation attribute usage.
image

The same for credits/service unit inside slurm. The command returns only an int value (the SU consumed by the slurm_account)
image

Component

No response

Additional information

No response

@giuliolibrando giuliolibrando added documentation documentation to be updated enhancement Improvement to existing feature labels Jul 20, 2024
@giuliolibrando giuliolibrando changed the title Feature: Auto Update of an allocation attribute usage (if IsConsumable) with custom code provided by user Feature: Auto Update of an allocation attribute usage (if IsConsumable) with custom code provided by admin Jul 20, 2024
@giuliolibrando giuliolibrando changed the title Feature: Auto Update of an allocation attribute usage (if IsConsumable) with custom code provided by admin Feature: Auto Update of an allocation attribute usage (if has usage) with custom code provided by admin Jul 20, 2024
@giuliolibrando
Copy link
Author

I've added a pull request #617 for this issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation documentation to be updated enhancement Improvement to existing feature
Projects
None yet
Development

No branches or pull requests

1 participant