Bug 1294984 - [RFE][TEXT] - add warning when running log collector without filters.
Summary: [RFE][TEXT] - add warning when running log collector without filters.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-log-collector
Classification: oVirt
Component: RFEs
Version: 3.6.0
Hardware: Unspecified
OS: Unspecified
high
high vote
Target Milestone: ovirt-4.0.0-beta
: 4.0.0
Assignee: Rafael Martins
QA Contact: Petr Kubica
URL:
Whiteboard:
Depends On: 1351988
Blocks: 971853
TreeView+ depends on / blocked
 
Reported: 2015-12-31 12:53 UTC by Yaniv Lavi
Modified: 2016-08-16 01:03 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Previously, if ovirt-log-collector was called without filters in large scale environments hours of logs were collected and the output was large. Now, ovirt-log-collector shows a warning if called without any filters.
Clone Of:
Environment:
Last Closed: 2016-08-01 12:27:02 UTC
oVirt Team: Integration
rule-engine: ovirt-4.0.0+
grafuls: testing_plan_complete-
ylavi: planning_ack+
sbonazzo: devel_ack+
pstehlik: testing_ack+


Attachments (Terms of Use)


Links
System ID Priority Status Summary Last Updated
oVirt gerrit 55668 master NEW engine-log-collector: warn users if collecting logs from all hosts 2016-04-04 15:47:13 UTC

Description Yaniv Lavi 2015-12-31 12:53:13 UTC
Description of problem:
Log collector doesn't require any filters. In a scale environment this can mean hours of log collection and big output size. We should warn the user when doing this.

Comment 1 Sandro Bonazzola 2016-05-02 10:01:46 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 2 Petr Kubica 2016-07-26 06:42:52 UTC
Verified in ovirt-log-collector-4.0.0-1.el7ev.noarch

# ovirt-log-collector 
This command will collect system configuration and diagnostic
information from this system.
The generated archive may contain data considered sensitive and its
content should be reviewed by the originating organization before
being passed to any third party.
No changes will be made to system configuration.
Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): 
WARNING: This ovirt-log-collector call will collect logs from all available hosts. This may take long time, depending on the size of your deployment
INFO: Gathering oVirt Engine information...
INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost...
About to collect information from 2 hypervisors. Continue? (Y/n): y
INFO: Gathering information from selected hypervisors...


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