Bug #14209
Failed pulp tasks are not resumable.
Status:
Closed
Priority:
Normal
Assignee:
Category:
Orchestration
Target version:
Difficulty:
medium
Triaged:
Yes
Bugzilla link:
Description
Partially introduced in https://github.com/Katello/katello/pull/5567
a user is no longer able to 'resume' a failed pulp task. The task never gets restarted in pulp. The task seems to resume in dynflow, but is never restarted in pulp.
Its not the easiest thing to actually reproduce without introducing an exception in pulp via a code change.
Associated revisions
History
#1
Updated by Justin Sherrill over 6 years ago
- Description updated (diff)
- Legacy Backlogs Release (now unused) changed from 86 to 150
#2
Updated by The Foreman Bot over 6 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5884 added
#3
Updated by Justin Sherrill over 6 years ago
- Bugzilla link set to 1317986
#4
Updated by Justin Sherrill over 6 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|86de63973edd329123f864b8f9feee6d6ee08af9.
#5
Updated by The Foreman Bot about 6 years ago
- Pull request https://github.com/Katello/katello/pull/6011 added
Fixes #14209 - allow for restarting of pulp tasks on resume
The root cause of this is that this commit:
https://github.com/Katello/katello/pull/5567
made it so that resume_external_action no longer threw an exception. Due
to a recent change in dynflow it is needed to throw an exception in the case of
a non-network error. So this change returns the functionality of checking for
pulp task errors on polling, but overrides poll_external_task_with_rescue to not
treat pulp errors as poll errors.