Project

General

Profile

Actions

Bug #10446

closed

Policy validation fails

Added by Janos Mattyasovszky over 7 years ago. Updated over 7 years ago.

Status:
Released
Priority:
N/A
Category:
Web - Config management
Target version:
Severity:
Major - prevents use of part of Rudder | no simple workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

I have a 4.1-rc1 (vanilla - no modifications) on SLES11 SP4, and I got a validation error after I have added many new nodes (batches of 100/200/500) up to 2000.

Policy update process was stopped due to an error:

⇨ Policy update error for process '41' at 2017-03-16 16:40:08 
⇨ Cannot write configuration node 
⇨ Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check' with environment variables: [PATH:/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin:/bin:/usr/bin:/usr/X11R6/bin] [NLSPATH:/usr/dt/lib/nls/msg/%L/%N.cat] [OLDPWD:/] [TERM:linux] [XFILESEARCHPATH:/usr/dt/app-defaults/%L/Dt] [PWD:/opt/rudder/jetty7] [SHLVL:1] [_:/usr/java/latest/bin/java] [RUDDER_GENERATION_DATETIME:2017-03-16T16:39:26.954+01:00] [RUDDER_NODEID:184c352a-e8d4-4827-946c-474c7fc8bb2d] [RUDDER_NEXT_POLICIES_DIRECTORY:/var/rudder/share/184c352a-e8d4-4827-946c-474c7fc8bb2d/rules.new/cfengine-community] [RUDDER_AGENT_TYPE:cfengine-community]. 
Stdout: ' error: Can't stat file '/var/rudder/share/184c352a-e8d4-4827-946c-474c7fc8bb2d/rules.new/cfengine-community/promises.cf' for parsing. (stat: No such file or directory)
' 
Stderr: ''
Close

The error was not shown again after I started a new manual generation.


Files

list_folders (163 KB) list_folders Nicolas CHARLES, 2017-03-17 09:55
folder_promises_10 (737 Bytes) folder_promises_10 Nicolas CHARLES, 2017-03-17 10:15
folder_promises (737 Bytes) folder_promises Nicolas CHARLES, 2017-03-17 10:15
list_folders (203 KB) list_folders Nicolas CHARLES, 2017-03-17 10:15

Related issues 3 (0 open3 closed)

Related to Rudder - Bug #9444: When accepting 100 nodes, I randomly get multiple policy generationRejectedActions
Related to Rudder - Bug #7689: Error on promise generation after accepting a nodeReleasedAlexis Mousset2015-12-24Actions
Related to Rudder - Bug #6575: When we accept a new node, we have two promises generation instead of oneReleasedFrançois ARMAND2015-05-11Actions
Actions

Also available in: Atom PDF