Project

General

Profile

Actions

Bug #4996

closed

Initial promises for Rudder 2.6 (CFEngine 3.4) cannot be used when upgrading to 2.10 (CFEngine 3.5)

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

Status:
Released
Priority:
4
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

I have a freshly installed rudder Server 2.6 that I upgraded directly in 2.10 and when rudder-agent is restarted I got the following errors:

udder-agent[17881]: [INFO] Launching CFEngine Community cf-serverd...
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:306:53: error: syntax error
      "$(index)=$($(tab)[$(sectionName)][$(index)])",
                                                    ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:306:53: error: Expected attribute, got ','
      "$(index)=$($(tab)[$(sectionName)][$(index)])",
                                                    ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:21: error: Expected promiser string, got 'select_region'
        select_region => INI_section("$(sectionName)"),
                    ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:24: error: Expected ';', got '=>'
        select_region => INI_section("$(sectionName)"),
                       ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:36: error: Expected promiser string, got 'INI_section'
        select_region => INI_section("$(sectionName)"),
                                   ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:37: error: Expected ';', got '('
        select_region => INI_section("$(sectionName)"),
                                    ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:54: error: Expected ';', got ')'
        select_region => INI_section("$(sectionName)"),
                                                     ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:307:55: error: Expected promiser string, got ','
        select_region => INI_section("$(sectionName)"),
                                                      ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:374:53: error: syntax error
      "$(index)=$($(tab)[$(sectionName)][$(index)])",
                                                    ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:374:53: error: Expected attribute, got ','
      "$(index)=$($(tab)[$(sectionName)][$(index)])",
                                                    ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:375:21: error: Expected promiser string, got 'select_region'
        select_region => INI_section("$(sectionName)"),
                    ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:375:24: error: Expected ';', got '=>'
        select_region => INI_section("$(sectionName)"),
                       ^
/var/rudder/cfengine-community/inputs/common/1.0/cfengine_stdlib.cf:375:36: error: Expected promiser string, got 'INI_section'
        select_region => INI_section("$(sectionName)"),
                                   ^

However If I regenerate once my policies I don't have that problem.

Actions

Also available in: Atom PDF