Project

General

Profile

Actions

action #93195

closed

[Alerting] Failed systemd services alert (except openqa.suse.de) on 2021-05-28, logrotate.service on openqaworker-arm-1

Added by Xiaojing_liu almost 3 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
-
Target version:
Start date:
2021-05-28
Due date:
2021-06-11
% Done:

0%

Estimated time:

Description

Observation

Cheked the systemctl --failed on openqaworker-arm-1:

xiaojing@openqaworker-arm-1:~> systemctl --failed
  UNIT              LOAD   ACTIVE SUB    DESCRIPTION                                                                                                         
● logrotate.service loaded failed failed Rotate log files

The status of logrotate showed:

● logrotate.service - Rotate log files
   Loaded: loaded (/usr/lib/systemd/system/logrotate.service; static; vendor preset: disabled)
   Active: failed (Result: exit-code) since Fri 2021-05-28 00:00:00 UTC; 5h 37min ago
     Docs: man:logrotate(8)
           man:logrotate.conf(5)
 Main PID: 33959 (code=exited, status=1/FAILURE)

May 28 00:00:00 openqaworker-arm-1 systemd[1]: Starting Rotate log files...
May 28 00:00:00 openqaworker-arm-1 logrotate[33959]: error: failed to rename /var/log/openvswitch/ovs-vswitchd.log to /var/log/openvswitch/ovs-vswitchd.log-2 ... : Permission denied
May 28 00:00:00 openqaworker-arm-1 systemd[1]: logrotate.service: Main process exited, code=exited, status=1/FAILURE
May 28 00:00:00 openqaworker-arm-1 systemd[1]: Failed to start Rotate log files.
May 28 00:00:00 openqaworker-arm-1 systemd[1]: logrotate.service: Unit entered failed state.
May 28 00:00:00 openqaworker-arm-1 systemd[1]: logrotate.service: Failed with result 'exit-code'.

Workaround

After run systemctl start logrotate.service, got the [OK] email.


Related issues 5 (0 open5 closed)

Related to openQA Infrastructure - action #62306: osd logrotate fails sporadically on "error opening /var/log/salt/master: Permission denied", only at 00:00, i.e. midnight every day.Resolvedokurz2020-01-192020-04-14

Actions
Related to openQA Infrastructure - action #57476: Recurring partitions full and logrotate fails, possibly due to disabling /var/log/openqa as log targetResolvedokurz2019-09-28

Actions
Related to openQA Infrastructure - action #53570: Failed service "logrotate" on aarch64.o.o and openqaworker1.o.oResolvedokurz2019-06-30

Actions
Related to openQA Project - action #34510: Add logrotate for logs in OSDResolvedmkittler2018-04-09

Actions
Related to openQA Infrastructure - action #78064: failing logrotate on monitor.qa.suse.de due to mariadb/mysql?Resolvedokurz2020-11-162020-11-24

Actions
Actions

Also available in: Atom PDF