Project

General

Profile

Actions

Bug #14257

closed

"/var/rudder/inventories: no such dir" error message on first run

Added by Félix DALLIDET about 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
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.


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #14348: Error message when installing rudder-agent on rpm based systems due to missing directory '/var/rudder/inventories'ReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF