Description of problem: Initiating Discover Infrastructure provider, Wrongly detects Red Hat satellite 6.0 as RHEV provider and list it as rhev with rhev icon. Version-Release number of selected component (if applicable): 5.3.1.10.20141112120709_c36c424 How reproducible: Alwas Steps to Reproduce: 1. start "Discover Infrastructure provider" for ip range witin which Red Hat satellite 6.0 is installed. Actual results: Cloudforms will detect satellite 6.0 as RHEV provider Expected results: This is not expected, it should detect only rhevm as rhev provider Additional info: [----] I, [2014-12-30T14:11:22.211824 #29654:114d09c] INFO -- : MIQ(host-discoverHost): Discovering Host: #<OpenStruct ipaddr="10.65.234.132", usePing=nil, timeout=10, discover_types=[:rhevm]> [----] I, [2014-12-30T14:11:23.433388 #29654:114d09c] INFO -- : MIQ(host-discoverHost): Discovered: #<OpenStruct ipaddr="10.65.234.132", usePing=nil, timeout=10, discover_types=[:rhevm], os=[], hypervisor=[:rhevm]> [----] I, [2014-12-30T14:11:23.967560 #29654:114d09c] INFO -- : MIQ(ExtManagementSystem.create_discovered): Cloud/Infrastructure Provider RHEV-M (10.65.234.132) created 10.65.234.132 is satellite 6.0
Brandon, weren't you already looking at something like this? Seems like this is probably a dup...
This was discovered upstream and documented here: https://github.com/ManageIQ/manageiq/issues/1497 Work is already in progress to use the ssh public rest endpoint as a slightly better way to identify rhevm/ovirt: https://github.com/ManageIQ/ovirt/pull/23
Upstream pull request: https://github.com/ManageIQ/manageiq/pull/1929
New commit detected on manageiq/master: https://github.com/ManageIQ/manageiq/commit/2f9dd5e1abd17787ee8f81e043a5b115ddf5b870 commit 2f9dd5e1abd17787ee8f81e043a5b115ddf5b870 Author: Joe Rafaniello <jrafanie> AuthorDate: Fri Feb 27 16:34:39 2015 -0500 Commit: Joe Rafaniello <jrafanie> CommitDate: Wed Mar 4 10:08:32 2015 -0500 Fix RHEVM discovery to use ssh rest-api to limit false positives. Ovirt::Service.ovirt? was added in https://github.com/ManageIQ/ovirt/pull/23 Fixes #1497 https://bugzilla.redhat.com/show_bug.cgi?id=1177809 lib/discovery/modules/RedHatRhevmProbe.rb | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-)
Verified in 5.4.0.0.11, the Satellite 6 is not detected as RHEV.
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-1100.html
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days