Project

General

Profile

Actions

Bug #11682

closed

Rudder agent 4.1.8 fails to run with promises generated by 4.1.3 server

Added by Dmitry Svyatogorov about 7 years ago. Updated almost 7 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
Agent
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:
Small
Priority:
85
Name check:
Fix check:
Regression:

Description

Since 4.1.3 till 4.1.7 all agents implements promises successfully.
Today I got stucked to:

# rudder agent run -i
Rudder agent 4.1.8-trusty0 (CFEngine Core 3.10.2)
Node uuid: 791c561f-baa5-4030-a325-20c5d65cde10
/var/rudder/ncf/common/30_generic_methods/file_ensure_key_value_option.cf:60:0: error: Undefined bundle ncf_maintain_keys_values_option with type edit_line
   error: Policy failed validation with command '"/var/rudder/cfengine-community/bin/cf-promises" -c "/var/rudder/cfengine-community/inputs/promises.cf"'
   error: Failsafe condition triggered. Interactive session detected, skipping failsafe.cf execution.
   error: Error reading CFEngine policy. Exiting...

So I suppose something is broken in initial promises in new build.

The current brief workaround is to revert agent version to 4.1.7.
But this is not so plain with rudder repo (at least for ubuntu 14.04), because of only the last version on index. (I done revert by means of my local repo: just placed agent here and turned off rudder repo.)

Actions

Also available in: Atom PDF