Bug 2029192 - Applying errata from the errata's page always tries to use katello-agent even when remote_execution_by_default set to true
Summary: Applying errata from the errata's page always tries to use katello-agent even...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: 6.11.0
Assignee: Justin Sherrill
QA Contact: Akhil Jha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-12-05 16:59 UTC by roane
Modified: 2023-09-20 04:25 UTC (History)
9 users (show)

Fixed In Version: tfm-rubygem-katello-4.3.0.5-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2059383 (view as bug list)
Environment:
Last Closed: 2022-07-05 14:30:51 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 34420 0 High Closed Applying errata from the errata's page always tries to use katello-agent even when remote_execution_by_default set to tr... 2022-02-17 08:03:15 UTC
Red Hat Knowledge Base (Solution) 6667031 0 None None None 2022-01-25 14:58:39 UTC
Red Hat Product Errata RHSA-2022:5498 0 None None None 2022-07-05 14:31:02 UTC

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


Note You need to log in before you can comment on or make changes to this bug.