Bug 1562788 - [Regression] RHV provider discovery doesn't work
Summary: [Regression] RHV provider discovery doesn't work
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.9.2
Assignee: Boriso
QA Contact: Jan Zmeskal
URL:
Whiteboard:
Depends On: 1559796
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-04-02 13:49 UTC by Satoe Imaishi
Modified: 2022-07-09 09:35 UTC (History)
9 users (show)

Fixed In Version: 5.9.2.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1559796
Environment:
Last Closed: 2018-05-07 20:48:01 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:1328 0 None None None 2018-05-07 20:48:40 UTC

Comment 2 CFME Bot 2018-04-02 13:52:11 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:

https://github.com/ManageIQ/manageiq-providers-ovirt/commit/f26df63e4c6676bfdc967e80b1be4a0a82435d98
commit f26df63e4c6676bfdc967e80b1be4a0a82435d98
Author:     Moti Asayag <masayag>
AuthorDate: Sun Apr  1 03:56:49 2018 -0400
Commit:     Moti Asayag <masayag>
CommitDate: Sun Apr  1 03:56:49 2018 -0400

    Merge pull request #232 from borod108/bugs/discovery1559796

    Fix provider discovery
    (cherry picked from commit 9e95b90ada4f822ae971fc2565bd46d1f0e82255)

    Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1562788

 app/models/manageiq/providers/redhat/discovery.rb | 6 +-
 1 file changed, 3 insertions(+), 3 deletions(-)

Comment 3 Jan Zmeskal 2018-04-18 12:55:45 UTC
I tried to verify the bug but I came to conclusion that discovering RHV provider does not work as expected. I tried to provide valid IP range. It is true that my RHV provider was discovered, but even after manually refreshing relationships and waiting for some time, the provider had no subordinate inventory. That is no clusters, hosts, datastores, VMs or templates have been displayed in UI although they are present on the provider side. 

Video and evm.log from verification are in the attachment.

Tested on: 
CFME 5.9.2.2.20180410215257_6961422
RHV 4.2.2.5

Comment 6 Boriso 2018-04-22 09:46:55 UTC
Hi,
Perhaps there is a missing part in the video, but it seems there were no credentials set for the discovered provider.

As per documentation: 
https://access.redhat.com/documentation/en-us/red_hat_cloudforms/4.6/html/managing_providers/infrastructure_providers#discovering_multiple_management_systems

One has to edit the provider after it has been discovered and add its credentials before it can be used.

Comment 7 Jan Zmeskal 2018-04-23 07:40:50 UTC
Boris is right, I was missing last step in the verification. Tried it again and discovery works as expected. Moving to verified status. Thank you for catching that Boris!

Comment 10 errata-xmlrpc 2018-05-07 20:48:01 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://access.redhat.com/errata/RHSA-2018:1328


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