Project

General

Profile

action #166313

Updated by livdywan 2 months ago

## 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

Back