Description of problem: engine-log-collector is trying to fetch information about hypervisors Version-Release number of selected component (if applicable): rhsc-2.1.0-0.qa9.el6rhs.noarch How reproducible: 100% Steps to Reproduce: 1. In RHS-C engine, run engine-log-collector and see the CLI output 2. 3. Actual results: Following is the CLI output: ----------------------- [root@engine ~]# engine-log-collector INFO: /tmp/logcollector does not exist. It will be created. Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): ERROR: Failure fetching information about hypervisors from API . Error: 'API' object has no attribute 'datacenters' INFO: No hypervisors were selected, therefore no hypervisor data will be collected. INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... INFO: Gathering oVirt Engine information... INFO: Log files have been collected and placed in /tmp/logcollector/sosreport-LogCollector-engine-20130329115004-6b37.tar.xz. The MD5 for this file is b588fe85fe0dc8933659f22013c76b37 and its size is 12.6M -------------------------- Expected results: It shouldn't try to fetch for information from hypervisors or datacenters as there is no such concept in RHS-C. Whatever not specific to RHS-C should be removed from engine-log-collector Additional info:
Downstream patch sent for review. https://code.engineering.redhat.com/gerrit/#/c/9295/
RPMs available in https://brewweb.devel.redhat.com/taskinfo?taskID=5951743
(In reply to Aravinda VK from comment #2) > Downstream patch sent for review. > https://code.engineering.redhat.com/gerrit/#/c/9295/ RHS servers are definitely not hypervisors, but log-collector says that it's going to collect information from hypervisors. See below: ------------ # rhsc-log-collector Please provide the REST API username for oVirt Engine (CTRL+D to skip): admin@internal Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): About to collect information from 3 hypervisors. Continue? (Y/n): y INFO: Gathering information from selected hypervisors... ------------ Are we going to stick with the name "hypervisors" instead of a more accurate name??
Moving back to assigned based on #Comment 4
Fixed in version: 2.1.2.0 cb5 --no-hypervisors option is changed to --no-servers
Verified in 2.1.2.0 cb5 ---------------- # rhsc-log-collector INFO: Gathering oVirt Engine information... INFO: Gathering PostgreSQL the oVirt Engine database and log files from localhost... Please provide the REST API password for the admin@internal oVirt Engine user (CTRL+D to skip): About to collect information from 2 servers. Continue? (Y/n): n INFO: Aborting server collection... Creating compressed archive... INFO: Log files have been collected and placed in /tmp/sosreport-LogCollector-20131028160507.tar.xz. The MD5 for this file is 241c32efa123632743c9d175fc6365c9 and its size is 67.9M ----------------
Please review the edited DocText and signoff.
doc text looks good to me.
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. http://rhn.redhat.com/errata/RHEA-2014-0208.html