-
Notifications
You must be signed in to change notification settings - Fork 1
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
Objective JH-7: Improve processes around resource cleanups #22
Comments
Also /cc @jbusecke who has been trying to get this done for a while as well. |
Thanks for looping me in here. This is indeed quite desperately needed for our growing community! Happy to help testing. |
@jbusecke what do you think of the proposal in #15 (comment) |
This still leaves the hub admin with several steps, this one being fairly risky (as you mention). Ideally I would like to just go to the admin hub panel, delete a user (or even better do that via an API call), and then all of the offboarding things are happening automatically?
Agreed. Here is what I would like to happen in order of increasing awesomeness (but probably also increasing effort for you):
Sorry this might be a bit rambly...long day. |
@jbusecke this is all super great, thank you! This really helps inform what our medium term plan around this should be. The "Admin look at Grafana dashboard and manually cleanup" was definitely a stopgap idea and what you have articulated here seems like a really good, concrete plan for how we would want to manage this. I'll discuss implementation of these with @yuvipanda and @sunu and see what we can reasonably sketch out, both for the shorter and medium term and amend / add tickets accordingly and keep you looped in. Thanks again for the inputs here! |
The OpenScapes folks have some really good documentation around this and also some scripts to perform archiving / resource cleanups: https://github.com/NASA-Openscapes/2i2cAccessPolicies?tab=readme-ov-file#data-storage-in-the-nasa-openscapes-hub - Thanks to @ateucher ! The overall policies and retention periods seem sensible to me and the scripts to automate cleanups look really good to me. @sunu - it would be great to take a look at this with you next week and see what we need to get setup to start performing these tasks on the hubs we manage. For a medium to long-term solution, it would be great to have a common solution that can be easily applied to "all" hubs. I'm having a hard time thinking of a "good" solution that does not involve building some UI to let hub admins manage these tasks, as @jbusecke describes above. So far, I see a few work-flows around the home directory cleanups:
Trying to think of what an "MVP" here could look like, that would already be broadly useful:
The I think it's likely good to let this marinate a bit and see if there's other things being worked on or other thoughts before diving into things here. |
Thanks for this @batpad! I can take very little credit for the As for the process, a few things jump out to me (mostly in agreement with you):
Also FYI, the access policy doc will be moved to the NASA-Openscapes cookbook soon. I will be sure to leave a link in the README to the new home. |
This seems relevant here too: 2i2c-org/infrastructure#4159 |
One other thought is that at the same time we start to enforce home directory usage, we need to give users the tools and skills to use alternatives - i.e., get comfortable using S3 for storage. |
I do think the biggest benefit we can get is from trainings and documentation. I imagine there are a few actual use cases for using the persistent home directory storage, but for a LOT of use-cases, either:
Would be great to have these well written out with practical examples as something that can be shared with users as part of trainings / hub onboarding.
This ticket is great! Thank you @ateucher @yuvipanda :-) - that perfectly covers the "Alert-based" use-case I mention above. Happy to discuss and see if there's something we can do to help moving that forward. |
💯 @batpad. We have a basic tutorial on storing data in the |
Indirectly some use cases are outlined in the MAAP docs https://docs.maap-project.org/en/latest/getting_started/getting_started.html#MAAP-Storage-Options
|
Just a note that we're going to be upstreaming the homedirectories report grafana dashboard. This works fine, and I'll finish up a bit of docs and get this up later this week: https://github.com/jupyterhub/grafana-dashboards/compare/main...yuvipanda:grafana-dashboards:homedirs?expand=1 |
See also:
Motivation
Owner(s)
@batpad @sunu @yuvipanda (support from @wildintellect + @j08lue )
Success criteria
The text was updated successfully, but these errors were encountered: