Actions
Bug #37820
closedIf a smart proxy sync task fails in plan, for_resource helper does not work
Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Description
We rely on for_resource scope helper to return failed tasks for a capsule. This helper queries ForemanTask::Link object which is created by the `action_subject` method in plan phase. However if there is a failure during plan phase, the changes are rolled back as part of one transaction leading to deletion of the link record between task and smart proxy record.
The for_resource helper no longer returns the failed 'unlinked' task and as a result we don't show task failure on the UI.
Updated by The Foreman Bot 3 months ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/11142 added
Updated by Samir Jha 2 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|2caec8035c201f85aa0600f03404eb48649f2582.
Actions