Project

General

Profile

Actions

Bug #27302

closed

Filter is only evaluate when planning not running recurring job

Added by Dirk Götz almost 6 years ago. Updated almost 6 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Difficulty:
Triaged:
No
Found in Releases:

Description

I want to run Ansible every 30 minutes using recurring job logic from REX, but the filter is evaluated when the job is planned and not when it is executed, so future systems will not be included. This makes the feature more or less useless to me.

As a simple reproducer:
1. Create a job like SSH command id with hosts in active state when no host is active and a scheduling like */5 * * * *.
2. Mark a host as active with something like puppet apply -e "notify{'foo':}".
3. Next run still runs on 0 systems.

Found in Foreman Remote Execution 1.8.0 with Katello 3.12.0

Actions

Also available in: Atom PDF