Project

General

Profile

Bug #7004

Invalid inventory files only partially moved/renamed to the fail folder

Added by Nicolas CHARLES over 5 years ago. Updated about 5 years ago.

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

Description

If an inventory with a signature fails, the inventory file is moved to the "failed" directory, but not the .sign file.

Also, once an inventory file has been decompressed (from gzip format, and removing the .gz suffix), the file name in failed still includes the inappropriate .gz suffix, which is confusing.

For example:

[root@server incoming]#  find /var/rudder/inventories/
/var/rudder/inventories/
/var/rudder/inventories/incoming
/var/rudder/inventories/incoming/node1-7d3eb274-c355-418e-b4a4-738afc0ff7a9.ocs.sign
/var/rudder/inventories/debug
/var/rudder/inventories/accepted-nodes-updates
/var/rudder/inventories/received
/var/rudder/inventories/received/server-root.ocs.sign
/var/rudder/inventories/received/server-root.ocs
/var/rudder/inventories/historical
/var/rudder/inventories/failed
/var/rudder/inventories/failed/node1-7d3eb274-c355-418e-b4a4-738afc0ff7a9.ocs.gz-2015-11-26

Related issues

Related to Rudder - Architecture #6506: Change send_clean to push signature along with inventoryReleasedMatthieu CERDA2015-04-16Actions
#1

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 3.1.1 to 3.1.2
#2

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 3.1.2 to 3.1.3
#3

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 3.1.3 to 3.1.4
#4

Updated by Vincent MEMBRÉ over 5 years ago

  • Target version changed from 3.1.4 to 3.1.5
#5

Updated by Jonathan CLARKE over 5 years ago

  • Description updated (diff)
#6

Updated by Jonathan CLARKE over 5 years ago

  • Subject changed from if there is an error with the inventory, the inventory is moved to the fail folder, but the signature stays in the incoming folder to Invalid inventory files only partially moved/renamed to the fail folder
  • Description updated (diff)
#7

Updated by Jonathan CLARKE over 5 years ago

  • Related to Architecture #6506: Change send_clean to push signature along with inventory added
#8

Updated by Jonathan CLARKE over 5 years ago

  • Status changed from New to In progress
  • Assignee set to Jonathan CLARKE
#9

Updated by Jonathan CLARKE over 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Jonathan CLARKE to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/799
#10

Updated by Jonathan CLARKE over 5 years ago

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

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.1.5 which was released today.

Also available in: Atom PDF