Project

General

Profile

action #57239

Add/fix openqa_logwarn for o3 and osd sending to o3-admins@suse.de and osd-admins@suse.de respectively

Added by okurz over 1 year ago. Updated 3 months ago.

Status:
Workable
Priority:
Low
Assignee:
-
Target version:
Start date:
2019-09-23
Due date:
% Done:

0%

Estimated time:

Description

Motivation

Just as o3-admins@suse.de we have a mailing list osd-admins@suse.de now which is used for example for grafana monitoring messages. But o3:/etc/openqa/openqa.ini was changed to not write log messages to /var/log/openqa anymore but all to the journal, meaning that openqa_logwarn does not work anymore as in before.

Acceptance criteria

  • AC1: A periodic job for openqa_logwarn sends (again) emails if any unexpected errors are encountered in service logs on o3, sent to o3-admins@suse.de
  • AC2: Same as AC1 but on osd, sent to osd-admins@suse.de

Suggestions

  • Research what https://github.com/os-autoinst/openqa-logwarn is doing
  • Lookup cron job or systemd timer definitions on o3 and/or osd to find out how this should be triggered
  • Test if simple email sending from crontab works
  • Look on o3 and osd what the output of openqa_logwarn is and ensure that emails are sent if there are unexpected errors encountered in logfiles

Related issues

Related to openQA Infrastructure - action #35290: [tools] again needles could not be pushed from osd to gitlab.suse.de due to "account has been blocked" and apparently no monitoring alert about this was observedResolved2018-04-20

History

#1 Updated by okurz over 1 year ago

  • Related to action #35290: [tools] again needles could not be pushed from osd to gitlab.suse.de due to "account has been blocked" and apparently no monitoring alert about this was observed added

#2 Updated by okurz 9 months ago

  • Target version set to Ready

#3 Updated by okurz 6 months ago

  • Priority changed from Normal to Low

#4 Updated by okurz 5 months ago

  • Description updated (diff)
  • Status changed from New to Workable

#5 Updated by okurz 3 months ago

  • Target version changed from Ready to future

Also available in: Atom PDF