Actions
Bug #13931
closedUnparsable technique when Rudder server hostname is not in the /etc/hosts
Status:
Rejected
Priority:
N/A
Assignee:
Category:
Web - Technique editor
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
We are disabling DNS queries in parsing of user generated technique. However, in this case, we rely on a valid entry in /etc/hosts
If it's not the case, parsing fails with
caused by : No JSON object could be decoded ERROR: Could not parse Technique 'test_var' caused by : An error occured while parsing technique '/var/rudder/configuration-repository/ncf/50_techniques/test_var/test_var.cf'
cause is cf-promises outputs "error: Unable to resolve policy server host: orchestrateur-3.labo.normation.com"
to make matter worse, this is outputed on STDOUT rather than STDERR
removing the RES_OPTIONS='attempts:0' solves the issue
Actions