Project

Profile

Help

Story #2850

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

Added by daviddavis about 3 years ago. Updated 3 months 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 - CURRENTRELEASE

<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by daviddavis about 3 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 about 3 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 about 3 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 almost 2 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.

#5 Updated by daviddavis over 1 year ago

  • Sprint/Milestone set to 3.0.0

#6 Updated by bmbouter over 1 year ago

  • Tags deleted (Pulp 3)

#7 Updated by bmbouter 3 months ago

  • Category deleted (14)

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

Please register to edit this issue

Also available in: Atom PDF