Bug #27714
Remote Execution not being used despite being set as default
Description
Administer > Settings > Content :
Use remote execution by default: YES
With the above setting, the default action (install package, update errata) is still trying to use katello-agent, and tasks are failing (as katello-agent is not installed).
Select a content host and navigate to Packages > Installed
Search for packages (e.g. ‘iwl1000’) and click ‘Remove Selected’ after selecting package.
Nothing will happen on the host
Expected outcome:
Expected actions to use Remote Execution over katello-agent
Foreman and Proxy versions:
Foreman 1.22.0
Katello 3.12.3
Foreman_remote_execution 1.8.2
Attached logs are referenced in https://community.theforeman.org/t/remote-execution-not-being-used-despite-being-set-as-default/15103/2
Associated revisions
History
#1
Updated by Tomer Brisker almost 3 years ago
- Project changed from Foreman Maintain to Katello
#2
Updated by James Jeffers almost 3 years ago
- Triaged changed from No to Yes
- Target version set to Katello 3.14.0
#3
Updated by The Foreman Bot almost 3 years ago
- Assignee set to Partha Aji
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/8363 added
#4
Updated by The Foreman Bot almost 3 years ago
- Fixed in Releases Katello 3.14.0 added
#5
Updated by Partha Aji almost 3 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset katello|27ac8a27bca36ddfacdd4c02677bec5e2280e3f0.
#6
Updated by Jonathon Turel almost 3 years ago
- Category set to Web UI
Fixes #27714 - Generate bastion config on load (#8363)
This commit adds a config generator option to bastion so that it reloads
the configurations on every page load. Prior to this commit the plugins
were returning a static list of config items, which means if some one
changed "remote_execution_by_default" setting, the config would not get
regenerated in the UI.
Also updated the content-host installed packages controller to handle
removal by both katello-agent and remote action
Also includes a bunch of unit tests.