12 Commits

Author SHA1 Message Date
Daniel Pawlik
bff98095b1 Remove log gearman functionality
The combination of logscraper and logsender is working for a long time
in OpenDev infra and it never has any issue even during release time.

Change-Id: I1be94eca5d842b02c558e5ffda85c23fa66e6759
2024-03-14 12:27:47 +00:00
Daniel Pawlik
a5ca1d5837 Add Opensearch configuration information; change README file; enable md
Change-Id: Ic2b64212cfec88bc705ae1f9ae8c5118d9b641c8
2022-03-31 09:11:30 +02:00
Tristan Cacqueray
6c292222f9 Add BuildCache checkpoint to avoid missing long running build
This change mitigates an issue with the builds api that does not
returns build by end_time, as previously thought.

Change-Id: I28357cbe888649b89705511942db70fb26ba0dde
2022-03-17 09:30:27 +01:00
Daniel Pawlik
c0cc4dbaf1 Add Logsender tool
The logsender tool will be used to parse the content downloaded
by logscraper tool with --download parameter and send it to the
Elasticsearch service.
By using logsender tool, services like: gearman client, gearman
worker and logstash are not necessary to maintain, because
the information are send directly to the Elasticsearch host.

Depends-On: https://review.opendev.org/c/openstack/ci-log-processing/+/830169

Change-Id: I3e28b847e7cafbf4742fb718ef09ce3e658f945f
2022-03-08 15:14:02 +01:00
Daniel Pawlik
2ed0fd0912 Add option to download logs to the directory
The new option '--download' give possibility to download the log
files with additional Zuul information files, that later can be
used by other tool to send the content to next log processing service.
The option was proposed in other patch set [1], which is large and
it makes review more complex.

[1] https://review.opendev.org/c/openstack/ci-log-processing/+/830337

Change-Id: I88d39c8ca2e186f68296e0f21551eac2c550b5b8
2022-03-03 09:13:20 +00:00
Zuul
ecdafb7699 Merge "Add job-name parameter to better filter zuul logs" 2022-01-11 14:53:03 +00:00
Zuul
ac5f563c0e Merge "remove unicode from code" 2022-01-11 10:11:31 +00:00
LiZekun
7747e03417 remove unicode from code
Change-Id: I0234c46339557a444cadd190e030275bee7390fc
2021-12-24 09:11:41 +08:00
Daniel Pawlik
ecf601124b Improve doc; change default loggearman port to 4730
Some improvements that were done:
- add the loggearman documentation
- add documtation for loggearman ansible
- changed title in loggearman ansible doc
- changed default port from 4731 to 4730

Change-Id: I6488bef19c1041e4a3a6e5a46251946ce6b8e8b4
2021-12-16 10:04:15 +01:00
Daniel Pawlik
8fad262442 Add job-name parameter to better filter zuul logs
Sometimes it is useful to collect logs from just one job.

Change-Id: I25dd954d42107f67a18408cc83c66240c8fd0cd3
2021-12-16 09:42:09 +01:00
Daniel Pawlik
3e39caf520 Add ansible role that is configuring logscraper
With this commit, logscraper tool can be started as a service
inside the container.

Change-Id: I7349929bcb314f55d648bb4db4291fd53fa83d07
2021-11-23 08:26:20 +01:00
Daniel Pawlik
a6bdcc96b4 Initial project commit
This commit provides Zuul logscraper tool responsible for
getting newest logs by using Zuul API and pushing them to
log processing services.

Change-Id: Iff45fbcb6d4813cc60dc705c60e95f3045984b5c
2021-11-16 11:50:55 +01:00