Bug 1731343 - [RFE] Auto-delete step for the incomplete log file if log-collector fails
Summary: [RFE] Auto-delete step for the incomplete log file if log-collector fails
Status: NEW
Alias: None
Product: ovirt-log-collector
Classification: oVirt
Component: RFEs
Version: 4.3.3
Hardware: All
OS: Linux
low vote
Target Milestone: ovirt-4.5.0
: ---
Assignee: Douglas Schilling Landgraf
QA Contact: Lukas Svaty
Depends On:
TreeView+ depends on / blocked
Reported: 2019-07-19 07:47 UTC by Guilherme Santos
Modified: 2019-07-24 07:31 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Last Closed:
oVirt Team: Integration
sbonazzo: ovirt-4.5?

Attachments (Terms of Use)

Description Guilherme Santos 2019-07-19 07:47:34 UTC
Description of problem:
When running ovirt-log-collector in a machine without enough disk space, we get a error message (about the issue), but the incomplete log file (that didn't fit the disk) is not automatically deleted. The user needs to delete it manually.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. Run ovirt-log-collector in a disk without enough disk space for it;
2. Get the error message.

Actual results:
Incomplete log file in the disk.

Expected results:
Get a message asking if the user wants to delete the file (Y as default) and delete the incomplete log file after if user confirms.

Additional info:

Note You need to log in before you can comment on or make changes to this bug.