Project

General

Profile

Actions

Bug #20437

closed

Error when writing techniques via the technique editor

Added by Félix DALLIDET almost 3 years ago. Updated almost 3 years ago.

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

Description

When writing techniques in the technique editor, it works but throws a lot of errors in the rudderc logs:


error =>
  Inconsistency: An error occurred when compiling technique.rd file into CFEngine
 code: 1
 stderr: An error occurred, could not create content: Could not parse parameters: error at Commands: input does not match any existing file
Command line was : "/opt/rudder/bin/rudderc" "compile" "-j" "-f" "cf" "-i" "/var/rudder/configuration-repository//var/rudder/configuration-repository/techniques/ncf_techniques/Testing_rl/1.0/technique.json/technique.json" "--config-file=/opt/rudder/etc/rudderc.conf" 

 stdout: {
  "command": "compile",
  "source": null,
  "time": "1639581124231",
  "status": "failure",
  "logs": {
    "logs": []
  },
  "data": [],
  "errors": [
    "Could not parse parameters: error at Commands: input does not match any existing file\nCommand line was : \"/opt/rudder/bin/rudderc\" \"compile\" \"-j\" \"-f\" \"cf\" \"-i\" \"/var/rudder/configuration-repository//var/rudder/configuration-repository/techniques/ncf_techniques/Testing_rl/1.0/technique.json/technique.json\" \"--config-file=/opt/rudder/etc/rudderc.conf\" " 
  ]
}

technique data =>
  {
  "id":"Testing_rl",
  "version":"1.0",
  "category":"ncf_techniques",

It seems like the techniques folder is duplicated "/opt/rudder/bin/rudderc" "compile" "-j" "-f" "cf" "-i" "/var/rudder/configuration-repository//var/rudder/configuration-repository/techniques/ncf_techniques/Testing_rl/1.0/technique.json/technique.json" "--config-file=/opt/rudder/etc/rudderc.conf"

Actions

Also available in: Atom PDF