Actions
Bug #14616
closedDuring installation of the agent, when staring "rudder agent" service, there is numerous error about missing '/opt/rudder/etc/uuid.hive' file
Pull Request:
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
Actions