Actions
Issue #3095
closedUnable to cancel pending unstarted tasks
Status:
CLOSED - WONTFIX
Priority:
Low
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
1. Created some consumers
2. Created some consumer groups for patching
3. Deleted some consumers
4. Run some package group updates
5. Task lists look Unstarted.
I am not able to cancel the tasks by running
pulp-admin tasks cancel --task-id <task-id>
Is there a workaround to remove those orphan tasks?
Updated by dkliban@redhat.com about 7 years ago
The tasks can't be started because the consumers are missing. This currently requires manually cleaning up the database.
Connect to mongo shell:
mongo pulp_database
Remove a task status document
db.task_status.deleteOne({"task_id":"22f0e011-57fe-4fbb-802c-7eafe2d0709c"})
Substitute the task_id you are actually trying to remove.
Updated by bmbouter about 7 years ago
Another workaround could be to re-register the consumer w/ the same consumer name, then cancel all outstanding tasks, then delete the consumer. It's not great, but it is a workaround.
Updated by dalley about 7 years ago
- Category deleted (
15) - Priority changed from Normal to Low
- Severity changed from 4. Urgent to 2. Medium
- Triaged changed from No to Yes
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Actions