Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 950336 - [RHEVM] [rhevm-log-collector] Using -H option, hypervisor log is not collected for both ip address & fqdn
[RHEVM] [rhevm-log-collector] Using -H option, hypervisor log is not collecte...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-log-collector (Show other bugs)
3.2.0
Unspecified Unspecified
high Severity medium
: ---
: 3.3.0
Assigned To: Sandro Bonazzola
sefi litmanovich
integration
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2013-04-10 02:35 EDT by Ilanit Stein
Modified: 2015-09-22 09 EDT (History)
8 users (show)

See Also:
Fixed In Version: rhevm-log-collector-3.3.0-1.el6ev
Doc Type: Bug Fix
Doc Text:
Previously when a hypervisor was added to the manager using its FQDN, specifying its IP address using the -H option caused an error "The following hosts are not listed as hypervisors". Now, providing an FQDN that resolves to IP vice versa, either one can be specified to add a hypervisor to the manager.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2014-01-21 11:59:24 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 18906 None None None Never
oVirt gerrit 18985 None None None Never
Red Hat Product Errata RHBA-2014:0039 normal SHIPPED_LIVE rhevm-log-collector bug fix and enhancement update 2014-01-21 16:52:46 EST

  None (edit)
Description Ilanit Stein 2013-04-10 02:35:03 EDT
Description of problem:
log-collector just filter the list of hypervisors provided by the engine, so if in the engine the hypervisor is listed as ip address, it will be collected only if you specify the same ip address. If the hypervisor is registered using the fqdn, it will match only fqdn in -H argument.
Need to add some logic on resolving fqdn and reverse resolving ip address.

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

How reproducible:
always

Steps to Reproduce:
rhevm-log-collector -H <hypervisor>
Try hypervisor fqdn & IP - for one of these you'll get the message:
"INFO: No hypervisors were selected, therefore no hypervisor data will be collected."
depending on what how hypevisor was registered in the engine.
 
Additional info:
This bug is driven from bug 918020, comment #6.
Comment 2 Sandro Bonazzola 2013-09-05 11:26:58 EDT
Patch pushed upstream master.

previously if an hypervisor was added to the engine
using its FQDN specifying its IP address to -H (or
vice versa) caused an error like:
'The following host are not listed as hypervisors:...'

now provided that FQDN resolve to IP and IP reverse
resolve to FQDN you can specify indifferently one
of them
Comment 5 sefi litmanovich 2013-09-23 12:04:38 EDT
Verified on rhevm 3.3 IS15.
rhevm-log-collector-3.3.0-1.el6ev
Comment 6 Charlie 2013-11-27 20:16:40 EST
This bug is currently attached to errata RHBA-2013:15255. If this change is not to be documented in the text for this errata please either remove it from the errata, set the requires_doc_text flag to 
minus (-), or leave a "Doc Text" value of "--no tech note required" if you do not have permission to alter the flag.

Otherwise to aid in the development of relevant and accurate release documentation, please fill out the "Doc Text" field above with these four (4) pieces of information:

* Cause: What actions or circumstances cause this bug to present.
* Consequence: What happens when the bug presents.
* Fix: What was done to fix the bug.
* Result: What now happens when the actions or circumstances above occur. (NB: this is not the same as 'the bug doesn't present anymore')

Once filled out, please set the "Doc Type" field to the appropriate value for the type of change made and submit your edits to the bug.

For further details on the Cause, Consequence, Fix, Result format please refer to:

https://bugzilla.redhat.com/page.cgi?id=fields.html#cf_release_notes 

Thanks in advance.
Comment 7 errata-xmlrpc 2014-01-21 11:59:24 EST
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/RHBA-2014-0039.html

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