Project

General

Profile

Actions

Bug #39389

closed

REX job "Schedule a job" with "select all" check does not run for any host

Added by Bernhard Suttner 15 days ago. Updated 5 days ago.

Status:
Closed
Priority:
High
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Steps:

1. Navigate to Hosts > All Hosts
2. Select all hosts with "select all checkbox"
3. Trigger a "predefined" bulk job by clicking on the arrow just right to "Schedule a job" (not on Schedule a job itself) and select one of the predefined jobs (e.g. "Run Puppet Once" or "Run All Ansible roles")
4. Verify jobs on > Monitor > Jobs

Actual results:
The job is never created.

Expected results:
Job for all hosts initiated.
Workaround:
Unselect and select a host and run it then

Additional info:
This only applies if selecting hosts with "select all checkbox". Once an individual host's checkbox is touched it works. If running "Schedule a job" and configuring the job it also works.

Note: I have added this issue in foreman project and not in foreman_remote_execution because I think, the issue is how the '_all-hosts-schedule-a-job' slot is implemented in webpack/assets/javascripts/react_app/components/HostsIndex/index.js - but maybe I'm wrong

Actions #1

Updated by The Foreman Bot 9 days ago

  • Status changed from New to Ready For Testing
  • Assignee set to Bernhard Suttner
  • Pull request https://github.com/theforeman/foreman/pull/11014 added
Actions #2

Updated by The Foreman Bot 5 days ago

  • Fixed in Releases 5.0.0 added
Actions #3

Updated by Bernhard Suttner 5 days ago

  • Status changed from Ready For Testing to Closed
Actions

Also available in: Atom PDF