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 2029192

Summary: Applying errata from the errata's page always tries to use katello-agent even when remote_execution_by_default set to true
Product: Red Hat Satellite Reporter: roane <rsebasti>
Component: Errata ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED ERRATA QA Contact: Akhil Jha <akjha>
Severity: medium Docs Contact:
Priority: high    
Version: 6.10.0CC: ahumbe, damoore, jyejare, mkalyat, patalber, pmendezh, sadas, satellite6-bugs, zhunting
Target Milestone: 6.11.0Keywords: PrioBumpGSS, Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-katello-4.3.0.5-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 2059383 (view as bug list) Environment:
Last Closed: 2022-07-05 14:30:51 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 roane 2021-12-05 16:59:58 UTC
Description of problem:

Option "remote_execution_by_default" is set to true:

~~~
# hammer settings list |grep remote_execution_by_default
remote_execution_by_default                            | Use remote execution by default                             | true                                                                             | If this is enabled, remote execution is used instead of katello-agent for rem...
~~~

Going to Satellite WebUI > Content > Errata > select errata > apply errata > select a host > Next > Apply Errata > "This action uses katello-agent, which is currently disabled. Use remote execution instead."


Version-Release number of selected component (if applicable):
Satellite 6.10

How reproducible:

Always

Steps to Reproduce:

1. Set option remote_execution_by_default to true:

# hammer settings set --name remote_execution_by_default --value true

2. Go to the WebUI > Content > Errata > select errata > apply errata > select a host > Next > Apply Errata > Confirm 


Actual results:
Satellite tries to push the errata installation using katello-agent

Expected results:
Satellite should use remote execution to push the errata installation

Additional info:

- Tested on satellite-6.10.0-3.el7sat.noarch

- This bug was fixed in the 6.8.6 version, BZ - 1943260 - issue reoccurred post upgrading to version 6.10.

Comment 3 Justin Sherrill 2022-02-08 21:30:22 UTC
Created redmine issue https://projects.theforeman.org/issues/34420 from this bug

Comment 4 Bryan Kearney 2022-02-17 16:05:29 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/34420 has been resolved.

Comment 6 Akhil Jha 2022-03-15 10:19:48 UTC
Verified.
Satellite 7.0.0-13.0

Comment 9 errata-xmlrpc 2022-07-05 14:30:51 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

Comment 11 Red Hat Bugzilla 2023-09-20 04:25:04 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days