[bug] Config to use the firstuseauthentificator in qhub
See original GitHub issue(follow-up issue after asking this question of gitter)
I am trying to use the firstuseauthentificator in qhub. my configuration looks like this :
security:
authentication:
type: custom
authentication_class: 'firstuseauthenticator.FirstUseAuthenticator'
config:
min_password_length: 5
Then I run python -m qhub deploy --config qhub-config.yaml
to update the deployment. (by the way is that the command I should use to update the deployment ? the doc is not super clear for this step.)
And the error displayed this :
[terraform]: module.qhub.module.kubernetes-jupyterhub.helm_release.jupyterhub: Still modifying... [id=jupyterhub, 5m0s elapsed]
[terraform]: module.qhub.module.kubernetes-jupyterhub.helm_release.jupyterhub: Still modifying... [id=jupyterhub, 5m10s elapsed]
[terraform]: module.qhub.module.kubernetes-jupyterhub.helm_release.jupyterhub: Still modifying... [id=jupyterhub, 5m20s elapsed]
[terraform]: module.qhub.module.kubernetes-jupyterhub.helm_release.jupyterhub: Still modifying... [id=jupyterhub, 5m30s elapsed]
[terraform]: module.qhub.module.kubernetes-jupyterhub.helm_release.jupyterhub: Still modifying... [id=jupyterhub, 5m40s elapsed]
[terraform]:
[terraform]: Error: timed out waiting for the condition
[terraform]:
[terraform]: on modules/kubernetes/services/jupyterhub/main.tf line 6, in resource "helm_release" "jupyterhub":
[terraform]: 6: resource "helm_release" "jupyterhub" {
[terraform]:
[terraform]:
Some advice on the config I should use would be nice ? Thanks !
Additional note if it can help : This is my config with the jupyterhub helm repo and it works:
hub:
config:
JupyterHub:
authenticator_class: firstuseauthenticator.FirstUseAuthenticator
FirstUseAuthenticator:
min_password_length: 5
admin_access: true
admin_users:
- marine
Your environment
qhub == 0.3.12 minkube with kubernetes-version=1.19.4 jupyterhub-firstuseauthenticator == 0.14.1 (https://github.com/jupyterhub/firstuseauthenticator)
Thanks
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (9 by maintainers)
Top Results From Across the Web
useAuthenticator doesn't trigger re-render when ... - GitHub
I have read the guide for submitting bug reports. ... I am trying to use the useAuthenticator hook to set a global authentication...
Read more >Headless | Amplify UI for React
@aws-amplify/ui-react ships with useAuthenticator React hook that can be used to access, modify, and update Authenticator's auth state. To use them, first ......
Read more >AuthStatus is not changing from configuring state using ...
Flicker of login page on Authentication - useAuthenticator - React - Amplify Auth. Unfortunately now, the page is always stuck in the " ......
Read more >jupyter - Bountysource
When I am trying to git clone a repository from within the jupyterhub pod, I got an error. It is working for k8s-hub...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To be clear,
qhub upgrade
is already inmain
as part of Keycloak (and is essential for it in my opinion).@iameskild Actually, this will no longer be supported directly:
which is something we need to add to the release notes. I think it would be a good idea to create a draft release so we can add information like that when we come to it, or would you prefer changelog to be in the docs directly?
The
qhub upgrade
command should also give some kind of warning if it comes across this configuration, I made an issue for that here: #931I would be happy to solve that issue, although it could be useful experience for someone to see the upgrade process.
In terms of how to achieve the desired authentication behavior (i.e. something similar to First Use Authenticator), Keycloak would need to be configured for this if possible.