Unable to cancel pending unstarted tasks
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 firstname.lastname@example.org about 5 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:
Remove a task status document
Substitute the task_id you are actually trying to remove.