Bug 1771724

Summary: Move Actions::Katello::Host::UploadPackageProfile out of dynflow
Product: Red Hat Satellite Reporter: Partha Aji <paji>
Component: Hosts - ContentAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: Stephen Wadeley <swadeley>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: ahumbe, aperotti, inecas, jentrena, patalber, pcreech
Target Milestone: 6.11.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-07-05 14:27:54 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: 1758285    

Description Partha Aji 2019-11-12 20:22:54 UTC
Actions::Katello::Host::UploadPackageProfile is one the most used actions in the foreman tasks/dynflow queue. 
An example of a user who had 700,000 tasks in their task history saw this rough breakdown

COUNT|TYPE 
141833 Actions::Katello::Host::UploadPackageProfile

we need to investigate moving this to be handled directly by the main Rails application and not require the overhead of task creation, monitoring and eventual database cleanup.

Comment 3 Sean O'Keeffe 2020-05-13 08:55:17 UTC
*** Bug 1771729 has been marked as a duplicate of this bug. ***

Comment 4 Jeremy Lenz 2021-06-25 21:20:31 UTC
Created redmine issue https://projects.theforeman.org/issues/32889 from this bug

Comment 5 Bryan Kearney 2021-06-26 00:00:52 UTC
Upstream bug assigned to jlenz

Comment 6 Bryan Kearney 2021-06-26 00:00:54 UTC
Upstream bug assigned to jlenz

Comment 7 Bryan Kearney 2021-08-09 16:01:43 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/32889 has been resolved.

Comment 12 errata-xmlrpc 2022-07-05 14:27:54 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 (Moderate: Satellite 6.11 Release), 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/RHSA-2022:5498