Project

Profile

Help

Story #2850

As a user I can use the status endpoint when the DB is down

Added by daviddavis over 2 years ago. Updated 6 months ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
API
Sprint/Milestone:
Start date:
Due date:
% Done:

0%

Platform Release:
Blocks Release:
Backwards Incompatible:
No
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

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 issues

Related to Pulp - Story #2804: As an unauthenticated user, I can view the status of Pulp workers, resource managers, and celerybeats. MODIFIED Actions

History

#1 Updated by daviddavis over 2 years ago

  • Related to Story #2804: As an unauthenticated user, I can view the status of Pulp workers, resource managers, and celerybeats. added

#2 Updated by daviddavis over 2 years ago

It looks like django.middleware.csrf.CsrfViewMiddleware is trying to access the database. Not sure how to bypass this middleware.

#3 Updated by ttereshc over 2 years ago

  • 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

#4 Updated by amacdona@redhat.com 11 months ago

  • 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.

#5 Updated by daviddavis 6 months ago

  • Sprint/Milestone set to 3.0

#6 Updated by bmbouter 6 months ago

  • Tags deleted (Pulp 3)

Please register to edit this issue

Also available in: Atom PDF