Project

General

Profile

Actions

Bug #7684

closed

Error in promise update.cf

Added by David Durieux over 8 years ago. Updated over 8 years ago.

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

Description

in rudder-techniques/initial-promises/node-server/common/1.0/update.cf action immediate is not defined

Have error:

   error: Apparent bundle 'immediate' was undeclared, but used in a promise near line 138 of /var/cfengine/inputs/common/1.0/update.cf (possible unquoted literal value)
   error: Apparent bundle 'immediate' was undeclared, but used in a promise near line 184 of /var/cfengine/inputs/common/1.0/update.cf (possible unquoted literal value)
   error: /var/cfengine/inputs/common/1.0/update.cf:0:0: In attribute 'depth_search', Unknown function. Given attribute value 'recurse_ignore(inf,@{g.excludedreps})'
   error: Fatal CFEngine error: Cannot continue
Actions #1

Updated by David Durieux over 8 years ago

There is no unit test to verify promises are ok ?

Actions #2

Updated by Nicolas CHARLES over 8 years ago

Hi David,

I tried to reproduce your issue, without any success, using
rudder-agent.x86_64 1398866025:3.2.0.beta2.git201512221209-1.EL.6
on a centos7

Can you tell me more ?
Could it be because you are using the path /var/cfengine/inputs ? did you compile the agent to tell it to use this path as the workdir ?

Actions #3

Updated by Nicolas CHARLES over 8 years ago

Ah, you are running /usr/local/sbin/cf-promises --verbose /var/rudder/cfengine-community/inputs/common/1.0/update.cf why cannot work, as you'll be missing all imports (in promises.cf or failsafe.cf, which are the main to entry points)

Actions #4

Updated by David Durieux over 8 years ago

Unable to reproduce the error :/

CLose it and if I have again the error, I will add comment in this issue

Actions #5

Updated by Nicolas CHARLES over 8 years ago

  • Status changed from New to Rejected

Ok, I'm rejecting the ticket then

Actions #6

Updated by Benoît PECCATTE over 8 years ago

  • Target version changed from 3.2.0~rc2 to 3.2.0
Actions

Also available in: Atom PDF