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

🐛 Error logging in when a users namespace has been removed #2856

Closed
Tracked by #1827
michaeljcollinsuk opened this issue Jan 10, 2024 · 4 comments
Closed
Tracked by #1827
Labels
bug Something isn't working control-panel Control panel data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools stale 🧑‍💻 Apps & Tools BAU (Epic #1827)

Comments

@michaeljcollinsuk
Copy link
Contributor

Describe the bug.

User reported an error when logging in via support https://github.com/ministryofjustice/data-platform-support/issues/411

Corresponding sentry error showed a 403 trying to access the user namespace https://ministryofjustice.sentry.io/issues/4155701134/?environment=prod&project=5606313&query=is%3Aunresolved&referrer=issue-stream&statsPeriod=14d&stream_index=2

On investigation the users namespace did not exist. This was causing an exception when trying to look up existing deployments when visiting the "My tools" page, this is not caught, so the user sees a 500 error.

To Reproduce

N/A user specific

Expected Behaviour

  1. We should catch the exception in the view, to avoid the user seeing a 500 error
  2. In the backend, recreate the namespace and inform the user this is ongoing and will take a few minutes
  3. Send event to frontend when the namespace has been created (use django channels)

Additional context

No response

@michaeljcollinsuk michaeljcollinsuk added the bug Something isn't working label Jan 10, 2024
@michaeljcollinsuk michaeljcollinsuk added the data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools label Jan 10, 2024
@michaeljcollinsuk michaeljcollinsuk added the control-panel Control panel label Jan 10, 2024
Copy link
Contributor

github-actions bot commented Apr 1, 2024

This issue is being marked as stale because it has been open for 60 days with no activity. Remove stale label or comment to keep the issue open.

@github-actions github-actions bot added the stale label Apr 1, 2024
Copy link
Contributor

github-actions bot commented Apr 9, 2024

This issue is being closed because it has been open for a further 7 days with no activity. If this is still a valid issue, please reopen it, Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Apr 9, 2024
@github-project-automation github-project-automation bot moved this from 👀 TODO to 🎉 Done in Analytical Platform Apr 9, 2024
@github-actions github-actions bot removed the stale label Apr 10, 2024
@jacobwoffenden jacobwoffenden moved this from 🎉 Done to 👀 TODO in Analytical Platform Apr 11, 2024
Copy link
Contributor

github-actions bot commented Jun 9, 2024

This issue is being marked as stale because it has been open for 60 days with no activity. Remove stale label or comment to keep the issue open.

@github-actions github-actions bot added the stale label Jun 9, 2024
Copy link
Contributor

This issue is being closed because it has been open for a further 7 days with no activity. If this is still a valid issue, please reopen it, Thank you!

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Jun 18, 2024
@github-project-automation github-project-automation bot moved this from 👀 TODO to 🎉 Done in Analytical Platform Jun 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working control-panel Control panel data-platform-apps-and-tools This issue is owned by Data Platform Apps and Tools stale 🧑‍💻 Apps & Tools BAU (Epic #1827)
Projects
Archived in project
Development

No branches or pull requests

2 participants