Project

General

Profile

Bug #27714

Remote Execution not being used despite being set as default

Added by William Dixon almost 3 years ago. Updated almost 3 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

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

01_apply_errata.txt 01_apply_errata.txt 87.8 KB William Dixon, 08/26/2019 05:22 PM
02_package_install.txt 02_package_install.txt 77.5 KB William Dixon, 08/26/2019 05:22 PM
03_installed_packages_-_remove_selected.txt 03_installed_packages_-_remove_selected.txt 21.4 KB William Dixon, 08/26/2019 05:22 PM

Associated revisions

Revision 27ac8a27 (diff)
Added by Partha Aji almost 3 years ago

Fixes #27714 - Generate bastion config on load (#8363)

  • Fixes #27714 - Generate bastion config on load

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.

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

#6 Updated by Jonathon Turel almost 3 years ago

  • Category set to Web UI

Also available in: Atom PDF