Project

General

Profile

Actions

Bug #5409

closed

Bug #5402: Agent can't run because some ncf promises are CFEngine 3.6 specific

Fisrt promise generation fail on Rudder server ( /var/rudder/ncf/local missing)

Added by Vincent MEMBRÉ about 10 years ago. Updated almost 10 years ago.

Status:
Released
Priority:
N/A
Assignee:
Jonathan CLARKE
Category:
-
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

Just after a fresh install of rudder 2.10.5 snapshot (after #5402 and #5397 were fixed), an error occurs when generating promises:

Policy update error for process '1' at 2014-08-19 21:32:11 <- Cannot write configuration node <- Error when preparing rules for agents <- The generated promises are invalid!errormessage!cf-promise check fails for promises generated at '/var/rudder/cfengine-community/inputs.new'<-2014-08-19T21:32:11+0200 error: Can't stat file '/usr/bin/find: `/var/rudder/ncf/local/10_ncf_internals': No such file or directory' for parsing. (stat: No such file or directory)

This is because local ncf files were not copied yet. This will be done at first cf-agent -KIf failsafe.cf, but until that run, it will not work.


Related issues 2 (0 open2 closed)

Related to Rudder - Bug #5397: The file_from_template generic method can not use mustache templates on pre-3.6 CFEngineReleasedJonathan CLARKEActions
Related to Rudder - Bug #5410: shell script that list all compatible .cf files should ignore non-existant directoriesReleasedNicolas CHARLESActions
Actions #1

Updated by Nicolas CHARLES about 10 years ago

  • Status changed from New to Pending technical review
  • Assignee set to Jonathan CLARKE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/463
Actions #2

Updated by Nicolas CHARLES about 10 years ago

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Applied in changeset policy-templates:commit:c088c72350d99f1538b4f62a9ac0bf59fcb2d7ea.

Actions #3

Updated by Jonathan CLARKE about 10 years ago

Applied in changeset policy-templates:commit:a254553f47f90e99324a86c55334bf66f993e66a.

Actions #4

Updated by Vincent MEMBRÉ about 10 years ago

  • Project changed from Rudder to 24
  • Category deleted (System integration)
  • Parent task set to #5402
Actions #5

Updated by Vincent MEMBRÉ almost 10 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.10.5, which was released on the 28/08/2014.

Actions

Also available in: Atom PDF