Project

General

Profile

Actions

Bug #7328

closed

Extra carriage return in policy_server.dat inventory failure

Bug #7328: Extra carriage return in policy_server.dat inventory failure

Added by Jean Cardona over 10 years ago. Updated about 10 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

Updated by Nicolas CHARLES over 10 years ago Actions #1

  • Category changed from Agent to System techniques
  • Assignee set to Benoît PECCATTE
  • Target version set to 2.11.17

Ha, indeed we should trim the content of the value ...
Benoit will be the best to fix this

Updated by Vincent MEMBRÉ over 10 years ago Actions #2

  • Target version changed from 2.11.17 to 2.11.18

Updated by Vincent MEMBRÉ over 10 years ago Actions #3

  • Target version changed from 2.11.18 to 2.11.19

Updated by Vincent MEMBRÉ over 10 years ago Actions #4

  • Target version changed from 2.11.19 to 2.11.20

Updated by Vincent MEMBRÉ over 10 years ago Actions #5

  • Target version changed from 2.11.20 to 2.11.21

Updated by Jonathan CLARKE about 10 years ago Actions #6

  • Status changed from New to In progress
  • Assignee changed from Benoît PECCATTE to Jonathan CLARKE

Updated by Jonathan CLARKE about 10 years ago Actions #7

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/933

Updated by Jonathan CLARKE about 10 years ago Actions #8

  • Status changed from Pending technical review to Pending release
  • % Done changed from 0 to 100

Updated by Vincent MEMBRÉ about 10 years ago Actions #9

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 2.11.21, 3.0.16, 3.1.10 and 3.2.3 which were released on 2016-06-01, but not announced.

Actions

Also available in: PDF Atom