jupyterhub / zero-to-jupyterhub-k8s

Helm Chart & Documentation for deploying JupyterHub on Kubernetes
https://zero-to-jupyterhub.readthedocs.io
Other
1.56k stars 799 forks source link

User not able to login after Admin edits the user name from admin panel #3426

Open HarshithaRmAkamai opened 6 months ago

HarshithaRmAkamai commented 6 months ago

Bug description

How to reproduce

1)Created a user testing 2)Was able to successfully login using testing username 3)Edited the user name to testing1 4)Says incorrect username and password when tried to access from username : testing1 5)Tried logging in using old user name : testing This entry got added in admin panel as new entry

Expected behaviour

1)User was supposed to be able to login after user name was updated 2)There should be only 1 corresponding entry for the user with updated username

Actual behaviour

1)Says incorrect username and password when tried to access from updated username 2)When tried to access from old user name that entry got added in admin panel as new entry 3)After that I could see both testing and testing1 as users in admin panel Screenshot 2024-05-28 at 7 58 09 PM

Your personal set up

z2jh version we are using 3.3.7 We are running on LKE cluster with Debian 11 OS worker nodes.

logs

[E 2024-05-28 15:17:55.103 JupyterHubSingleUser] Error notifying Hub of activity Traceback (most recent call last): File "/opt/conda/lib/python3.11/site-packages/jupyterhub/singleuser/extension.py", line 428, in notify await client.fetch(req) tornado.httpclient.HTTPClientError: HTTP 404: Not Found

Configuration ``` hub: config: Authenticator: admin_users: - User1 - User2 allowed_users: - User3 JupyterHub: authenticator_class: dummy ```

welcome[bot] commented 6 months ago

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! :hugs:
If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively. welcome You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! :wave:
Welcome to the Jupyter community! :tada: