Actions
Bug #14257
closed"/var/rudder/inventories: no such dir" error message on first run
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
Fix check:
Regression:
Description
On a ubuntu18_04 at first run I have this message which pops-out:
Rudder agent 5.0.6~rc1~git201901300235-bionic0 Node uuid: ec7578a6-2228-408e-af38-584dab280104 Start execution with config [0] M| State Technique Component Key Message E| repaired Common ncf Initialization Configuration library initialization was repaired E| repaired Common Security parameters Some internal security parameters were adjusted E| n/a Common Process checking Rudder agent proccesses check is done by the rudder-agent cron job E| compliant Common CRON Daemon Cron daemon status was correct error: Failed to chdir into '/var/rudder/inventories'. (chdir: 'No such file or directory') E| compliant Inventory inventory The inventory has been successfully sent E| compliant Inventory inventory Next inventory scheduled between 00:00 and 06:00 E| compliant Common Binaries update The agent binaries in /var/rudder/cfengine-community/bin are up to date ## Summary ##################################################################### 7 components verified in 4 directives => 7 components in Enforce mode -> 4 compliant -> 2 repaired -> 1 not-applicable Execution time: 5.80s ################################################################################
After the first run, everything is fine, but having an error message at first run is always sad.
Creating the inventories folder at installation could avoid this.
Updated by Félix DALLIDET almost 6 years ago
- Status changed from New to In progress
- Assignee set to Félix DALLIDET
Updated by Félix DALLIDET almost 6 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Félix DALLIDET to Nicolas CHARLES
- Pull Request set to https://github.com/Normation/rudder-packages/pull/1796
Updated by Félix DALLIDET almost 6 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder-packages|061e86799cab270fcc9d5e5cee7c968481dea1d8.
Updated by Nicolas CHARLES almost 6 years ago
happened on centos 7 while installing rudder-agent 5.1
Updated by Nicolas CHARLES almost 6 years ago
- Related to Bug #14348: Error message when installing rudder-agent on rpm based systems due to missing directory '/var/rudder/inventories' added
Updated by François ARMAND almost 6 years ago
- Subject changed from Error message after agent install in 5.0 to "/var/rudder/inventories: no such dir" error message on first run
Updated by François ARMAND almost 6 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 4.1.20, 4.3.10 and 5.0.7 which were released today.
Actions