Actions
Bug #4996
closedInitial promises for Rudder 2.6 (CFEngine 3.4) cannot be used when upgrading to 2.10 (CFEngine 3.5)
Pull Request:
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.
Updated by Vincent MEMBRÉ over 10 years ago
- Description updated (diff)
This only happen with initial promises still present on root server, If I regenerate promises once, I don't have any problem
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from New to Pending technical review
- Assignee changed from Matthieu CERDA to Jonathan CLARKE
- Pull Request set to https://github.com/Normation/rudder-techniques/pull/406
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:5d59c2632b39bf74191fe04e170a8fc657d88dd8.
Updated by Jonathan CLARKE over 10 years ago
Applied in changeset policy-templates:commit:ef9686e678662301165abc09279a4c057e37c93d.
Updated by Vincent MEMBRÉ over 10 years ago
- Subject changed from initial promises for Server 2.6 (CFEngine 3.4) cannot be used when upograding to 2.10 (CFEngine 3.5) to Initial promises for Rudder 2.6 (CFEngine 3.4) cannot be used when upgrading to 2.10 (CFEngine 3.5)
Updated by Vincent MEMBRÉ over 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder versions that were released today.
- 2.6.14 (announcement , changelog)
- 2.9.6 (announcement , changelog)
- 2.10.2 (announcement , changelog)
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/
Actions