Project

General

Profile

Actions

Bug #7428

closed

Bug #7393: Selinux policy prevent running cf-agent when using technique editor

Error when creating a Technique

Added by Nicolas CHARLES about 9 years ago. Updated almost 9 years ago.

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

Description

On branch 3.2, with nch branch master, when trying to save a simple technique, I get the following error
An Error occured! Could not write technique 'test_method' 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_method']
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_method/test_method.cf' caused by : Error while running post-hook command ['cf-promises', '-pjson', '-f', '/var/rudder/configuration-repository/ncf/50_techniques/test_method/test_method.cf'] Error: Unable to create Rudder Technique files related to ncf Technique test_method ('method_calls') Traceback (most recent call last): File "/usr/share/ncf/tools/ncf_rudder.py", line 46, in write_one_technique_for_rudder write_technique_for_rudder(destination_path, metadata) File "/usr/share/ncf/tools/ncf_rudder.py", line 122, 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'

Actions

Also available in: Atom PDF