Bug 1790540

Summary: [v2v] Inaccurate message is displayed in "Conversion Hosts" page while there is only one provider
Product: Red Hat CloudForms Management Engine Reporter: Satoe Imaishi <simaishi>
Component: V2VAssignee: Mike Turley <mturley>
Status: CLOSED ERRATA QA Contact: Md Nadeem <mnadeem>
Severity: high Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: high    
Version: 5.11.1CC: bthurber, dagur, fdupont, istein, mnadeem, mturley, simaishi
Target Milestone: GAKeywords: ZStream
Target Release: 5.11.4Flags: pm-rhel: cfme-5.11.z+
simaishi: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 5.11.4.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1775998 Environment:
Last Closed: 2020-03-17 13:11:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: V2V Target Upstream Version:
Embargoed:
Bug Depends On: 1775998    
Bug Blocks:    

Comment 2 Md Nadeem 2020-01-20 08:25:47 UTC
Tested this BZ in upstream version (ManageIQ Jansa Version master.20200118225846)

The issue is fixed upstream and we able to configure the conversion host with target provider only and without source provider added.
We got below message when target provider is missing.

"There are no providers available from which to configure a conversion host. You must configure a target provider before configuring conversion hosts."

Comment 3 CFME Bot 2020-02-21 22:37:11 UTC
New commits detected on ManageIQ/manageiq-v2v/ivanchuk:

https://github.com/ManageIQ/manageiq-v2v/commit/6738c60d5e8710378c8a4b206960134643c7ba10
commit 6738c60d5e8710378c8a4b206960134643c7ba10
Author:     Milan Zázrivec <mzazrivec>
AuthorDate: Fri Jan 10 11:28:42 2020 +0000
Commit:     Milan Zázrivec <mzazrivec>
CommitDate: Fri Jan 10 11:28:42 2020 +0000

    Merge pull request #1086 from mturley/1072-fix-sufficient-providers-check

    [#1072] [BZ#1775998] Fix logic for providers check on Conversion Hosts Settings page

    (cherry picked from commit 5b4ee3b59b4b19654417a63ed072fd19e548f0c2)

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

 app/javascript/react/screens/App/Overview/__test__/__snapshots__/index.test.js.snap | 1 +
 app/javascript/react/screens/App/Settings/screens/ConversionHostsSettings/ConversionHostsSettings.js | 6 +-
 app/javascript/react/screens/App/Settings/screens/ConversionHostsSettings/__tests__/ConversionHostsSettings.test.js | 4 +-
 app/javascript/react/screens/App/Settings/screens/ConversionHostsSettings/__tests__/__snapshots__/index.test.js.snap | 2 +-
 app/javascript/react/screens/App/Settings/screens/ConversionHostsSettings/index.js | 4 +-
 app/javascript/redux/common/providers/__tests__/providersHelpers.test.js | 85 +-
 app/javascript/redux/common/providers/__tests__/providersReducer.test.js | 1 +
 app/javascript/redux/common/providers/providersHelpers.js | 8 +-
 app/javascript/redux/common/providers/providersReducer.js | 6 +-
 9 files changed, 76 insertions(+), 41 deletions(-)

Comment 4 Md Nadeem 2020-03-03 07:29:14 UTC
verified in version:  5.11.4.1

Comment 7 errata-xmlrpc 2020-03-17 13:11:17 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/RHBA-2020:0867