Project

General

Profile

Actions

Bug #8143

closed

Rudder server could not receive its own inventory

Added by Nicolas CHARLES about 8 years ago. Updated over 7 years ago.

Status:
Rejected
Priority:
N/A
Assignee:
-
Category:
System techniques
Target version:
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


Related issues 1 (0 open1 closed)

Is duplicate of Rudder - Bug #9744: No server inventory in web interface if /etc/hosts is not correctly configuredReleasedAlexis Mousset2016-11-29Actions
Actions

Also available in: Atom PDF