Project

Profile

Help

Issue #421

closed

Pulp allows requests while still booting

Added by mkovacik@redhat.com about 9 years ago. Updated almost 4 years ago.

Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.4 Beta
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Description of problem:
Pulp allows requests while still booting.
This leads to mixed results whenever both sync and async tasks are concerned such as create repo & associate importer.
As a result, sync tasks pass OK (create repo) while async tasks fail with internal server errors etc.

Version-Release number of selected component (if applicable):
2.4 Beta

How reproducible:
always

Steps to Reproduce:
1. stop pulp services and httpd
2. start pulp services and httpd
3. while the pulp services are booting, issue create repo & associate importer API requests

Actual results:
Internal errors, async tasks fail

Expected results:
Pulp doesn't accept any requests while booting
Ideally, pulp gives a 503-Service-Unavailable response in return while booting

Additional info:
Affects CI when pulp start is slowed-down by call-stats collecting [1]
A workaround exists: wait ~1min till pulp settles down
[1] https://github.com/RedHatQE/python-moncov

+ This bug was cloned from Bugzilla Bug #1092494 +

Actions #1

Updated by mhrivnak about 9 years ago

We should probably move creation and initialization of the wsgi app into a function that does not return the wsgi app until initialization is complete.

However, this is not having end-user impact at this time, so we can't prioritize it very high.

+ This comment was cloned from Bugzilla #1092494 comment 1 +

Actions #2

Updated by bmbouter about 9 years ago

  • Severity changed from Low to 1. Low
Actions #3

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #4

Updated by bmbouter about 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #5

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added
Actions #6

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