Project

General

Profile

Actions

Bug #12223

closed

Transient policy generation error at upgrade from 4.2 to 4.3

Added by Nicolas CHARLES over 6 years ago. Updated almost 5 years ago.

Status:
Rejected
Priority:
N/A
Category:
System techniques
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
0
Name check:
Fix check:
Regression:

Description

Error at polivcy generation after an upgrade from 4.2 to 4.3

The error disappear by itself after one (two?) runs.

stderr: '/var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:30:0: error: Duplicate definition of bundle log_rudder with type agent /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:64:0: error: Duplicate definition of bundle _rudder_common_report with type agent /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:100:0: error: Duplicate definition of bundle _rudder_common_reports_generic with type agent /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:167:0: error: Duplicate definition of bundle _startExecution with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:30:0: error: Duplicate definition of bundle log_rudder with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:258:0: error: Duplicate definition of bundle _rudder_common_report with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:294:0: error: Duplicate definition of bundle _rudder_common_reports_generic with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:339:0: error: Duplicate definition of bundle _startExecution with type agent /var/rudder/ncf/common/20_cfe_basics/cfengine/files.cf:1208:0: error: Duplicate definition of body INI_section with type select_region /var/rudder/ncf/common/20_cfe_basics/cfengine/files.39p.cf:22:0: error: Duplicate definition of body INI_section with type select_region /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:190:0: error: Duplicate definition of body _rudder_always_classes_persist with type classes /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:362:0: error: Duplicate definition of body _rudder_always_classes_persist with type classes ' ; Exit code=1 for hook: '/opt/rudder/etc/hooks.d/policy-generation-node-ready/10-cf-promise-check'. stdout: stderr: '/var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:30:0: error: Duplicate definition of bundle log_rudder with type agent /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:64:0: error: Duplicate definition of bundle _rudder_common_report with type agent /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:100:0: error: Duplicate definition of bundle _rudder_common_reports_generic with type agent /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:167:0: error: Duplicate definition of bundle _startExecution with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:30:0: error: Duplicate definition of bundle log_rudder with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:258:0: error: Duplicate definition of bundle _rudder_common_report with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:294:0: error: Duplicate definition of bundle _rudder_common_reports_generic with type agent /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:339:0: error: Duplicate definition of bundle _startExecution with type agent /var/rudder/ncf/common/20_cfe_basics/cfengine/files.cf:1208:0: error: Duplicate definition of body INI_section with type select_region /var/rudder/ncf/common/20_cfe_basics/cfengine/files.39p.cf:22:0: error: Duplicate definition of body INI_section with type select_region /var/rudder/ncf/common/20_cfe_basics/log_rudder.cf:190:0: error: Duplicate definition of body _rudder_always_classes_persist with type classes /var/rudder/ncf/common/30_generic_methods/log_rudder.cf:362:0: error: Duplicate definition of body _rudder_always_classes_persist with type classes '

Related issues 1 (0 open1 closed)

Related to Rudder - Architecture #9207: Transient policy error after upgrade, need to improve handling of policies update during server upgrade (rudder-upgrade vs. ncf vs. rudder-techniques)ResolvedActions
Actions

Also available in: Atom PDF