Project

Profile

Help

Issue #3554

Resource manager runs tasks it shouldn't

Added by daviddavis about 2 years ago. Updated 5 months ago.

Status:
CLOSED - CURRENTRELEASE
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:
Sprint 35

Description

If you stop all workers but leave resource manager running:

sudo systemctl stop pulp_worker@1 pulp_worker@2

You can still run tasks like sync. It looks like resource_manager is running these tasks.

This method probably returns resource_manager and needs to be fixed so that it doesn't:

https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/tasking/tasks.py#L113
https://github.com/pulp/pulp/blob/3.0-dev/pulpcore/pulpcore/tasking/tasks.py#L44

Associated revisions

Revision 31588d45 View on GitHub
Added by dalley about 2 years ago

Don't run tasks on the resource manager

closes #3554 https://pulp.plan.io/issues/3554

Revision 31588d45 View on GitHub
Added by dalley about 2 years ago

Don't run tasks on the resource manager

closes #3554 https://pulp.plan.io/issues/3554

History

#1 Updated by daviddavis about 2 years ago

  • Tags Pulp 3, Pulp 3 MVP added

#2 Updated by dalley about 2 years ago

  • Triaged changed from No to Yes
  • Sprint set to Sprint 35

#3 Updated by dalley about 2 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to dalley

#4 Updated by dalley about 2 years ago

  • Status changed from ASSIGNED to POST

#5 Updated by dalley about 2 years ago

  • Status changed from POST to MODIFIED

#6 Updated by dkliban@redhat.com about 2 years ago

  • Sprint/Milestone set to 3.0.0

#7 Updated by bmbouter about 1 year ago

  • Tags deleted (Pulp 3, Pulp 3 MVP)

#8 Updated by bmbouter 5 months ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

Please register to edit this issue

Also available in: Atom PDF