Bug 1980771

Summary: Inventory uses incorrect validation endpoint for RHV VMs
Product: Migration Toolkit for Virtualization Reporter: Jeff Ortel <jortel>
Component: InventoryAssignee: Jeff Ortel <jortel>
Status: CLOSED ERRATA QA Contact: kpunwatk
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 2.1.0CC: fdupont
Target Milestone: ---   
Target Release: 2.1.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-26 07:09:25 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 Jeff Ortel 2021-07-09 13:49:40 UTC
Description of problem:

Inventory controller needs to use the /ovirt/ validation service endpoint for oVirt VMs.

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


How reproducible:

Always.

Steps to Reproduce:
1. Add an oVirt provider.
2.
3.

Actual results:

The VM.concerns for oVirt is empty for most oVirt VMs.


Expected results:

Using the correct endpoint, the concerns will be populated.


Additional info:

Comment 2 Fabien Dupont 2021-07-14 06:53:33 UTC
Please verify with build 2.1.0-29 / IIB:90663.

Comment 3 Ilanit Stein 2021-08-08 10:10:51 UTC
@Jeff,

Could you please provide verification steps?

Comment 4 Fabien Dupont 2021-08-16 12:57:35 UTC
The issue in this bug is that the inventory doesn't reach the validation service with the correct URL. The consequence is that all the RHV VMs have no concern reported.
With the fix, the concerns for RHV VMs will be populated. So, to verify this bug, simply check that a RHV VM with know "issue" correctly reports concerns in the inventory.

Comment 5 Ilanit Stein 2021-08-16 15:38:03 UTC
An example on how to validate this bug: Pick a VM that has a validation warning, like a RHV "Migratable" VM.

Comment 6 kpunwatk 2021-08-17 11:59:04 UTC
Verified on MTV build 2.1.0-48 / IIB 97916

Validation steps: Selected a VM and can see the validation warning.

Comment 9 errata-xmlrpc 2021-08-26 07:09:25 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 (Migration Toolkit for Virtualization 2.1.0), 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/RHEA-2021:3278