Actions
Bug #7366
closedError when add new technique
Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
-
Target version:
-
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
When add new technique, I have this error:
An Error occured! Could not write technique 'test' from path /var/rudder/configuration-repository/ncf, cause is: Error while running post-hook command [u'/var/rudder/configuration-repository/ncf/ncf-hooks.d/post.write_technique.rudderify.sh', u'/var/rudder/configuration-repository/ncf', u'test'] Details: INFO: Alternative source path added: /var/rudder/configuration-repository/ncf ERROR: Could not parse Technique file '/var/rudder/configuration-repository/ncf/50_techniques/test/test.cf' caused by : Error while running post-hook command ['cf-promises', '-pjson', '-f', '/var/rudder/configuration-repository/ncf/50_techniques/test/test.cf'] ERROR: Could not parse Technique file '/var/rudder/configuration-repository/ncf/50_techniques/pip_install/pip_install.cf' caused by : Error while running post-hook command ['cf-promises', '-pjson', '-f', '/var/rudder/configuration-repository/ncf/50_techniques/pip_install/pip_install.cf'] Error: Unable to create Rudder Technique files related to ncf Technique test ('method_calls') Traceback (most recent call last): File "/usr/share/ncf/tools/ncf_rudder.py", line 47, in write_one_technique_for_rudder write_technique_for_rudder(destination_path, metadata) File "/usr/share/ncf/tools/ncf_rudder.py", line 131, in write_technique_for_rudder include_rudder_reporting = not all(method_call['class_context'] == 'any' for method_call in technique["method_calls"]) KeyError: 'method_calls'
I'm on Rudder v.3.2.0~beta1~git201511021758
Actions