Project

General

Profile

Actions

Bug #14348

closed

Error message when installing rudder-agent on rpm based systems due to missing directory '/var/rudder/inventories'

Added by Nicolas CHARLES about 5 years ago. Updated about 5 years ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Getting started - demo | first install | Technique editor and level 1 Techniques
Effort required:
Priority:
50
Name check:
Fix check:
Regression:

Description

got the following error message

    debian9_agent1: Installed:
    debian9_agent1:   rudder-agent.x86_64 1398866025:5.1.0.alpha1.git201902200517-1.EL.7            
    debian9_agent1: 
    debian9_agent1: Dependency Installed:
    debian9_agent1:   perl-Digest.noarch 0:1.17-245.el7                                             
    debian9_agent1: Complete!
    debian9_agent1: Rudder agent 5.1.0.alpha1.git201902200517
    debian9_agent1: Node uuid: 3a006364-2394-4ba6-9e77-33779175b9fa
    debian9_agent1: Start execution with config [0]
    debian9_agent1: 
    debian9_agent1: M| State         Technique                 Component                 Key                Message
    debian9_agent1: E| repaired      Common                    ncf Initialization                           Configuration library initialization was repaired
    debian9_agent1: E| repaired      Common                    Security parameters                          Some internal security parameters were adjusted
    debian9_agent1: E| compliant     Common                    CRON Daemon                                  Cron daemon status was correct
    debian9_agent1:    error: Failed to chdir into '/var/rudder/inventories'. (chdir: 'No such file or directory')
    debian9_agent1: E| compliant     Inventory                 inventory                                    The inventory has been successfully sent
    debian9_agent1: E| compliant     Inventory                 inventory                                    Next inventory scheduled between 00:00 and 06:00
    debian9_agent1: E| compliant     Common                    Binaries update                              The agent binaries in /var/rudder/cfengine-community/bin are up to date
    debian9_agent1: 
    debian9_agent1: ## Summary #################################################

looks a lot like #14257


Related issues 1 (0 open1 closed)

Related to Rudder - Bug #14257: "/var/rudder/inventories: no such dir" error message on first runReleasedNicolas CHARLESActions
Actions #1

Updated by Nicolas CHARLES about 5 years ago

  • Related to Bug #14257: "/var/rudder/inventories: no such dir" error message on first run added
Actions #2

Updated by François ARMAND about 5 years ago

  • Target version changed from 4.1.20 to 4.1.21
Actions #3

Updated by François ARMAND about 5 years ago

  • Severity set to Minor - inconvenience | misleading | easy workaround
  • User visibility set to Getting started - demo | first install | Technique editor and level 1 Techniques
  • Priority changed from 0 to 50

It seems to not break anything, but it is very disturbing.

Actions #4

Updated by Nicolas CHARLES about 5 years ago

  • Status changed from New to In progress
  • Assignee set to Nicolas CHARLES
Actions #5

Updated by Nicolas CHARLES about 5 years ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Alexis Mousset
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1835
Actions #6

Updated by Nicolas CHARLES about 5 years ago

  • Subject changed from Failed to chdir into '/var/rudder/inventories' while installing rudde-agent 5.1 on centos7 to Failed to chdir into '/var/rudder/inventories' while installing rudde-agent on centos
Actions #7

Updated by Nicolas CHARLES about 5 years ago

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

Updated by Vincent MEMBRÉ about 5 years ago

  • Subject changed from Failed to chdir into '/var/rudder/inventories' while installing rudde-agent on centos to Error message when installing rudder-agent on rpm based systems due to missing directory '/var/rudder/inventories'
Actions #9

Updated by Vincent MEMBRÉ about 5 years ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 4.1.21, 4.3.11 and 5.0.9 which were released today.

Actions

Also available in: Atom PDF