Story #2850
closed
As a user I can use the status endpoint when the DB is down
Description
Ensure that users can hit /api/v3/status/ even if the database is down.
Steps to reproduce:
1. Start the application
2. systemctl stop postgresql
3. http :8000/api/v3/status/
- Related to Story #2804: As an unauthenticated user, I can view the status of Pulp workers, resource managers, and celerybeats. added
It looks like django.middleware.csrf.CsrfViewMiddleware is trying to access the database. Not sure how to bypass this middleware.
- Tracker changed from Issue to Story
- Subject changed from Ensure that users can reach the status api even if the db is down to As a user I can use the status endpoint when the DB is down
- % Done set to 0
- Status changed from NEW to CLOSED - WONTFIX
It doesn't look like it will be possible to view this if the database is down, so closing for now.
- Sprint/Milestone set to 3.0.0
We are removing the 'API' category per open floor discussion June 16, 2020.
Also available in: Atom
PDF