2

I've configured rudder server 4.3 on debian stretch, and rudder agent 4.1 for raspberrypies and one other rudder agent 4.3 on a debian stretch machine,

no iptables rules between them. On the rudder server I can see logs about the raspberrypies names and stretch rudder agent machine,

in /var/log/rudder/apache2/access.log

But in the dashboard, no way to see the nodes. Nothing in node management/accept new nodes.

Tcpdump shows network flows on tcp 5309 from all nodes to rudder server.

On the nodes, I already configured :

/var/rudder/cfengine-community/policy_server.dat

with rudder server hostname (which can be resolved)

then

service rudder-agent start

rudder agent inventory

rudder agent run

but no way to see the nodes from rudder server ...

How can I discover the nodes from the server ?

Thank you for your help

Olivier

olivier
  • 21

2 Answers2

2

Rudder 4.3 beta1 contains the https://www.rudder-project.org/redmine/issues/12083 bug which prevents the agent from running regularly like it should (and it is necessary to process the inventories. You need to execute):

systemctl enable rudder-agent rudder-cf-execd rudder-cf-serverd
systemctl restart rudder-agent

This should enable the continuous execution of the agent, and the inventories will show up in the interface (if they are correctly sent).

1

You can check that inventories are received on Rudder server in /var/rudder/inventories (either in incoming / failed / received )

If they are in incoming can you run rudder agent run ? Rudder 4.3 on debian has bug that prevents automatic run of the agent https://www.rudder-project.org/redmine/issues/12083 and inventories may not be treated

If they are in failed you can see more details about what failed in webapp logs: /var/log/rudder/webapp/2018_03_03.stderrout.log

For more info about inventory workflow: https://www.rudder-project.org/doc-4.1/_inventory_workflow_from_nodes_to_root_server.html#_inventory_workflow_from_nodes_to_root_server

Rudder 4.3 is in expiremental status for now (beta1 and has quite some bugs), you may have a better experience by having a 4.2/4.1 server