-
Notifications
You must be signed in to change notification settings - Fork 65
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
[EVENT] OceanHackWeek 2022 #1576
Comments
@abkfenris, one thing we forgot to ask you in #1515 is if there is an issue with pre-existing users (from the previous incantation of the hub) being able to still have access to this new hub. cc @GeorgianaElena who raised this point in previous conversations. |
@damianavila i don't think there is an issue if they can or can't access it. I gave them a warning a week or so ago that they needed to take care of anything they cared about. At some point we should figure out how to archive or delete all of them. |
Is there a way to add a shutdown or log out option to RStudio? Or is the best option going to be loudly advertising https://oceanhackweek.2i2c.cloud/hub/home anytime participants may be using R? |
I think this is the way to go unfortunately. It is really difficult to get in and edit the RStudio UI from the hub (probably due to it being company-operated) |
Thanks, I thought that was probably the case. |
@abkfenris can you confirm the active times? Looking here: https://oceanhackweek.github.io/ohw22/schedule.html, it seems it will be a US Pacific time event, am I correct? @sgibson91 @GeorgianaElena do you think a pre-warm step would be needed on Monday morning? |
Ehh, kind of. That's when we will have the most people active for tutorials, but various in person events will be logging in earlier. For instance for us in Maine, we're planning on getting folks logged in either sometime that morning, or just after lunch so we can make sure everyone is ready when the tutorials start up (so then we can also have the bandwidth to help virtual folks). |
I don't believe there's anything to do in terms of scale up?
I've never scaled up a hub before an event so I might be missing something. We also don't have any docs on this process so I opened #1628 I'm considering this as "No action needed" from me unless I'm told otherwise |
@ocefpaf and I have been bashing our heads against an error that we're seeing in both the Python and R profiles. It appears that both Jupyter Notebooks/console and RStudio are removing some environment variables that various packages expect to see. The most common issue is that the The easiest way to see the difference is to compare oceanhackweek/ohw-tutorials#94 Any thoughts? |
I remember @damianavila went through an arduous process in trying to get RStudio to load Keras + Tensorflow correctly from a conda environment and did something with environment variables at some point.
It may involve adding an On a related note, we recommend using the support channel for bugs like this because that gets greater visibility from the engineering team and helps us isolate urgent or critical bugs from the "noise" of hub issues. |
You definitely need an See this line in the utoronto Rprofille.site: https://github.com/2i2c-org/utoronto-image/blob/main/Rprofile.site#L11 And it is copied over in the Dockerfile here: https://github.com/2i2c-org/utoronto-image/blob/d422076c3695e44f09a959b14cb10f89b6e5f538/Dockerfile#L178 |
Yep. I hardcoded those env vars for the R image in oceanhackweek/jupyter-image#57 but I did not port those to the Python image yet. I was hoping that we would not need them. Thanks for the RPorfile tip! We are not R folks trying to make it work for an R tutorial. @abkfenris I'm getting ready for my tutorial. Unless you beat me to it I'll create the RProfile when I'm done. |
I'll take a swing at setting up a I'm still confused why env variables that show up in the terminal from the conda env aren't making it into Notebooks or console sessions. |
Same. Looks like the activation is working but is getting clobbered by something. |
Making progress. Still have the GEOS linking version error, but I can at least run things locally without setting the env variables manually now. Building an image now oceanhackweek/jupyter-image#59 |
Ok, PR made #1632 |
Thank you @sgibson91 and @yuvipanda R is playing nicer (or at least our R folks say it is)! |
So I know why this is happening - it looks like the PROJ env var is set by conda, and runs when conda is activated. conda is activated when you open a terminal, but not when you start the notebook itself. repo2docker 'fixes' this with https://github.com/jupyterhub/repo2docker/blob/main/repo2docker/buildpacks/python3-login as the entrypoint. So if you add an entrypoint script to your image that is just: #!/bin/bash -l
exec "$@" and set it as ENTRYPOINT in your You still need the Rprofile thing for R tho |
Awesome, thank you @yuvipanda! I'm working on getting that in now. We need to take a look at repo2docker for building our environment again. We may have a nice addition from some of our R users for a more reliable/predictable R install script. |
@abkfenris hope it worked ok! Lots of nice R goodies in repo2docker ;) |
Hey @abkfenris , the event appears to be over, is that right? |
Yep, we've wrapped up the scheduled weeks. We would like to keep the hub active for as long as reasonable, but we can scale down the dedicated node pools and similar at this point. |
Makes sense! Thanks for letting us know @abkfenris. We hope that your hub worked out well for you! We are trying to understand where we can improve our hub infrastructure and setup around events, and would love any feedback that you're willing to give. Would you mind answering the following questions? If not, just let us know and that is no problem!
|
We're debriefing the event tomorrow, so I'll get back to you after that. Probably sometime this weekend as I'm road tripping across the country and will have a bunch of time in the passenger seat with low bandwidth to force me to focus. |
There's no hurry
Have fun road tripping 🚗 |
Other than the hiccups with the proxy/spawner due to Google hiccups, I think the hub worked largely as expected. We were lucky that those didn't occur during the main part of OHW, let alone when I was commuting to/from the lab. It's good to see that you are working on solving the bugs upstream and have a plan for migrating the infrastructure to regional infrastructure. It did seem like the admin may not have accurately reflected who was active during the event. It would have been nice to have access to Grafana to be sure and debug issues. Maybe via an admin se It would be really nice to have a faster way to test and update the images (for when I get told about packages just before they are used for a tutorial), that didn't require 2i2c's intervention. One thought is if we had a test hub without profiles, so that we could use configurator to test images in a live hub. My other thought is if you had a bot or github action that could merge PRs from community representatives to image fields. It might be cool to have something like cdsdashboards setup, so that participants could make and share some lightweight apps, without having to deal with trying to set up their own servers. For cool things that happened on the hub, you can check out the project presentations. Thanks again for all your work! |
Thanks for sharing this extremely valuable feedback @abkfenris ✨ We will open up new issues based on your suggestions 🚀 (cc @damianavila) |
Summary
Event Info
Hub info
Task List
Before the event
👉Template message to send to community representative
During and after event
bump-ohw-image-tags.yaml
from https://github.com/2i2c-org/infrastructure/tree/master/.github/workflows is deleted👉Template debrief to send to community representative
The text was updated successfully, but these errors were encountered: