Description of problem:
When you create recurring job in the context of Default Organization
Monitor > Jobs > Run job
Job category: Commands
Job Template: Run Command - SSH Default
Search Query: last_report > "35 minutes ago"
Command: true repeat 3
Schedule: Set up recurring execution
Cron line: * * * * *
Repeat N times: 3
the first job is scheduled for all active hosts in Default Organization (one)
but then all repetitions of the jobs are scheduled for all active hosts across all organizations (two)
in the Job invocations page (Monitor > jobs) jobs does not provide correct host count
Description Status Succeeded Failed Pending Total hosts Start
Run true repeat 3 succeeded 2 0 0 1 29 minutes ago
Run true repeat 3 succeeded 2 0 0 1 30 minutes ago
Run true repeat 3 succeeded 1 0 0 1 31 minutes ago
Failed is two but Total host is only one
And the jobs detail page show nonsense result data like 200% Failed, or Infinity% Failed ..
Version-Release number of selected component (if applicable):
Sat 6.4 snap 21
- recurring jobs are scheduled for the proper set of hosts
- job list page shows correct host count data and/or shows jobs filtered according to organization
- job details page does not show nonsense data like 200% Success or Infinity% Success
Created redmine issue https://projects.theforeman.org/issues/24882 from this bug
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24882 has been resolved.
Verified on Satellite 6.5 snap 2
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, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.