Logrotate breaks deployment

Bug #1625398 reported by Nikita Koshikov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fuel for OpenStack
Invalid
High
Fuel Sustaining
Mitaka
Invalid
High
Fuel Sustaining

Bug Description

FUEL 9.0

Steps to reproduce:

Run deployment.
While deployment is in progress force logrotate to rotate astute.log file.

Result - deployment failed because astute stop processing tasks.

Expected result - deployment should proceed , even if file was truncated.

The buggy code in /etc/logrotate.d/fuel.nodaily

tags: added: area-library
no longer affects: fuel/newton
Changed in fuel:
assignee: Fuel Sustaining (fuel-sustaining-team) → Maksim Malchuk (mmalchuk)
Revision history for this message
Maksim Malchuk (mmalchuk) wrote :

Didn't reproduce the issue.

The logrotate process was forced by the command: /usr/sbin/logrotate -fv /etc/logrotate.conf

It correctly rotate the astute log files:
total 17136
drwxr-xr-x. 2 root root 4096 Sep 27 10:00 .
drwxr-xr-x. 20 root root 4096 Sep 27 09:58 ..
-rw-r--r--. 1 root root 16416036 Sep 27 11:01 astute.log
-rw-r--r--. 1 root root 609342 Sep 27 10:00 astute.log.1.gz
-rw-r--r--. 1 root root 510840 Sep 26 12:00 astute.log.2.gz

Please provide the additional information and a diagnostic snapshot after the fail.

Changed in fuel:
status: Confirmed → Incomplete
Changed in fuel:
assignee: Maksim Malchuk (mmalchuk) → Fuel Sustaining (fuel-sustaining-team)
Revision history for this message
Oleksiy Molchanov (omolchanov) wrote :

Marking as Invalid, because of no updates for more than a month.

Changed in fuel:
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.