Project

General

Profile

Actions

Bug #13931

closed

Unparsable technique when Rudder server hostname is not in the /etc/hosts

Added by Nicolas CHARLES over 5 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
N/A
Category:
Web - Technique editor
Target version:
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


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #14061: Agent run errors are not outputed on stderr anymoreReleasedBenoƮt PECCATTEActions
Actions

Also available in: Atom PDF