Bug #725
closedInventory file name never change
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 ?
Updated by Jonathan CLARKE almost 14 years ago
- Target version changed from 6 to 8
Updated by Jonathan CLARKE over 13 years ago
- Assignee deleted (
Matthieu CERDA) - Priority changed from 3 to 4
Updated by Jonathan CLARKE about 13 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.
Updated by Jonathan CLARKE about 13 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"?
Updated by Jonathan CLARKE about 13 years ago
- Assignee deleted (
Jonathan CLARKE)
Updated by François ARMAND about 13 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.
Updated by François ARMAND about 13 years ago
- Target version changed from 18 to 24
Updated by Jonathan CLARKE over 12 years ago
- Target version changed from 24 to Ideas (not version specific)
Updated by François ARMAND almost 12 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 ?
Updated by Nicolas CHARLES almost 12 years ago
- Assignee changed from Nicolas CHARLES to Vincent MEMBRÉ
I guess Vincent would know better than me
Updated by Jonathan CLARKE almost 10 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
Updated by Jonathan CLARKE almost 10 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
Updated by Jonathan CLARKE almost 10 years ago
- Status changed from Pending technical review to Pending release
- % Done changed from 0 to 100
Applied in changeset policy-templates:commit:0970bca15c4a8e8b54a96f334d6964ab3b0ae149.
Updated by Nicolas CHARLES almost 10 years ago
Applied in changeset policy-templates:commit:65729a569ff4986378aa002dc0bdb8c2c053eaa7.
Updated by Vincent MEMBRÉ almost 10 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 3.0.0~beta2, which were these days.
- Announcement 3.0
- Changelog 3.0
- Download information: https://www.rudder-project.org/site/get-rudder/downloads/