Actions
Bug #19583
closedInventory fails because rudder-client fails because it needs /opt/rudder/etc/agent.conf
Bug #19583:
Inventory fails because rudder-client fails because it needs /opt/rudder/etc/agent.conf
Pull Request:
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
Actions