Actions
Issue #7497
closedI can't see the reserved resource records from the moment they are dispatched
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Sprint:
Sprint 81
Quarter:
Description
Use case¶
Say you dispatch N repo sync's every 6 hours, where N is large > 500 repos. Then say the server's Pulp is syncing from are temporarily slow, so they tasks are backing up enough that another "set" of sync's are dispatched. The user would like to cancel enough sync's so that for each repository there is only one, but they cannot know which ones to cancel because the reserved_resource_records field is not yet set.
The issue¶
The records are being created in the resource_manager here but they should be created in the enqueue_with_reservation
function when the task record itself is created.
Implementation¶
Related issues
Updated by daviddavis about 4 years ago
- Has duplicate Story #7496: As a user, I want to see what resources a task is waiting on added
Updated by bmbouter about 4 years ago
- Tracker changed from Story to Issue
- Subject changed from As a user, I can see the reserved resource records from the moment they are dispatched to I can't see the reserved resource records from the moment they are dispatched
- Severity set to 2. Medium
- Triaged set to No
Updated by daviddavis about 4 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to daviddavis
Updated by pulpbot about 4 years ago
- Status changed from ASSIGNED to POST
Added by daviddavis about 4 years ago
Updated by daviddavis about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulpcore|33ee3c1bc64447dd299a59512c3a6d48dbf982ea.
Updated by pulpbot about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions
Setting the reserved resource record when creating the task
fixes #7497