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 1416844

Summary: [RFE] Allow batched content install actions during errata install
Product: Red Hat Satellite Reporter: Andrew Kofink <akofink>
Component: Errata ManagementAssignee: Andrew Kofink <akofink>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: high Docs Contact:
Priority: high    
Version: 6.2.7CC: akofink, bbuckingham, bkearney, daniele, jcallaha, zhunting
Target Milestone: UnspecifiedKeywords: FutureFeature, PrioBumpField, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-3.0.0.115-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1426411 (view as bug list) Environment:
Last Closed: 2017-05-01 13:58:15 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:
Bug Depends On:    
Bug Blocks: 1426411    
Attachments:
Description Flags
Batched content install tasks none

Description Andrew Kofink 2017-01-26 15:11:58 UTC
Description of problem:
Large errata install actions (many errata) should be able to be configured by the user to create batched sub-tasks in Pulp.

Version-Release number of selected component (if applicable):
6.2.z

Comment 1 Andrew Kofink 2017-01-26 15:12:26 UTC
Created redmine issue http://projects.theforeman.org/issues/18258 from this bug

Comment 5 jcallaha 2017-01-27 16:21:11 UTC
Can you provide some more information about this feature? Specifically verification steps/guidance are required.

Comment 7 Andrew Kofink 2017-01-27 16:59:07 UTC
Created attachment 1245210 [details]
Batched content install tasks

Comment 10 Andrew Kofink 2017-02-09 15:53:45 UTC
Setting to POST as it's merged upstream.

Comment 12 Satellite Program 2017-02-23 21:11:09 UTC
Please add verifications steps for this bug to help QE verify

Comment 13 Andrew Kofink 2017-02-24 12:44:19 UTC
With this patch, there should be a setting under Administer -> Settings -> Katello named 'Erratum Install Batch Size'. In the web UI, navigate to Administrator -> Settings, select the Katello tab, and change the "Erratum Install Batch Size" setting to a value greater than 0. Perform an erratum install via katello-agent, and notice that the errata is installed in batches of that size.

For example, if "Erratum Install Batch Size" is 5, and you install 11 errata, there will be 3 Actions::Pulp::Consumer::ContentInstall actions in Dynflow under the Actions::Katello::Host::Erratum::Install action.

Comment 16 Peter Ondrejka 2017-03-27 13:12:12 UTC
Verified in Sat 6.2.9-1, the batch errata installation is split to tasks based on the Erratum Install Batch Size setting as expected.

Comment 18 errata-xmlrpc 2017-05-01 13:58:15 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2017:1191