Bug 1177809

Summary: CloudForms 3.1 wrongly detects Red Hat satellite 6.0 as RHEV provider
Product: Red Hat CloudForms Management Engine Reporter: Prasad Mukhedkar <pmukhedk>
Component: ProvidersAssignee: Joe Rafaniello <jrafanie>
Status: CLOSED ERRATA QA Contact: Milan Falešník <mfalesni>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.3.0CC: bdunne, dajohnso, dclarizi, gblomqui, jfrey, jhardy, jrafanie, mfalesni, mfeifer, obarenbo, xlecauch
Target Milestone: GA   
Target Release: 5.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: 5.4.0.0.11 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-06-16 12:46:48 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Prasad Mukhedkar 2014-12-30 14:35:29 UTC
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

Comment 2 Greg Blomquist 2015-02-20 23:47:55 UTC
Brandon, weren't you already looking at something like this?  Seems like this is probably a dup...

Comment 3 Joe Rafaniello 2015-02-23 14:38:19 UTC
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

Comment 5 Joe Rafaniello 2015-02-27 22:22:39 UTC
Upstream pull request: https://github.com/ManageIQ/manageiq/pull/1929

Comment 7 CFME Bot 2015-03-04 19:31:07 UTC
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(-)

Comment 11 Milan Falešník 2015-03-11 17:11:24 UTC
Verified in 5.4.0.0.11, the Satellite 6 is not detected as RHEV.

Comment 13 errata-xmlrpc 2015-06-16 12:46:48 UTC
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

Comment 14 Red Hat Bugzilla 2023-09-14 02:52:47 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days