Project

General

Profile

Actions

Bug #7328

closed

Extra carriage return in policy_server.dat inventory failure

Added by Jean Cardona about 9 years ago. Updated over 8 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:

Description

If in /var/rudder/cfengine-community/policy_server.dat there is more than 1 carriage return, sending inventory fails:

2015-10-29T11:02:35+0100 error: /default/doInventory/commands/'/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://10.76.1.190

/uuid'[0]: Finished command related to promiser '/usr/bin/curl -L -k -1 -s -f --proxy '' -o "/var/rudder/cfengine-community/rudder-server-uuid.txt" https://10.76.1.190

/uuid' -- an error occurred, returned 3

Actions

Also available in: Atom PDF