Project

General

Profile

Actions

Bug #10011

closed

If we use a generic method compatible only with a specific version of Rudder on an agent too old, we have a runtime error on the agent

Added by Nicolas CHARLES over 7 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
N/A
Category:
System techniques
Target version:
Severity:
Critical - prevents main use of Rudder | no workaround | data loss | security
UX impact:
User visibility:
Operational - other Techniques | Technique editor | Rudder settings
Effort required:
Medium
Priority:
0
Name check:
Fix check:
Regression:

Description

If I use a technique using package_state on a 3.1 agent, i get the following error on the node:

# /var/rudder/cfengine-community/bin/cf-promises
/var/rudder/cfengine-community/inputs/Test_technique/1.0/Test_technique.cf:15:0: error: Undefined bundle package_state with type usebundle

Node is not working anymore then

We could:
  • create dummy generic method with opposite loading conditions, that would only report error
  • generate them automatically
  • detect that the technique depend on an unavailable generic method, and skip it

or something else more clever

Benoit, what do you think of this ?

Actions

Also available in: Atom PDF