Project

General

Profile

Bug #14616

During installation of the agent, when staring "rudder agent" service, there is numerous error about missing '/opt/rudder/etc/uuid.hive' file

Added by Nicolas CHARLES about 1 year ago. Updated about 1 year ago.

Status:
Released
Priority:
N/A
Category:
Packaging
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

Description

when we install latest packages, /opt/rudder/etc/uuid.hive is not necessarly there (see #14264), and running rudder agetn start causes a lot of error

    debian_agent1: rudder-agent: [INFO] Launching CFEngine Community cf-serverd...
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1: rudder-agent: [OK] CFEngine Community cf-serverd started after 1 seconds
    debian_agent1: rudder-agent: [INFO] Launching CFEngine Community cf-execd...
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1:    error: CfReadFile: Could not examine file '/opt/rudder/etc/uuid.hive' (stat: No such file or directory)
    debian_agent1:    error: Function 'readfile' failed to read file: /opt/rudder/etc/uuid.hive
    debian_agent1: rudder-agent: [OK] CFEngine Community cf-execd started after 1 seconds

without a uuid.hive, agent cannot work. The init script should check first the existence, and if it's not there, fix it


Subtasks

Bug #14617: Add an option to "rudder agent check" script to only check uuid fileReleasedBenoît PECCATTEActions

Related issues

Related to Rudder - Bug #14264: uuid.hive is not present afet an install or an upgradie ofrudder agent to latest 4.1.x, 4.3.x and 5.0.x on rpm system purges the uuid.hiveRejectedNicolas CHARLESActions
#1

Updated by Nicolas CHARLES about 1 year ago

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

Updated by Nicolas CHARLES about 1 year ago

  • Status changed from In progress to Pending technical review
  • Assignee changed from Nicolas CHARLES to Benoît PECCATTE
  • Pull Request set to https://github.com/Normation/rudder-packages/pull/1850
#3

Updated by Nicolas CHARLES about 1 year ago

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

Updated by Nicolas CHARLES about 1 year ago

  • Related to Bug #14264: uuid.hive is not present afet an install or an upgradie ofrudder agent to latest 4.1.x, 4.3.x and 5.0.x on rpm system purges the uuid.hive added
#5

Updated by Vincent MEMBRÉ about 1 year ago

  • Subject changed from rudder agent start complains loudly at install due to missing /opt/rudder/etc/uuid.hive to During installation of the agent, when staring "rudder agent" service, there is numerous error about missing '/opt/rudder/etc/uuid.hive' file
#6

Updated by Vincent MEMBRÉ about 1 year 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.

Also available in: Atom PDF