Actions
Bug #8143
closedRudder server could not receive its own inventory
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
On Centos6, with Rudder 3.2.1, i failed to received my own inventory:
R: @@Inventory@@log_debug@@inventory-all@@inventory-all@@1@@inventory@@None@@2016-04-01 16:15:16+00:00##root@#The user list generation tool is not present yet. Skipping... error: Finished command related to promiser '/var/rudder/inventories' -- an error occurred, returned 22 error: Transformer '/var/rudder/inventories/server-root.ocs.gz' => '/usr/bin/curl -L -k -1 -f -s --proxy '' --user rudder:rudder -T /var/rudder/inventories/server-root.ocs.gz https://127.0.0.1/inventory-updates/' returned error error: Finished command related to promiser '/var/rudder/inventories' -- an error occurred, returned 22 error: Transformer '/var/rudder/inventories/server-root.ocs.sign' => '/usr/bin/curl -L -k -1 -f -s --proxy '' --user rudder:rudder -T /var/rudder/inventories/server-root.ocs.sign https://127.0.0.1/inventory-updates/' returned error R: @@Inventory@@result_error@@inventory-all@@inventory-all@@1@@inventory@@None@@2016-04-01 16:15:16+00:00##root@#Could not send the inventory error: Method 'sendInventory' failed in some repairs error: Method 'doInventory' failed in some repairs
log file says
[Fri Apr 01 16:15:17 2016] [error] [client ::1] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates/uuid.hive [Fri Apr 01 16:15:20 2016] [error] [client 127.0.0.1] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates/server-root.ocs.gz [Fri Apr 01 16:15:21 2016] [error] [client 127.0.0.1] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates/server-root.ocs.sign
changing rudder-networks perm tp 666, restarting apache; it worked
Restored perms to 600, restarted apache. Still worked
Note that the Rudder server was not in its own allowed network
Actions