Actions
Bug #12956
closedBug #12930: During an upgrade of Rudder, if a new generic method appears in ncf, that is also on local method, all is broken
Bug #12933: Improve parent ticket code
Parent ticket does not solve the issue with broken policy generation
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
rudder-upgrade does correctly find dupplicates
INFO: Alternative source path added: /var/rudder/configuration-repository/ncf INFO: Alternative source path added: /var/rudder/configuration-repository/ncf WARNING: The condition_from_variable_match.cf generic method was already present in local configuration, removing it. INFO: The /var/rudder/configuration-repository/techniques/ncf_techniques/category.xml file already exists. Not updating. INFO: Alternative source path added: /var/rudder/configuration-repository/ncf
but policy run fails
root@server:/var/rudder/configuration-repository/ncf/30_generic_methods# rudder agent run Rudder agent 4.3.4~rc1~git201807122338-stretch0 Node uuid: root /var/rudder/ncf/common/30_generic_methods/condition_from_variable_match.cf:17:0: error: Duplicate definition of bundle condition_from_variable_match with type agent /var/rudder/ncf/local/30_generic_methods/condition_from_variable_match.cf:17:0: error: Duplicate definition of bundle condition_from_variable_match with type agent error Rudder agent was interrupted during execution by a fatal error Run with -i to see log messages.
and so does policy generation
Updated by Nicolas CHARLES over 6 years ago
- Category set to Packaging
- Target version set to 4.1.14
Updated by Nicolas CHARLES over 6 years ago
- Status changed from New to In progress
Updated by Nicolas CHARLES over 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1616
Updated by Nicolas CHARLES over 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|d29690622d85bc482f49fcd2203ead40f4daef2d.
Updated by François ARMAND over 6 years ago
- Target version changed from 4.1.14 to 4.1.13
Updated by Vincent MEMBRÉ over 6 years ago
- Status changed from Pending release to Released
Actions