Project

General

Profile

Actions

Bug #725

closed

Inventory file name never change

Added by Jonathan CLARKE about 13 years ago. Updated about 9 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

Fusion inventory report file as a format alike: centos-4-32.labo.normation.com-2011-01-19-10-29-20.ocs

The date at the end of the name never change (perhaps it's by design and is used as some identifier ?)

For example, we see in the next console output that the date in filename are completlly different from the date of last modification of the file:

root@orchestrateur-1:~# ls -l /var/rudder/inventories/received/
-rw-r--r-- 1 www-data www-data 130347 2011-01-21 12:50 centos-4-32.labo.normation.com-2011-01-19-10-29-20.ocs
-rw-r--r-- 1 www-data www-data 150348 2011-01-21 12:50 centos-5-32-2011-01-19-11-57-05.ocs
-rw-r--r-- 1 www-data www-data 177878 2011-01-21 12:50 centos-5-64-2011-01-19-15-31-07.ocs
-rw-r--r-- 1 www-data www-data  82653 2011-01-21 12:49 debian-4-32-2011-01-19-15-53-47.ocs
-rw-r--r-- 1 www-data www-data  89006 2011-01-21 12:40 debian-5-32-2011-01-14-11-10-09.ocs
-rw-r--r-- 1 www-data www-data  90197 2011-01-21 12:41 debian-5-64-2011-01-14-16-23-53.ocs
-rw-r--r-- 1 www-data www-data 150135 2011-01-14 18:04 localhost.localdomain-2011-01-14-16-48-18.ocs
-rw-r--r-- 1 www-data www-data 114147 2011-01-21 12:41 ubuntu-910-64-2011-01-19-15-45-28.ocs
-rw-r--r-- 1 www-data www-data  83225 2011-01-21 12:42 windows-2003-64-2010-08-12-16-49-17.ocs

Question: does it have any impact for us ?


Subtasks 1 (0 open1 closed)

Bug #5998: On a node not yet accepted on the server, inventories are not generated in the correct location - in ${ }ReleasedBenoît PECCATTE2014-12-15Actions
Actions #1

Updated by Jonathan CLARKE about 13 years ago

  • Target version set to 6
Actions #2

Updated by Jonathan CLARKE about 13 years ago

  • Priority changed from N/A to 3
Actions #3

Updated by Jonathan CLARKE about 13 years ago

  • Target version changed from 6 to 8
Actions #4

Updated by Jonathan CLARKE about 13 years ago

  • Target version deleted (8)
Actions #5

Updated by Jonathan CLARKE about 13 years ago

  • Assignee deleted (Matthieu CERDA)
  • Priority changed from 3 to 4
Actions #6

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from New to Released
  • Assignee set to Jonathan CLARKE
  • Target version set to 20

This has been fixed with #1410: we now delete the inventory file from a node after sending, so each time FusionInventory is run, a new file name is generated.

Actions #7

Updated by Jonathan CLARKE over 12 years ago

  • Status changed from Released to 2
  • Target version changed from 20 to 18

This was actually not fixes. Even when the old file has been deleted, FusionInventory somehow manages to reuse it's name... I guess it's their way of having a "unique node ID"?

Actions #8

Updated by Jonathan CLARKE over 12 years ago

  • Assignee deleted (Jonathan CLARKE)
Actions #10

Updated by François ARMAND over 12 years ago

  • Subject changed from Nom du fichier d'inventaire ne change pas to Inventory file name never change
  • Description updated (diff)

Translate in English, try to give more explanation.

Actions #11

Updated by François ARMAND over 12 years ago

  • Target version changed from 18 to 24
Actions #12

Updated by Jonathan CLARKE almost 12 years ago

  • Target version changed from 24 to Ideas (not version specific)
Actions #13

Updated by François ARMAND over 11 years ago

  • Status changed from 2 to 8
Actions #14

Updated by François ARMAND over 11 years ago

  • Status changed from 8 to Discussion
  • Assignee set to Nicolas CHARLES

Nicolas, have you an idea about that ?
Else, perhaps we should just close that one as rejected ?

Actions #15

Updated by Nicolas CHARLES about 11 years ago

  • Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ

I guess Vincent would know better than me

Actions #16

Updated by Jonathan CLARKE over 9 years ago

  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE

As of FusionInventory 2.3+, you can specify the exact file name you want with the --local option:

fusioninventory-agent --local=${g.rudder_var_tmp}/inventory/${sys.uqhost}-${g.uuid}.ocs
Actions #17

Updated by Jonathan CLARKE over 9 years ago

  • Status changed from Discussion to Pending technical review
  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES
  • Target version changed from Ideas (not version specific) to 3.0.0~beta2
  • Pull Request set to https://github.com/Normation/rudder-techniques/pull/600
Actions #18

Updated by Jonathan CLARKE over 9 years ago

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

Applied in changeset policy-templates:commit:0970bca15c4a8e8b54a96f334d6964ab3b0ae149.

Actions #19

Updated by Nicolas CHARLES over 9 years ago

Applied in changeset policy-templates:commit:65729a569ff4986378aa002dc0bdb8c2c053eaa7.

Actions #20

Updated by Vincent MEMBRÉ over 9 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 3.0.0~beta2, which were these days.

Actions #21

Updated by Matthieu CERDA about 9 years ago

  • Reproduced set to No
Actions

Also available in: Atom PDF