-
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
[New Hub] NeuroHackademy 2022 #1505
Comments
Event issue cross ref: #1300 |
@arokem, do you have any preference for the name of the hub? Any logo image link that you want to share with us? |
@GeorgianaElena is going to lead on this deployment with @yuvipanda as a helper resource (in fact he is already helping/building new functionality for this one with #1502)! |
Hey @damianavila - thanks for kicking this off. And hello @GeorgianaElena : excited to work with you on this! And always glad to have @yuvipanda on board! If neurohackademy.2i2c.cloud works as a name for the hub (is that what you meant?) that would be great. Here is the logo we use for our Slack/etc: |
Hey @arokem! I just did an initial deployment of the hub at https://neurohackademy.2i2c.cloud (PR here #1507) 🚀 Initial setup of the hubRight now the neurohackademy:
Missing piecesBelow are the required features of the hub that are still missing and require more info from either @2i2c-org/tech-team or @arokem 1. Waiting for 2i2c
2. Waiting for @arokem
Anything else missing?@arokem, if I missed anything else here, please ping me ✨ |
Hello!
Looks great! How do we add multiple new users to the hub? Can we manage a user-list somewhere on github? This could even be a public page -- something like this
Confirmed! Sorry about this, but could we change the logo image to this instead?
The National Institutes of Health grant 2R25MH112480-06
That sounds good to me! I think that we could inherit from jupyter-datascience, adding some neuroimaging-specific software on top of that. I don't remember exactly why we didn't use repo2docker in the last few years, and it looks like we're inheriting from a pangeo image. Maybe @consideRatio (who worked with us on our hub last couple of years) remembers why we didn't use repo2docker directly?
I don't think we'll change it much. Probably set it once before the beginning of the event and then leave it as-is. |
@GeorgianaElena may I suggest using GitHub authentication + a GitHub org for authentication rather than using GitHub via CILogon? That should make maintaining a list of allowed users easier. I think we should default to this for workshop and research hubs, reserving CILogon for educational hubs. |
I don't remember, but I'll confabulate that it could have been because we wishes for it to be mostly like pange/pangeo-notebook was, and then just add a few things to that. I suspect I've also been a bit biased towards keeping a plain Dockerfile as use of repo2docker added complexity to understand things if additional debugging was needed. If, but only if, we needed both |
@yuvipanda, actually @arokem's answer from a previous issue was why this is not using GitHub org based authentication -> "We'd actually rather not do that and use individual GitHub user-names instead, if that's OK."
@arokem, you can manually add users from the admin panel (multiple users at once too). There are docs about this here https://docs.2i2c.org/en/latest/admin/howto/manage-users.html#manage-users-from-the-administrator-panel But given @yuvipanda's suggestion above, would you consider using a GitHub organization or GitHub teams membership to authorize users, instead of manually adding them through the hub admin panel? Does that seem more suitable? Just want to make sure if I should change or not the current implementation. |
I've updated the hub at https://neurohackademy.2i2c.cloud with latest logo image and funding info. So I believe that the next steps need your input @arokem:
Once the steps above are completed, then they will all be hooked to the hub and deployed 🚀 |
Using #1502 instead of what is currently described in the docs. I am sure you already know that @GeorgianaElena, just clarifying for other readers 😉. |
Let's not. I can add them through the hub admin panel.
Done! https://github.com/neurohackademy/hub-image-2022
OK. I will if I spot anything, but it looks good for now.
I have created a repo at https://github.com/neurohackademy/zoom2022. The file to render is https://github.com/neurohackademy/zoom2022/blob/index/index.html |
Yay! Thanks for all this work @arokem ✨ There is one more small step to be taken for in order to host the zoom links repo, which is to grant access to the 2i2c github app that will read the content in the private repo that you just setup by installing the https://github.com/apps/2i2c-neurohackademyhub-static-pull app in the Also, two small things to double-check:
|
I believe I just did that!
It's on
Sounds good! |
Thanks @arokem! ✨ I just deployed the latest changes and the hub is running at https://neurohackademy.2i2c.cloud 🚀 Also, the zoom links from the private repo are available at https://neurohackademy.2i2c.cloud/zoom/ Please check it out and let me know if you can login ok and have access to the admin panel and if everything works as expected |
Thank you! Yes: I can login, though it's still going through CILLogin and I have access to the admin panel. Questions:
Thanks again! |
@arokem I think you can get this very conveniently out of the box in a 2i2c provided hub. There will be a (I did some work to optimize performance of that data, making it copied to each node etc to ensure many people reading it at the same time wouldn't slow each other down. I think probably such optimization isn't going to be needed - and the out of the box NSF storage will work fine.)
For reference, this was done with a lifecycle hook and a mounted bash script, that can now be provided via the JupyterHub Helm chart's singleuser.extraFiles configuration. Long term: One could consider if there should be a lifecycleHook to try run misc content no matter what in the user pods, then the users could provide such scripts via the image if they want and like that control an action that will happen on startup without involving 2i2c tech team.
@arokem I think you can visit
Seems like 5 minutes. So if you are sure you have made a relevant change, maybe there is a bug to fix. |
I think there was a small bug with the sync. Should be fixed now. @arokem, can you confirm that you can now see the changes? |
Yes - confirming that the sync now works. Thanks for fixing that quickly! |
And thanks @consideRatio for pointing out the |
@arokem / @yuvipanda could this be a configurator-bug? Does it need the image set as well? |
How long should it take between an update to the |
@arokem there is no longer automation regarding updating the hub to use the new image - it was coupled to a redeployment of the helm chart that isn't done as part of building the image any more. So, after the image is built you need to visit /services/configurator/ again and write in your new image name:tag. If you declare that the "latest" tag should be used, you can avoid this - the downside is that you will possibly run into version mismatches between user server image version and dask workers image version when using a latest tag. (actually, I don't know if a latest tag is pushed, so maybe that won't work at all) |
Looks like I broke it :-/ I tried to enter I did try to change that to |
Sorry! Looks like I spoke too soon. After finally timing out, I was given the option to relaunch the server and that seems to have done the trick. It found the right image/tag and launched successfully. So, I am back on track setting things up in terms of software/environment. |
I don't think it's configurator's fault. I can see in the logs that the correct interface is being set on the spawner (plus, I've made After investigating this morning and not finding anything obviously wrong, I remembered that we recently bumped I believe we should try to update jupyterhub from 1.5.0 in the user image to 2.3.1, like we did for the 2i2c default user image. Hopefully that should fix the default url issue. |
@arokem, the 403 should be fixed now. I also noticed that the redirect to Is there anything else I could help with on the hub env side of things? Please let me know if I missed anything ✨ |
No - looks like smooth sailing from here on out! Thank you! I'll plan to start adding participants early next week, so they can start taking a look around. |
Yay! Then I'll close this issue and open up another one about pre-warming the hub before the event. We will ping you there if we need any extra info 🚀 In the meantime, if you notice anything that doesn't work as expected or something is missing, please reach out to us through support (https://docs.2i2c.org/en/latest/support.html) to get more visibility ✨ |
Hub Description
A general description of the hub requested lives here: #1300 (comment)
Community Representative(s)
@arokem
Important dates
Hub Authentication Type
GitHub Authentication (e.g., @MyGitHubHandle)
Hub logo information
Hub user image
Extra features you'd like to enable
Other relevant information
More detailed information about the requirements:
Hub URL
neurohackademy.2i2c.cloud
Hub Type
basehub
Tasks to deploy the hub
The text was updated successfully, but these errors were encountered: