Project

General

Profile

Actions

Bug #20065

closed

After migrating from 6.2 to 7.0, techniques that were totally valid may become invalid because of name collision in rudderc

Added by Nicolas CHARLES about 3 years ago. Updated about 3 years ago.

Status:
Released
Priority:
N/A
Category:
rudderc
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

I had a technique named "command" in 6.2
After migrating to 7.0, I have the following errors

[2021-10-05 14:33:57+0000] ERROR application - An error occurred when compiling technique 'command' (id : 'BundleName(command)') with rudderc, error details in /var/log/rudder/rudderc/failures/2021-10-05T14:33:57.070Z_command.log, falling back to old saving process

error =>
  Inconsistency: An error occurred when compiling technique.rd file into cfengine
 code: 1
 stderr: An error occurred, could not create content from 'technique.rd':
technique.rd:10:10: !--> Resource 'command' at technique.rd:10:10 already defined at 'command' at command.rd:8:10

An error occurred, could not create content: Command was "/opt/rudder/bin/rudderc" "compile" "-j" "-f" "cf" "-i" "/var/rudder/configuration-repository/techniques/ncf_techniques/command/1.0/technique.rd" "--config-file=/opt/rudder/etc/rudderc.conf" 

 stdout: {
  "command": "compile",
  "source": "technique.rd",
  "time": "1633444437064",
  "status": "failure",
  "logs": {
    "logs": []
  },
  "data": [],
  "errors": [
Actions #1

Updated by Benoît PECCATTE about 3 years ago

  • Status changed from New to In progress
  • Assignee set to Benoît PECCATTE
Actions #2

Updated by Benoît PECCATTE about 3 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Benoît PECCATTE to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder/pull/3923
Actions #3

Updated by Benoît PECCATTE about 3 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Vincent MEMBRÉ about 3 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~beta2 which was released today.

Actions

Also available in: Atom PDF