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 #1

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Nicolas CHARLES over 5 years 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
Actions #3

Updated by Nicolas CHARLES over 5 years ago

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

Updated by Nicolas CHARLES over 5 years 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
Actions #5

Updated by Vincent MEMBRÉ over 5 years 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
Actions #6

Updated by Vincent MEMBRÉ over 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