Project

General

Profile

Actions

Bug #19583

closed

Inventory fails because rudder-client fails because it needs /opt/rudder/etc/agent.conf

Added by Nicolas CHARLES over 2 years ago. Updated about 2 years ago.

Status:
Released
Priority:
N/A
Category:
Agent
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

Inventory fails

E| compliant     Common                    CRON Daemon                                  CRON is correctly running
E| repaired      Common                    Compute inventory splay                      Scheduling rudder_run_inventory was repaired
rudder     info: Executing 'no timeout' ... '/opt/rudder/bin/rudder-client -e /uuid -- --output "/var/rudder/cfengine-community/rudder-server-uuid.txt"'
   error: Finished command related to promiser '/opt/rudder/bin/rudder-client -e /uuid -- --output "/var/rudder/cfengine-community/rudder-server-uuid.txt"' -- an error occurred, returned 2
  notice: Q: "...der-client -e /": sed: can't read /opt/rudder/etc/agent.conf: No such file or directory
rudder     info: Last 1 quoted lines were generated by promiser '/opt/rudder/bin/rudder-client -e /uuid -- --output "/var/rudder/cfengine-community/rudder-server-uuid.txt"'
rudder     info: Completed execution of '/opt/rudder/bin/rudder-client -e /uuid -- --output "/var/rudder/cfengine-community/rudder-server-uuid.txt"'
E| error         Inventory                 inventory                                    Could not retrieve the UUID of the policy server. Please check that the defined Policy Server exists, and that this Node IP address is in the Allowed Networks of its policy server.

error is

# /opt/rudder/bin/rudder-client -e /uuid -- --output "/var/rudder/cfengine-community/rudder-server-uuid.txt" 
sed: can't read /opt/rudder/etc/agent.conf: No such file or directory

but this file is not mandatory, nor created by the packaging


Related issues 2 (0 open2 closed)

Related to Rudder - Architecture #19515: Add proxy and port configuration to https clientReleasedAlexis MoussetActions
Related to Rudder - Bug #19594: rudder agent run does not actually send the inventoryReleasedAlexis MoussetActions
Actions

Also available in: Atom PDF