Project

General

Profile

Actions

Bug #19227

closed

setting a job with schedule_simple in catchup mode does not honor the schedule

Added by Nicolas CHARLES over 3 years ago. Updated over 2 years ago.

Status:
Released
Priority:
N/A
Category:
Generic methods
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:

Description

When we use the "catchup" mode in schedule_* , it will run the job asap if the job was never run. And then define a persistent class for the length of the desired frequency
So when it will be the desired period for this job, the class will still be set, and the job won't be run. After the end of the persistent class, the job will be caught up

The result is a job not splayed at all

Impact is worsen by the fact that it is used by rudder inventory splay mechanism

Actions #1

Updated by Nicolas CHARLES over 3 years ago

  • Status changed from New to In progress
Actions #2

Updated by Nicolas CHARLES over 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/ncf/pull/1291
Actions #3

Updated by Nicolas CHARLES over 3 years ago

  • Status changed from Pending technical review to Pending release

Applied in changeset commit:2ac34ab9239bd6eeaacb9dc5b3e762b8b531e27b.

Actions #4

Updated by François ARMAND over 3 years ago

  • Fix check changed from To do to Checked
Actions #5

Updated by Vincent MEMBRÉ over 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 6.1.13 and 6.2.7 which were released today.

Actions #6

Updated by Alexis Mousset over 2 years ago

  • Project changed from 41 to Rudder
  • Category set to Generic methods
Actions

Also available in: Atom PDF