Actions
Bug #23085
openrudder-compliance python script does not support techniques with blocks when some of the methods inside report an error
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
The script fails with the following:
Traceback (most recent call last): File "./rudder-compliance", line 301, in <module> rules_compliance(compliance_in, args['rules'], csv_file_string) File "./rudder-compliance", line 213, in rules_compliance if get_non_compliance_rule(rule_compliance, non_compliances): File "./rudder-compliance", line 66, in get_non_compliance_rule extract_non_compliance_by_directive(rule_name, directive_compliance, non_compliances) File "./rudder-compliance", line 87, in extract_non_compliance_by_directive for nodes in components_compliance["nodes"]: KeyError: 'nodes'
To reproduce import the attached technique.
Files
Updated by Félix DALLIDET over 1 year ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET over 1 year ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-tools/pull/767
Updated by Félix DALLIDET over 1 year ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-tools|3b28d2b747e7f21e4966b353045f79afaf231807.
Actions