Actions
Bug #2780
closedImpossible to send inventory from a accepted node in 2.3 server to the same but migrated server.
Status:
Released
Priority:
1 (highest)
Assignee:
Nicolas PERRON
Category:
Packaging
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
Name check:
Fix check:
Regression:
Description
I've made an update from 2.3 nightly to 2.4.0~beta3 and the inventories can't be sent to the server:
node:~ # /usr/bin/curl -f -v --user rudder:rudder -T /var/rudder/inventories/node-2012-08-07-10-44-51.ocs http://192.168.42.10/inventory-updates/ * About to connect() to 192.168.42.10 port 80 (#0) * Trying 192.168.42.10... connected * Connected to 192.168.42.10 (192.168.42.10) port 80 (#0) * Server auth using Basic with user 'rudder' > PUT /inventory-updates/node%2D2012%2D08%2D07%2D10%2D44%2D51%2Eocs HTTP/1.1 > Authorization: Basic cnVkZGVyOnJ1ZGRlcg== > User-Agent: curl/7.19.0 (x86_64-suse-linux-gnu) libcurl/7.19.0 OpenSSL/0.9.8h zlib/1.2.3 libidn/1.10 > Host: 192.168.42.10 > Accept: */* > Content-Length: 283774 > Expect: 100-continue > * The requested URL returned error: 403 * Closing connection #0 curl: (22) The requested URL returned error: 403
server:/var/rudder # tail /var/log/rudder/apache2/error.log [Tue Aug 07 11:00:29 2012] [error] [client ::1] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates [Tue Aug 07 11:00:29 2012] [error] [client ::1] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates [Tue Aug 07 11:01:46 2012] [error] [client 192.168.42.10] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates [Tue Aug 07 11:01:52 2012] [error] [client ::1] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates [Tue Aug 07 11:01:57 2012] [error] [client ::1] File does not exist: /opt/rudder/share/load-page/inventory [Tue Aug 07 11:02:07 2012] [error] [client ::1] client denied by server configuration: /var/rudder/inventories/accepted-nodes-updates
Updated by Nicolas PERRON over 12 years ago
- Category set to 11
Besides, the promises about webdav password can't be applied correctly. It is always said as 'repaired' because of curl which returns 403:
server:~ # /var/rudder/cfengine-community/bin/cf-agent -KI [...] R: @@DistributePolicy@@result_success@@root-DP@@root-distributePolicy@@3@@distributePolicy@@None@@2012-08-07 10:58:49+00:00##root@#The Rudder PostgreSQL user account's password is correct and works curl: (22) The requested URL returned error: 403 -> Executing '/usr/bin/htpasswd2 -b /opt/rudder/etc/htpasswd-webdav rudder rudder' ...(timeout=-678,owner=-1,group=-1) Q: ".../htpasswd2 -b /": Updating password for user rudder I: Last 1 quoted lines were generated by promiser "/usr/bin/htpasswd2 -b /opt/rudder/etc/htpasswd-webdav rudder rudder" -> Completed execution of /usr/bin/htpasswd2 -b /opt/rudder/etc/htpasswd-webdav rudder rudder R: @@DistributePolicy@@result_repaired@@root-DP@@root-distributePolicy@@3@@distributePolicy@@None@@2012-08-07 10:58:49+00:00##root@#The Rudder WebDAV user and password were updated curl: (22) The requested URL returned error: 403 curl: (22) The requested URL returned error: 403 R: @@Common@@log_info@@hasPolicyServer-root@@common-root@@3@@common@@EndRun@@2012-08-07 10:58:49+00:00##root@#End execution
It seems that the folder /var/rudder/inventories/accepted-nodes-updates is not present and result in these errors.
Updated by Nicolas PERRON over 12 years ago
- Status changed from New to Pending technical review
- % Done changed from 0 to 100
Applied in changeset commit:71c374a30c55f5d7370df40e533347ec08f58274.
Updated by Jonathan CLARKE about 12 years ago
- Status changed from Pending technical review to Released
Looks good. Note: this was a consequence of a mistake in #2629.
Updated by Nicolas PERRON almost 12 years ago
- Project changed from Rudder to 34
- Category deleted (
11)
Updated by Benoît PECCATTE over 9 years ago
- Project changed from 34 to Rudder
- Category set to Packaging
Actions