Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1226410

Summary: Incremental update task failed when one of its install applicable errata task is failed
Product: Red Hat Satellite Reporter: sthirugn <sthirugn>
Component: Content ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.1.0CC: bbuckingham, bkearney, inecas
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
URL: http://projects.theforeman.org/issues/10708
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-12 13:55:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
dynflow error.log
none
production.log none

Description sthirugn@redhat.com 2015-05-29 17:01:15 UTC
Description of problem:
Incremental update task failed when one of its install applicable errata task is failed

Version-Release number of selected component (if applicable):
Satellite 6.1 GA Snap 6

How reproducible:
Always

Steps to Reproduce:
1. Install an incremental update on two content hosts (one of the content hosts had goferd stopped)
2. 'Incremental update' task is created
3. Two sub tasks 'Install Applicable Errata' are created  - One of the tasks completed fine and the other had State = stopped, Result = warning. (expected)

Actual results:
The incremental update paused at 87% with error

Expected results:
The incremental update task should complete 100% with warning

Additional info:

Comment 1 sthirugn@redhat.com 2015-05-29 17:02:09 UTC
Created attachment 1032210 [details]
dynflow error.log

Comment 2 sthirugn@redhat.com 2015-05-29 17:02:41 UTC
Created attachment 1032211 [details]
production.log

Comment 5 Justin Sherrill 2015-05-29 17:05:46 UTC
ivan, can you shed some insight into this error?

Thanks!

Comment 6 sthirugn@redhat.com 2015-05-29 17:06:32 UTC
Update: resuming the task made it complete 100% GREEN

Comment 8 Ivan Necas 2015-06-04 15:22:54 UTC
The BulkAction is missing the handling of `skip` event, that is triggered when the bulk task fails. Overriding the `run` method to catch the skip event should do the trick

Comment 9 Justin Sherrill 2015-06-04 20:50:55 UTC
Created redmine issue http://projects.theforeman.org/issues/10708 from this bug

Comment 10 Bryan Kearney 2015-06-05 10:05:24 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10708 has been closed
-------------
Justin Sherrill
Applied in changeset commit:bc93b64560fb8757119c665fc7c1a461b8afc463.

Comment 13 sthirugn@redhat.com 2015-06-16 15:38:25 UTC
Verified in Sat 6.1 GA Snap 8.

Now the 'Incremental Update' task completes with State=stopped, Result=warning statuses.

Comment 14 Bryan Kearney 2015-08-11 13:29:29 UTC
This bug is slated to be released with Satellite 6.1.

Comment 15 Bryan Kearney 2015-08-12 13:55:49 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.