Project

General

Profile

Bug #7328

Extra carriage return in policy_server.dat inventory failure

Added by Jean Cardona over 4 years ago. Updated almost 4 years ago.

Status:
Released
Priority:
N/A
Category:
System techniques
Target version:
Severity:
User visibility:
Effort required:
Priority:

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

#1

Updated by Nicolas CHARLES over 4 years ago

  • 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

#2

Updated by Vincent MEMBRÉ over 4 years ago

  • Target version changed from 2.11.17 to 2.11.18
#3

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.11.18 to 2.11.19
#4

Updated by Vincent MEMBRÉ about 4 years ago

  • Target version changed from 2.11.19 to 2.11.20
#5

Updated by Vincent MEMBRÉ almost 4 years ago

  • Target version changed from 2.11.20 to 2.11.21
#6

Updated by Jonathan CLARKE almost 4 years ago

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

Updated by Jonathan CLARKE almost 4 years ago

  • 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
#8

Updated by Jonathan CLARKE almost 4 years ago

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

Updated by Vincent MEMBRÉ almost 4 years ago

  • 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.

Also available in: Atom PDF