Project

General

Profile

Actions

Bug #20032

closed

Error on first agent run on root server

Added by Alexis Mousset about 3 years ago. Updated almost 2 years ago.

Status:
Rejected
Priority:
N/A
Category:
System techniques
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

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
Actions #1

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 7.0.0~beta2 to 7.0.0~beta3
Actions #2

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 7.0.0~beta3 to 7.0.0~rc1
Actions #3

Updated by Vincent MEMBRÉ about 3 years ago

  • Target version changed from 7.0.0~rc1 to 7.0.0~rc2
Actions #4

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 7.0.0~rc2 to 7.0.0~rc3
Actions #5

Updated by Alexis Mousset almost 3 years ago

  • Status changed from New to Resolved

not seen since.

Actions #6

Updated by Nicolas CHARLES almost 3 years ago

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

Actions #7

Updated by Nicolas CHARLES almost 3 years ago

  • Status changed from Resolved to New
Actions #8

Updated by Alexis Mousset almost 3 years ago

This happens because the first run tries to upload reports before configuring apache to accept the reports.

Actions #9

Updated by François ARMAND almost 3 years ago

Can we skip apache for reports root server, as we do for inventories?

Actions #10

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 7.0.0~rc3 to 7.0.0
Actions #11

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 7.0.0 to 7.0.1
Actions #12

Updated by Vincent MEMBRÉ almost 3 years ago

  • Target version changed from 7.0.1 to 7.0.2
Actions #13

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.2 to 7.0.3
Actions #14

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.3 to 7.0.4
Actions #15

Updated by Alexis Mousset over 2 years ago

  • Status changed from New to In progress
  • Assignee set to Alexis Mousset
Actions #16

Updated by Alexis Mousset over 2 years ago

  • Status changed from In progress to New
Actions #17

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.4 to 7.0.5
Actions #18

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.5 to 7.0.6
Actions #19

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.6 to 7.0.7
Actions #20

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.7 to 7.0.8
Actions #21

Updated by Vincent MEMBRÉ over 2 years ago

  • Target version changed from 7.0.8 to 1002
Actions #22

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 1002 to 7.1.7
Actions #23

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.1.7 to 7.1.8
Actions #24

Updated by Vincent MEMBRÉ about 2 years ago

  • Target version changed from 7.1.8 to 7.1.9
Actions #25

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.9 to 7.1.10
Actions #26

Updated by Vincent MEMBRÉ almost 2 years ago

  • Target version changed from 7.1.10 to 1016
Actions #27

Updated by Alexis Mousset almost 2 years ago

  • Status changed from New to Rejected
  • Regression set to No
Actions #28

Updated by Alexis Mousset almost 2 years ago

  • Target version changed from 1016 to 7.2.5
Actions

Also available in: Atom PDF