Project

General

Profile

Actions

Bug #37820

closed

If a smart proxy sync task fails in plan, for_resource helper does not work

Added by Samir Jha 3 months ago. Updated 2 months ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Foreman Proxy Content
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

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.

Actions #1

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
Actions #2

Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 4.15.0 added
Actions #3

Updated by Samir Jha 2 months ago

  • Status changed from Ready For Testing to Closed
Actions #4

Updated by The Foreman Bot 2 months ago

  • Fixed in Releases Katello 4.14.1 added
Actions #5

Updated by Ian Ballou 2 months ago

  • Triaged changed from No to Yes
Actions

Also available in: Atom PDF