Project

General

Profile

Actions

Bug #23540

closed

schedule_generic breaks the agent run when the periodicity of a job is null

Added by Félix DALLIDET about 1 year ago. Updated about 1 year 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:
No

Description

See the following stacktrace:

^[[0m^[[34mrudder  verbose: P: BEGIN promise 'promise_time_cf_233' of type "methods" (pass 1)
^[[0m^[[34mrudder  verbose: P:    Promiser/affected object: 'any'
^[[0m^[[34mrudder  verbose: P:    From parameterized bundle: schedule_simple_generic( {"whrite_id","5","0","1","0","11","5","0","0","0","catchup"})
^[[0m^[[34mrudder  verbose: P:    Base context class: any
^[[0m^[[34mrudder  verbose: P:    Stack path: /default/rudder_directives/methods/'Global configuration for all nodes/Test schedule vendredi 11h00'/default/run_3bfe1400_308b_4cf4_a2f9_ab5a6348b2a0/methods/'Global configuration for all nodes/Test schedule vendredi 11h00'/default/write_file/methods/'f36e678d-c154-400d-bc96-563298c63ba3_3bfe1400-308b-4cf4-a2f9-ab5a6348b2a0'/default/call_f36e678d_c154_400d_bc96_563298c63ba3/methods/'f36e678d-c154-400d-bc96-563298c63ba3_3bfe1400-308b-4cf4-a2f9-ab5a6348b2a0'/default/schedule_simple/methods/'simple scheduler'/default/schedule_simple_generic/methods/'any'[1]
^[[0m^[[34mrudder  verbose: B: *****************************************************************
^[[0m^[[34mrudder  verbose: B: BEGIN bundle schedule_generic( {"whrite_id","5","60","0","141"})
^[[0m^[[34mrudder  verbose: B: *****************************************************************
^[[0m^[[34mrudder  verbose: V:     +  Private parameter: 'job_id' in scope 'schedule_generic' (type: s) in pass 1
^[[0m^[[34mrudder  verbose: V:     +  Private parameter: 'agent_periodicity' in scope 'schedule_generic' (type: s) in pass 1
^[[0m^[[34mrudder  verbose: V:     +  Private parameter: 'max_execution_delay' in scope 'schedule_generic' (type: s) in pass 1
^[[0m^[[34mrudder  verbose: V:     +  Private parameter: 'job_periodicity' in scope 'schedule_generic' (type: s) in pass 1
^[[0m^[[34mrudder  verbose: V:     +  Private parameter: 'minutes_from_start' in scope 'schedule_generic' (type: s) in pass 1
^[[0m^[[34mrudder  verbose: V: .........................................................
^[[0m^[[34mrudder  verbose: V: BEGIN variables (pass 1)
^[[0m^[[34mrudder  verbose: V:     Computing value of 'test'
^[[0m^[[34mrudder  verbose: C: .........................................................
^[[0m^[[34mrudder  verbose: C: BEGIN classes / conditions (pass 1)
^[[0m^[[34mrudder  verbose: C:     +  Private class: null_job_periodicity
^[[0m^[[34mrudder  verbose: Skipping promise 'job_${job_id}_error_delay_too_big' because constraint 'ifvarclass => !null_job_periodicity' is not met
^[[0m^[[34mrudder  verbose: C:     +  Private class: noerror
^[[0m
error    Rudder agent was interrupted during execution by a fatal error

Actions

Also available in: Atom PDF