Bug 2210297

Summary: tasks Actions::Katello::BulkAgentAction without any sub-plans and stuck in running/pending
Product: Red Hat Satellite Reporter: Jan Jansky <jjansky>
Component: katello-agentAssignee: Jeremy Lenz <jlenz>
Status: CLOSED ERRATA QA Contact: Sam Bible <sbible>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.13.1CC: jlenz, lufu, pcreech, pmoravec, rlavi, sbible
Target Milestone: 6.14.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-katello-4.9.0.2-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-11-08 14:19:24 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:

Description Jan Jansky 2023-05-26 13:49:27 UTC
Description of problem:
When doing package actions on more than 1 client task "Actions::Katello::BulkAgentAction" is created with correct inputs, however it will spawn any sub-plans and stay stuck in running/pending until service restart


Version-Release number of selected component (if applicable):
6.11 and 6.13 confirmed

How reproducible:
Always


Steps to Reproduce:
1.# satellite-installer --foreman-proxy-content-enable-katello-agent true
2. Install katello-agent on clients
3. WebUI -> Hosts -> Content Hosts -> select at least 2 hosts -> Select Actions -> Manage Packages -> sos -> Install via Katello Agent

Actual results:
Nothing done on clients.
task Actions::Katello::BulkAgentAction created without any sub-plans and stuck in running/pending state until services restarts

Expected results:
Installed sos on selected clients.
No stuck task.

Comment 3 Jeremy Lenz 2023-06-22 16:34:44 UTC
Created redmine issue https://projects.theforeman.org/issues/36528 from this bug

Comment 5 Sam Bible 2023-08-10 14:49:28 UTC
Verified on Satellite 6.14 - Snap 10

Steps to Verify:

1. Enable katello-agent on satellite via this command:
    satellite-installer --foreman-proxy-content-enable-katello-agent true
2. Install katello-agent on a host.
3. Attempt both a normal and bulk action install ( through content-hosts page ) of a package

Expected Result:
No issue with subplans, and package is installed.

Actual Result:
No issue with subplans, and package is installed.

Comment 8 errata-xmlrpc 2023-11-08 14:19:24 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 (Important: Satellite 6.14 security and bug fix update), 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-2023:6818