Project

General

Profile

Actions

action #166313

closed

Failed systemd services on multiple workers due to logrotate errors size:S

Added by livdywan 3 months ago. Updated about 2 months ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
Regressions/Crashes
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Observation

Failed services:

2024-09-04 12:14:00        openqaworker17        logrotate        1
2024-09-04 12:13:00        openqaworker16        logrotate        1
2024-09-04 12:13:00        openqaworker-arm-1        logrotate

On openqaworker-arm-1.qe.nue2.suse.org I checked the error:

error: destination /var/log/zypper.log-20240904.xz already exists

Deleting the file and restarting the service did the trick.

Suggestions

  • Login and check failed services
  • Restart services and/ or the worker
  • Investigate why logrotate would try to create the same file again
    • Check the logrotate config and see if this can be improved - or maybe this is an upstream issue as we've seen this before
    • Most likely because we only include the day into the timestamp and run logrotate multiple times a day

Files

Actions

Also available in: Atom PDF