action #112898
closedMinion workers alert triggering on and off size:M
0%
Description
Observation¶
We've been getting minion workers alerts throughout the day e.g. for 10 minutes or for 40 minutes. The alerts usually calm down after a while but alert again later.
journalctl -fu openqa-gru.service
isn't showing anything that looks relevant. Although I noticed a lot of grep was killed, possibly timed out
messages.
/var/log/openqa_gru
mostly contains [debug] Process ... is performing job "..." with task "..."
type messages.
I paused the alert for now because we're way past alert fatigue.
Acceptance criteria¶
- AC1: Alert does not trigger anymore for at least over a night
Suggestions¶
- Research what's causing minion workers to disappear frequently
- Check the minion dashboard e.g. when the worker was last started
- The stats are based on Active/Inactive workers - maybe we need "registered workers"; this would be an upstream feature
Rollback steps¶
- Unpause the alert in grafana after confirming the monitoring is fine
Updated by livdywan over 2 years ago
- Subject changed from Minion workers alert triggering on and off to Minion workers alert triggering on and off size:M
- Description updated (diff)
- Status changed from New to Workable
Updated by okurz over 2 years ago
- Related to action #96380: "minion workers" alert shows <1 total minion workers if active == 1 size:M added
Updated by okurz over 2 years ago
- Due date set to 2022-07-07
- Status changed from Workable to Feedback
- Assignee set to okurz
it seems like the problem has actually vanished since 2022-06-22 21:30 for unknown reason, see https://monitor.qa.suse.de/d/WebuiDb/webui-summary?editPanel=17&tab=alert&orgId=1&from=1655889123384&to=1655943090423. I unpaused the alert and will monitor it. Still we can make the alert more resilient: https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/706
Updated by kraih over 2 years ago
PR for trying to make monitoring the number of workers more reliable: https://github.com/os-autoinst/openQA/pull/4723
Updated by okurz over 2 years ago
- Due date changed from 2022-07-07 to 2022-07-22
I just merged https://gitlab.suse.de/openqa/salt-states-openqa/-/merge_requests/706 because no one else wanted to take a look. Also https://build.opensuse.org/package/show/devel:openQA:Leap:15.4/perl-Minion is 10.25 now so we can go ahead with https://github.com/os-autoinst/openQA/pull/4723. Currently blocked by failing tests. Let's see if mergify can correctly rebase the PR and if tests pass then.
Updated by okurz over 2 years ago
Updated by livdywan over 2 years ago
- Due date changed from 2022-07-22 to 2022-07-29
okurz wrote:
https://github.com/os-autoinst/openQA/pull/4723 needs https://github.com/Grinnz/Minion-Backend-SQLite/pull/21 first
Let's wait some more to give the author time to review and merge.
Updated by okurz over 2 years ago
- Due date changed from 2022-07-29 to 2022-09-23
- Status changed from Feedback to Blocked
I think we need to be more forgiving when waiting. Also setting "blocked" on https://github.com/Grinnz/Minion-Backend-SQLite/pull/21 now
Updated by livdywan over 2 years ago
- Status changed from Blocked to Feedback
Can we confirm that this works now with the new package?
Updated by okurz about 2 years ago
- Due date changed from 2022-09-23 to 2022-10-07
First we need to see the new release being used in the referenced PR. I see https://build.opensuse.org/package/show/openSUSE:Factory/perl-Minion-Backend-SQLite being the new updated version. I triggered a rebase in the PR, let's await results
Updated by okurz about 2 years ago
https://github.com/os-autoinst/openQA/pull/4723 progressed a bit. All tests pass but we are missing coverage in lib/OpenQA/CacheService/Controller/Influxdb.pm
which I assume is not gathered anymore from existing t/25-cache-service.t to not slow tests too much when trying to collect coverage in all subprocesses.
Updated by okurz about 2 years ago
- Related to action #102221: t/25-cache-service.t fails exceeding 90s timeout consistently size:M added
Updated by okurz about 2 years ago
- Related to action #96561: Speed up `t/25-cache-service.t` by avoiding forking to run Minion jobs added
Updated by okurz about 2 years ago
- Due date changed from 2022-10-07 to 2022-10-14
https://github.com/os-autoinst/openQA/pull/4723 merged after a session together with tinita and mkittler. Awaiting feedback from production
Updated by okurz about 2 years ago
- Status changed from Feedback to Resolved
No problems observed from production. https://stats.openqa-monitor.qa.suse.de/d/WebuiDb/webui-summary?viewPanel=17&orgId=1&from=now-7d&to=now looks clean. Alerts are enabled and good.