Project

General

Profile

Bug #19583

Updated by Nicolas CHARLES over 3 years ago

Inventory fails 
 <pre> 
 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. 
 </pre> 

 error is  
 <pre> 
 # /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 
 </pre> 

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

Back