Bug #20032
closed
Error on first agent run on root server
Added by Alexis Mousset about 3 years ago.
Updated over 1 year ago.
Category:
System techniques
Description
2021-10-01T07:53:28+00:00 rudder info: Executing 'no timeout' ... '/opt/rudder/bin/rudder-client -e /reports/ -- --upload-file /var/rudder/reports/ready/2021-10-01T07:52:51+00:00@root.log.gz'
2021-10-01T07:53:28+00:00 error: Finished command related to promiser '/opt/rudder/bin/rudder-client -e /reports/ -- --upload-file /var/rudder/reports/ready/2021-10-01T07:52:51+00:00@root.log.gz' -- an error occurred, returned 22
2021-10-01T07:53:28+00:00 notice: Q: "...der-client -e /": curl: (22) The requested URL returned error: 401
2021-10-01T07:53:28+00:00 rudder info: Last 1 quoted lines were generated by promiser '/opt/rudder/bin/rudder-client -e /reports/ -- --upload-file /var/rudder/reports/ready/2021-10-01T07:52:51+00:00@root.log.gz'
2021-10-01T07:53:28+00:00 rudder info: Completed execution of '/opt/rudder/bin/rudder-client -e /reports/ -- --upload-file /var/rudder/reports/ready/2021-10-01T07:52:51+00:00@root.log.gz'
warning Common Log system for reports Could not send report /var/rudder/reports/ready/2021-10-01T07:52:51+00:00@root.log.gz
E| error Common Log system for reports Reports forwarding to policy server could not be repaired
- Target version changed from 7.0.0~beta2 to 7.0.0~beta3
- Target version changed from 7.0.0~beta3 to 7.0.0~rc1
- Target version changed from 7.0.0~rc1 to 7.0.0~rc2
- Target version changed from 7.0.0~rc2 to 7.0.0~rc3
- Status changed from New to Resolved
I just had it after an upgrade from 6.1 to 7.0
error: Finished command related to promiser '/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:06f435d297e085144af1 --upload-file /var/rudder/reports/ready/2021-12-27T09:49:22+00:00@root.log.gz https://127.0.0.1/reports/' -- an error occurred, returned 22
rudder info: Completed execution of '/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:06f435d297e085144af1 --upload-file /var/rudder/reports/ready/2021-12-27T09:49:22+00:00@root.log.gz https://127.0.0.1/reports/'
R: @@Common@@log_warn@@hasPolicyServer-root@@common-root@@0@@Log system for reports@@None@@2021-12-27 09:49:51+00:00##root@#Could not send report /var/rudder/reports/ready/2021-12-27T09:49:22+00:00@root.log.gz
rudder info: Executing 'no timeout' ... '/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:06f435d297e085144af1 --upload-file /var/rudder/reports/ready/2021-12-27T09:47:35+00:00@root.log.gz https://127.0.0.1/reports/'
error: Finished command related to promiser '/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:06f435d297e085144af1 --upload-file /var/rudder/reports/ready/2021-12-27T09:47:35+00:00@root.log.gz https://127.0.0.1/reports/' -- an error occurred, returned 22
rudder info: Completed execution of '/usr/bin/curl --tlsv1.2 --location --insecure --fail --silent --proxy '' --user rudder:06f435d297e085144af1 --upload-file /var/rudder/reports/ready/2021-12-27T09:47:35+00:00@root.log.gz https://127.0.0.1/reports/'
R: @@Common@@log_warn@@hasPolicyServer-root@@common-root@@0@@Log system for reports@@None@@2021-12-27 09:49:51+00:00##root@#Could not send report /var/rudder/reports/ready/2021-12-27T09:47:35+00:00@root.log.gz
R: @@Common@@result_error@@hasPolicyServer-root@@common-root@@0@@Log system for reports@@None@@2021-12-27 09:49:51+00:00##root@#Reports forwarding to policy server could not be repaired
- Status changed from Resolved to New
This happens because the first run tries to upload reports before configuring apache to accept the reports.
Can we skip apache for reports root server, as we do for inventories?
- Target version changed from 7.0.0~rc3 to 7.0.0
- Target version changed from 7.0.0 to 7.0.1
- Target version changed from 7.0.1 to 7.0.2
- Target version changed from 7.0.2 to 7.0.3
- Target version changed from 7.0.3 to 7.0.4
- Status changed from New to In progress
- Assignee set to Alexis Mousset
- Status changed from In progress to New
- Target version changed from 7.0.4 to 7.0.5
- Target version changed from 7.0.5 to 7.0.6
- Target version changed from 7.0.6 to 7.0.7
- Target version changed from 7.0.7 to 7.0.8
- Target version changed from 7.0.8 to 1002
- Target version changed from 1002 to 7.1.7
- Target version changed from 7.1.7 to 7.1.8
- Target version changed from 7.1.8 to 7.1.9
- Target version changed from 7.1.9 to 7.1.10
- Target version changed from 7.1.10 to 1016
- Status changed from New to Rejected
- Regression set to No
- Target version changed from 1016 to 7.2.5
Also available in: Atom
PDF