Actions
Bug #14257
closed"/var/rudder/inventories: no such dir" error message on first run
Bug #14257:
"/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.
Actions