Project

General

Profile

Actions

Bug #14616

closed

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 over 5 years ago. Updated over 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

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 1 (0 open1 closed)

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

Related issues 1 (0 open1 closed)

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
Actions

Also available in: Atom PDF