Bug 1355966
| Summary: | log-collector: fails to run when param 'all' is set to True | ||
|---|---|---|---|
| Product: | [oVirt] ovirt-log-collector | Reporter: | Yaniv Kaul <ykaul> |
| Component: | General | Assignee: | Ido Rosenzwig <irosenzw> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Lucie Leistnerova <lleistne> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.0.0 | CC: | bugs, lleistne, lsvaty, sbonazzo, ylavi |
| Target Milestone: | ovirt-4.0.4 | Keywords: | EasyFix, ZStream |
| Target Release: | 4.0.1 | Flags: | rule-engine:
ovirt-4.0.z+
ylavi: planning_ack+ sbonazzo: devel_ack+ lsvaty: testing_ack+ |
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-09-26 12:38:53 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | Integration | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1371405 | ||
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. 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 |
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