Bug #34743
Updating packages from the Content host's page always tries to use katello-agent even when remote_execution_by_default set to true
Description
Description of problem:
Updating packages from the Content host's page always tries to use katello-agent even when remote_execution_by_default set to true
Steps to Reproduce:
1. Set parameter 'remote_execution_by_default' to true in administer tab
2. Navigate to Hosts -> Content-Hosts -> <Host> -> Packages -> Actions -> Upgrade all Packages`
Or
API calls resulting in the same exception:-
`POST https://satellite.example.com/api/v2/hosts/1/packages/upgrade_all`
Actual results:
The job fails, with the exception:-
Host did not respond within 20 seconds. The task has been canceled. Is katello-agent installed and goferd running on the Host?
Expected results:
As "remote execution by default` to `yes`." in the administer tab, regardless of where I initiate the task it should honor only remote execution.
Associated revisions
History
#1
Updated by The Foreman Bot 12 months ago
- Assignee set to Partha Aji
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/10051 added
#2
Updated by Partha Aji 12 months ago
- Triaged changed from No to Yes
- Target version set to Katello 4.5.0
#3
Updated by The Foreman Bot 11 months ago
- Fixed in Releases Katello 4.5.0 added
#4
Updated by Partha Aji 11 months ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|2b824a86dde492b726fa14e0d62de4872a289145.
#5
Updated by The Foreman Bot 11 months ago
- Pull request https://github.com/Katello/katello/pull/10073 added
#6
Updated by The Foreman Bot 10 months ago
- Pull request https://github.com/Katello/katello/pull/10109 added
#7
Updated by The Foreman Bot 9 months ago
- Fixed in Releases Katello 4.5.1 added
#8
Updated by The Foreman Bot 9 months ago
- Pull request https://github.com/Katello/katello/pull/10186 added
Fixes #34743 - Disable update all if no katello-agent (#10051)