rhevm-log-collector-3.1.0-10.el6ev.noarch If I just run rhevm-log-collector without any command line arguments it collects logs for the Manager and all Hypervisors. If I add the option to specify tmp location ( --local-tmp=/some/other/dir) because /tmp is too small it just collects manager logs. Options that aren't specific to the specifics of the configuration (everything except hosts/clusters/datacenters) should not affect whether log-collector gathers hypervisor logs or not.
In actual fact as soon as you specify command line options it appears to not want to deal with hypervisors at all [root@rhevm01 ~]# rhevm-log-collector --local-tmp=/iso/logcollector --cluster=kvmDC1 Please provide the REST API password for the admin@internal RHEV-M user (CTRL+D to skip): INFO: No hypervisors were selected, therefore no hypervisor data will be collected. Please provide the password for the PostgreSQL user, postgres, to dump the engine PostgreSQL database instance (CTRL+D to skip): Exiting on user cancel. [root@rhevm01 ~]# rhevm-log-collector --local-tmp=/iso/logcollector --hosts=kvm* Please provide the REST API password for the admin@internal RHEV-M user (CTRL+D to skip): INFO: No hypervisors were selected, therefore no hypervisor data will be collected. Please provide the password for the PostgreSQL user, postgres, to dump the engine PostgreSQL database instance (CTRL+D to skip): Exiting on user cancel. [root@rhevm01 ~]# rhevm-log-collector --hosts=kvm* --local-tmp=/iso/logcollector --hosts=washkvm* Please provide the REST API password for the admin@internal RHEV-M user (CTRL+D to skip): INFO: No hypervisors were selected, therefore no hypervisor data will be collected. Please provide the password for the PostgreSQL user, postgres, to dump the engine PostgreSQL database instance (CTRL+D to skip): Exiting on user cancel.
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.
Still relevant
No way to reproduce on oVirt 3.5.0 beta1, probably it has been fixed in the mean time as a side effect of an other issue. [stirabos@f20t1 ~]$ sudo engine-log-collector [sudo] password for stirabos: Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): INFO: Gathering oVirt Engine information... INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... About to collect information from 1 hypervisors. Continue? (Y/n): y INFO: Gathering information from selected hypervisors... INFO: collecting information from f20t1.localdomain INFO: finished collecting information from f20t1.localdomain [stirabos@f20t1 ~]$ sudo engine-log-collector --local-tmp=/iso/logcollector Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): INFO: Gathering oVirt Engine information... INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... About to collect information from 1 hypervisors. Continue? (Y/n): y INFO: Gathering information from selected hypervisors... INFO: collecting information from f20t1.localdomain INFO: finished collecting information from f20t1.localdomain Creating compressed archive... INFO: Log files have been collected and placed in /tmp/sosreport-LogCollector-20140724143221.tar.xz. The MD5 for this file is 6f8cec4e3e27d445626c3474f1228b51 and its size is 23.0M [stirabos@f20t1 ~]$ sudo engine-log-collector --local-tmp=/iso/logcollector --cluster=local_cluster Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): INFO: Gathering oVirt Engine information... INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... About to collect information from 1 hypervisors. Continue? (Y/n): y INFO: Gathering information from selected hypervisors... INFO: collecting information from f20t1.localdomain INFO: finished collecting information from f20t1.localdomain Creating compressed archive... INFO: Log files have been collected and placed in /tmp/sosreport-LogCollector-20140724143503.tar.xz. The MD5 for this file is 29077eee906e97c35b38763ae89968f3 and its size is 23.0M
in ovirt-log-collector-3.5.0-0.1.master.el6.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0193.html