We should be able to track storage and trigger a warning at say 10% storage remaining. Technically we can oversubscribe as volumes are thin subscribed and many projects will never use the full space allocated.
Completion Criteria
Calculate storage actually used vs allocated. Alert at 90% used.
Description
[x] Track down how we can gather allocated (ColdFront)
[ ] Track down how to get an up to date live amount of storage we have in NESE (@jtriley)
[ ] Track down how we can gather actually used storage
[ ] calculate storage usage so we are ready to order/request more space when needed
[ ] create a new issue to automate this
Notes
how many bytes of volumes we have actually allocated (e..g, a thin provisioned 80GB volume will consume 80GB)
how many bytes of volumes are actually used (e.g., a thin provisioned 80GB volume may be only using 1MB right now)
how much quota we have handed out
rbd du -p <POOLNAME> should return the value we want
Motivation
We should be able to track storage and trigger a warning at say 10% storage remaining. Technically we can oversubscribe as volumes are thin subscribed and many projects will never use the full space allocated.
Completion Criteria
Calculate storage actually used vs allocated. Alert at 90% used.
Description
Notes
rbd du -p <POOLNAME>
should return the value we wantCompletion dates
Desired - late 2024
Required - early 2025