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

Update Catalyst hub image #329

Merged
merged 1 commit into from
Mar 30, 2021
Merged

Update Catalyst hub image #329

merged 1 commit into from
Mar 30, 2021

Conversation

zaneselvans
Copy link
Contributor

Changed the name of the image (new repo on DockerHub) because we're using the same image for other PUDL Jupyter things now too. Updated the version tag.

Changed the name of the image (new repo on DockerHub) because we're using the same image for other PUDL Jupyter things now too.  Updated the version tag.
@yuvipanda
Copy link
Member

Hey @zaneselvans! We've just built a GUI that lets you configure the image yourself, without needing to wait on us. The docs aren't merged yet, but are at https://github.com/2i2c-org/pilot/pull/68/files#diff-aaa6369658b00d12f7edcc005ad3146066f5f7ddc588eeaf71df6a9709c2007fR1. Can you try it out and let us know if that works?

@choldgraf
Copy link
Member

Specifically here's a demo of the instructions - indeed feedback would be most welcome :-)

@zaneselvans
Copy link
Contributor Author

zaneselvans commented Mar 29, 2021

Hokay here we go...

  • I logged in and went to the Admin > Service > configurator menu as directed.
  • In the configurator, I see a "User docker image" text field and a "Default user interface" radio button.
  • But I don't want to update the "user" docker image, I want to update the docker image for my entire JupyterHub, so for now I'm leaving this field blank, and wondering how to set the "default" image so that everyone on the Hub gets it.
  • Or maybe by "user" you really mean the image that will be seen by all users on the Hub? If so that naming feels confusing to me, since I am conceiving of myself or another individual logging into the Hub as a user, and am trying to affect settings for the Hub as a whole, not any individual User, and I could imagine Users having the power to select their own Docker image individually.
  • Also, there's no indication as to what format the entry in the "User docker image" field should take. An example or two would be good (should this be catalystcoop/pudl-jupyter or what would it look like on another container registry?)
  • However I do want to set my personal default interface to JupyterLab, so I select that radio button.
  • Then I click "Submit" and nothing happens. Did the settings get applied and I just didn't get any message indicating that it happened? Or did it not work at all?
  • Wondering if it actually requires me to set the docker image for submission to work, I go ahead and specify catalystcoop/pudl-jupyter:2021.03.27 and try hitting submit again, but again, nothing happens.
  • Now I'm tempted to start trying other permutations of potential ways to specify Docker images, but I can see how this would just lead to brokenness, since I don't really know what I'm supposed to put into this field.
  • Now I'm going to go look and see if anything changed in one of my notebooks -- can I access the software that should only be available in the new image? Did the change take hold? My server starts up quickly, so my guess is that nothing has changed. It would be great if there were somewhere in the admin interface that one could see what image the server is currently using. Maybe there is and I just don't know where to look for it? Nope, doesn't look like the new image has been used.
  • Do I need to log out and log back in to get the new image in use? If indeed the configuration change has happened at all? I guess I'll try that... stopping my notebook server and logging out.
  • Logging back in, it's given me the legacy notebook interface, even though I selected JupyterLab. It also started up very quickly, so I assume the new changes aren't available. Trying to start a terminal from the main front "tree" view using the dropdown > new > terminal menu. I get a blank screen with a JupyterHub header but no terminal.
  • If I click on the JupyterHub logo at the top, then I get dropped into JupyterLab. From the launcher there, I try and start up a terminal as well. It also does not execute -- just hangs with a blinking cursor and no prompt.
  • Ah okay finally it loaded after a while, and no it looks like the new image has not been used. This is still the old one, based on the versions of packages I see when I do pip list -- would be nice if there were some way to check the name / version of the container I'm inside of directly.

So... it doesn't seem like this worked.

@yuvipanda yuvipanda merged commit 8b5201e into 2i2c-org:master Mar 30, 2021
@yuvipanda
Copy link
Member

That is very valuble feedback, @zaneselvans! I'll look through it today. I've merged this for now to not block you :)

@zaneselvans
Copy link
Contributor Author

Don't know if it matters, and maybe you have it in the logs anyway, but I was using Firefox 87.0 on Ubuntu 20.10. and connecting via the MozillaVPN from a server in Denver, CO, USA.

@choldgraf
Copy link
Member

@zaneselvans this feedback is excellent - you should be careful or you'll become a go-to guinea pig for this kinda thing 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants