Bug 1355966 - log-collector: fails to run when param 'all' is set to True
Summary: log-collector: fails to run when param 'all' is set to True
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-log-collector
Classification: oVirt
Component: General
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.0.4
: 4.0.1
Assignee: Ido Rosenzwig
QA Contact: Lucie Leistnerova
URL:
Whiteboard:
Depends On:
Blocks: 1371405
TreeView+ depends on / blocked
 
Reported: 2016-07-13 07:28 UTC by Yaniv Kaul
Modified: 2017-05-11 09:25 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-09-26 12:38:53 UTC
oVirt Team: Integration
Embargoed:
rule-engine: ovirt-4.0.z+
ylavi: planning_ack+
sbonazzo: devel_ack+
lsvaty: testing_ack+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 61842 0 master MERGED Removed the 'all' keyword fron the config file. reason: it's not working since 3.2.0 . 2016-08-02 14:31:42 UTC
oVirt gerrit 62986 0 ovirt-log-collector-4.0 MERGED Removed the 'all' keyword fron the config file. reason: it's not working since 3.2.0 . 2016-08-30 07:21:50 UTC

Description Yaniv Kaul 2016-07-13 07:28:57 UTC
Description of problem:
When enabling the option 'all' and setting it to true in the conf file, log collector fails.

[root@lago_basic_suite_master_engine ~]# ovirt-log-collector --conf-file=/etc/ovirt-engine/logcollector.conf
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.
Usage: __main__.py [options] list
       __main__.py [options] collect

__main__.py: error: no such option: --all


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

This is my conf file:
[LogCollector]
user=admin@internal
passwd=123
engine=engine:443
all=true

Comment 1 Sandro Bonazzola 2016-07-14 06:07:04 UTC
As far as I can tell, "all" was in the cfg file since the project has been created and it's not working at least since 3.2.0.
Just remove it from the cfg file.

Comment 2 Lucie Leistnerova 2016-09-13 13:34:35 UTC
aflter installing rhevm option 'all' is not present in /etc/ovirt-engine/logcollector.conf

verified in ovirt-engine-4.0.4.1-0.1.el7ev.noarch


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