43 Commits

Author SHA1 Message Date
Stephan Kulow
a098f41f63 Fail rabbit-openqa and have systemd restart it
There were still exceptions not caught - and I have the suspicion
that the memory leaks we see in production are caused by the reconnects
(if you google for python memory leaks you end up with pika and lxml
examples - both we use here, so a restart every couple of hours can't
hurt)
2018-11-03 18:28:57 +01:00
Stephan Kulow
3933e4e302 Package rabbit-openqa
I don't really like the name, but lack alternative ideas
2018-10-10 20:07:21 +02:00
Jimmy Berry
9341b740df systemd/metrics-access.timer: utilize compatible calendar format.
systemd 228 does not support this format and fails to load timer.
2018-09-19 22:22:53 -05:00
Jimmy Berry
92d5c2c6f8 metrics: provide initial telegraf setup for ingesting historical snapshots. 2018-08-29 16:49:12 -05:00
Jimmy Berry
24b15d6b0b Replace relevant 'dashboard' package references with pseudometa lookup.
Skipping some of the broader once which have no tangible impact, but are
expensive to change.
2018-08-17 23:18:32 -05:00
Jimmy Berry
d1d69ebf6d systemd/metrics-access.timer: skip Monday to avoid conflict with metrics.timer. 2018-06-18 23:05:02 -05:00
Jimmy Berry
d41cbda37e
Merge pull request #1578 from jberry-suse/metrics-access
Metrics access log parsing tool for ingesting download.o.o logs.
2018-06-18 22:23:22 -05:00
Jimmy Berry
f84ad329c6 dist: package metrics/access tool and related. 2018-06-18 22:13:29 -05:00
Dominik Heidler
0a7b19ffce Run ttm by systemd timer to prevent mem leaks 2018-06-14 16:18:39 +02:00
Jimmy Berry
dc4dc241c6 systemd: add service retry to support-rebuild which 502s regularly. 2018-05-10 23:42:31 -05:00
Jimmy Berry
9950ca8376 systemd: include SyslogIdentifier in each service to improve journal. 2018-05-10 23:42:31 -05:00
Jimmy Berry
66a670a37f systemd: ensure all services have a relaxed RuntimeMaxSec.
The value should allow ample time for seldom larger runs and such and is
purely a safe-guard from a service being stuck for weeks until noticed. If
any values turn out to be too small simply increase.
2018-05-10 23:42:16 -05:00
Jimmy Berry
e3d89e525e systemd: drop Type=simple to be consistent since default not required. 2018-05-10 20:19:27 -05:00
Jimmy Berry
ae00f10c9b
Merge pull request #1531 from jberry-suse/check_duplicate_binaries-staging-bot
dist: provide osrt-staging-bot-check_duplicate_binaries@.service.
2018-05-10 17:52:42 -05:00
Jimmy Berry
846b2bd4b7
Merge pull request #1530 from jberry-suse/openqa-comments-service
dist: provide openqa-comments service as part of staging-bot.
2018-05-10 17:41:17 -05:00
Jimmy Berry
6abed75e10 dist: provide osrt-staging-bot-check_duplicate_binaries@.service. 2018-05-10 00:20:30 -05:00
Jimmy Berry
0fe55a0635 dist: provide openqa-comments service as part of staging-bot. 2018-05-10 00:06:49 -05:00
Jimmy Berry
6055e85d65 systemd/leaper-crawler.service: wrap script with bash to handle colon.
Otherwise, systemd ends up with a 203/EXEC.
2018-05-09 21:22:35 -05:00
Jimmy Berry
b5320317d7 systemd/osrt-repo-checker-project_only@.timer: increase frequency to hourly.
Now that repo_checker will skip identical builds this will increase the
chances that repo_checker project_only hits the project when it is not
building and will decrease the wait time for updates.
2018-04-26 15:35:51 -05:00
Jimmy Berry
079eda3ba6 metrics: instead of wiping cache place ephemeral patterns behind flag.
This allows for non-ephemeral queries to be cached indeinitely in the
future (like source queries that include the revision). For development
one may use --heavy-cache to be able to quickly iterate.
2018-04-20 16:25:47 -05:00
f1e56df8b9
services: Add Install section to totest-manager service 2018-03-11 10:52:53 +01:00
Jimmy Berry
da5bfafb42 metrics: provide release metrics ingestion and dashboard. 2018-03-09 00:34:01 -06:00
Jimmy Berry
01cdaf2a15 systemd/metrics: change service to be non-incremental and weekly. 2018-01-10 20:14:55 -06:00
Jimmy Berry
e1b85fd00c systemd/pkglistgen: add update_and_solve subcommand. 2018-01-08 21:52:07 -06:00
Jimmy Berry
5e9392f4a0 pkglistgen: migrate bash scripts to python. 2017-12-21 01:05:55 -06:00
Ludwig Nussel
5aca59f374 systemd units: remove oneshot type
Those services are of type 'simple'
2017-12-07 16:23:28 +01:00
Ludwig Nussel
290a2ed0b8 pkglistgen: add systemd units 2017-11-13 18:18:00 +01:00
Jimmy Berry
a0c7dc362c dist: provide metrics service and timer. 2017-11-03 17:59:01 -05:00
Jimmy Berry
990be5dbb3 systemd/devel-list: allow three retry attempts to handle regular OBS crash. 2017-10-31 20:00:34 -05:00
Jimmy Berry
cb6b41d6e4 dist: provide check-source subpackage. 2017-10-10 11:17:55 -05:00
Jimmy Berry
08be01844f dist: provide maintenance subpackage. 2017-10-10 11:10:11 -05:00
Jimmy Berry
ac99db6147 dist: rework totest-manager subpackage to provide new style service. 2017-10-10 10:59:09 -05:00
Jimmy Berry
712ef05e0f dist: provide leaper services and related configuration. 2017-10-10 10:26:12 -05:00
Jimmy Berry
eb7e3a458a dist: include supersede service in staging-bot subpackage. 2017-10-09 21:37:32 -05:00
Jimmy Berry
014d8cc07b dist: include suppkg_rebuild in staging-bot subpackage. 2017-10-09 21:09:44 -05:00
Jimmy Berry
a072b21b01 dist: provide staging-bot-devel-list service (changed from leaper). 2017-10-09 20:26:50 -05:00
Jimmy Berry
f2122b49e9 dist: provide staging-bot subpackage for related services. 2017-10-09 17:36:27 -05:00
Jimmy Berry
0b07d05408 dist: provide repo-checker sub-package with binary in path, service, and user. 2017-10-04 17:33:47 -05:00
Jimmy Berry
af83befff3 Drop everything related to old osc-check_repo.py. 2017-07-12 15:31:30 -05:00
Ludwig Nussel
59a3ef970a run totest manager in screen 2015-06-09 11:32:55 +02:00
Ludwig Nussel
3af7406bf6 add totest manager as service 2014-09-03 16:00:48 +02:00
Ludwig Nussel
67e7743f94 fix syslog identifier 2014-09-03 16:00:48 +02:00
Ludwig Nussel
2d7376c26a add systemd units for repo checker 2014-09-03 16:00:48 +02:00