Project

Profile

Help

Issue #4726

Starting Pulp shows errors while all processes start up

Added by bmbouter 6 months ago. Updated 6 months ago.

Status:
NEW
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Severity:
2. Medium
Version:
Platform Release:
Blocks Release:
OS:
Backwards Incompatible:
No
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
QA Contact:
Complexity:
Smash Test:
Verified:
No
Verification Required:
No
Sprint:

Description

Problem

Pulp_workers and pulp_resource_manager processes "check" on each other and if at least 1 worker or 1 resource_manager has not checked in recently it outputs an error saying Pulp is in an unhealthy state. When starting the pulp processes, there is no way to start it without having these errors output. While technically correct (since the other process hasn't started) these errors should not start as part of normal startup. For example here is a normal startup:

Apr 23 18:49:42 pulp3-source-fedora29.localhost.example.com rq[31237]: pulp: pulpcore.tasking.services.worker_watcher:ERROR: There are 0 worker processes running. Pulp will not operate correctly without at least one worker process running.
Apr 23 18:49:42 pulp3-source-fedora29.localhost.example.com rq[31237]: pulp: pulpcore.tasking.services.worker_watcher:ERROR: There are 0 worker processes running. Pulp will not operate correctly without at least one worker process running.

Solution

This logging should be adjusted to only log after 1 heartbeat instead of logging on the very first heartbeat.

History

#1 Updated by amacdona@redhat.com 6 months ago

  • Triaged changed from No to Yes

Please register to edit this issue

Also available in: Atom PDF