Project

Profile

Help

Story #2850

closed

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

Added by daviddavis almost 7 years ago. Updated almost 4 years ago.

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

0%

Estimated time:
Platform Release:
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Quarter:

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.CLOSED - CURRENTRELEASEdaviddavis

Actions
Actions #1

Updated by daviddavis almost 7 years ago

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

Updated by daviddavis almost 7 years ago

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

Actions #3

Updated by ttereshc almost 7 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
Actions #4

Updated by amacdona@redhat.com over 5 years 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.

Actions #5

Updated by daviddavis almost 5 years ago

  • Sprint/Milestone set to 3.0.0
Actions #6

Updated by bmbouter almost 5 years ago

  • Tags deleted (Pulp 3)
Actions #7

Updated by bmbouter almost 4 years ago

  • Category deleted (14)

We are removing the 'API' category per open floor discussion June 16, 2020.

Also available in: Atom PDF