Project

General

Profile

Actions

Bug #14257

closed

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

Added by Félix DALLIDET over 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 #1

Updated by Félix DALLIDET over 5 years ago

  • Status changed from New to In progress
  • Assignee set to Félix DALLIDET
Actions #2

Updated by Félix DALLIDET over 5 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
Actions #3

Updated by Félix DALLIDET over 5 years ago

  • Status changed from Pending technical review to Pending release
Actions #4

Updated by Nicolas CHARLES over 5 years ago

happened on centos 7 while installing rudder-agent 5.1

Actions #5

Updated by Nicolas CHARLES over 5 years ago

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

Updated by François ARMAND about 5 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
Actions #7

Updated by François ARMAND about 5 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

Also available in: Atom PDF