-
Notifications
You must be signed in to change notification settings - Fork 15
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
Issues installing persistent binderhub chart #5
Comments
Hi Sarah! I am very glad that you are try this out. And I would really appreciate any feedback for the documentation (I know it has a lot to improve).
Is that all your config file? If yes, you are also missing the auth config (https://github.com/gesiscss/persistent_binderhub#authentication). |
I haven't put the |
Can you put a dummy IP in so that the config validates, then redeploy with the actual IP when you know it? |
I mean I could, but the BinderHub chart doesn't require this. And I think for newcomers to helm, I think that's a bit of an intuition leap. |
Ah I understand, I never had this issue because we work on bare metal, we always know the IP beforehand. But @manics 's suggestion sounds very good, did that error disappeared after putting a dummy IP? There is another thing that I am curious about: that part in the binderhub chart is only executed when authentication is enabled. As far as I remember you also already installed a BinderHub with authentication, did BinderHub chart also complained about it when you installed a BinderHub with authentication? That would be very useful for me to know. |
I haven't tried yet, working on project stuffs today :) Will let you know
No, the BinderHub chart doesn't complain at all if I don't provide |
That could be the reason. Today I will test this with BinderHub chart. |
Another potential reason is that I used GitHub auth and if you used a custom authenticator, I wonder if that's less rigorously tested in the source code? Because finding edges cases in the realm of all possible authenticators is hard. |
I just tested locally and got the same error (
Before I installed persistent binderhub chart with GitHub authenticator as well. But I think using a different authenticator shouldn't be a problem anyways. |
Ok, adding in dummy values got it to deploy successfully, then I updated with the IP addresses from the binder and proxy-public services and enabled GitHub OAuth. The problem is now, that when I visit the Binder IP page, I get a 404 error? Config is below. binderhub:
config:
BinderHub:
use_registry: true
image_prefix: "sgibson91/pbhub-dev-"
hub_url: "http://20.50.231.204"
jupyterhub:
hub:
services:
binder:
apiToken: "redacted"
oauth_redirect_uri: "http://20.50.231.247/oauth_callback"
oauth_client_id: "binder-oauth-client-test"
proxy:
secretToken: "redacted"
singleuser:
storage:
dynamic:
storageClass: azurefile
auth:
type: github
github:
clientId: "redacted"
clientSecret: "redacted"
callbackUrl: "http://20.50.231.204/hub/oauth_callback"
registry:
username: sgibson91
password: "redacted" where 20.50.231.247 is the IP address of the binder service and 20.50.231.204 is the IP address of the proxy-public service. |
hmm can you add this config: binderhub:
jupyterhub:
hub:
services:
binder:
url: http://20.50.231.247 and then change value of Then binder must be available at http://20.50.231.204/services/binder/ as a service but jupyterhub home page (http://20.50.231.204/hub/home) is where you will find the interface for persistent bhub. |
Ok, I got it to work! 🎉 Here are my suggestions for improving the docs:
Hope this is helpful! ✨ |
thank, it is very helpful! I will update the docs, according to your suggestions. |
Fab, I'm happy to review too :) |
Hi @sgibson91, hope you are doing well can you please share a config file that worked for your install. I'm struggling to deploy it would be helpful to have something for reference. Thanks |
Hi folks,
I was trying to have a play with the persistent binderhub today but I couldn't get it installed (following instructions in the readme).
Here's the install command and error:
And my config file looks like this:
Looks to me like a templating error somewhere into the binderhub chart, but I can deploy the standard binderhub chart without issue. Also a
/
character does not exist anywhere in the redacted secrets, so I'm not quite sure where that error comes from.Any help would be greatly appreciated, thanks!
The text was updated successfully, but these errors were encountered: