Bug 1755897 - The UI warning about RSA is deprecated and not true anymore.
Summary: The UI warning about RSA is deprecated and not true anymore.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.11.0
Hardware: Unspecified
OS: Unspecified
medium
high
Target Milestone: GA
: 5.12.0
Assignee: Mike Turley
QA Contact: Shveta
Red Hat CloudForms Documentation
URL:
Whiteboard:
Depends On: 1757352
Blocks: 1767788
TreeView+ depends on / blocked
 
Reported: 2019-09-26 12:27 UTC by Nenad Peric
Modified: 2020-10-26 16:26 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1767788 (view as bug list)
Environment:
Last Closed: 2020-10-26 16:26:03 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
The error is present in migration plan as well (181.66 KB, image/png)
2019-09-26 14:11 UTC, Nenad Peric
no flags Details

Description Nenad Peric 2019-09-26 12:27:26 UTC
Description of problem:

When creating infrastructure mapping, during the compute mapping we would get a warning on all the projects saying:

" You must enable an RSA key pair on the OpenStack provider. You can continue to create an infrastructure mapping without the key pair, but you must enable it before running the migration plan. "

This is a false statement and should not be raised as a warning anymore. 

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

 5.11.0.26

How reproducible:

100%

Steps to Reproduce:
1. Go to infrastructure mapping
2. try creating VMWare to OSP mapping
3. get a warning...

Actual results:

Warning is raised next to the name of projects

Expected results:

No warning should be raised, RSA keypair is not an issue anymore. 


Additional info:

Comment 2 Nenad Peric 2019-09-26 14:11:15 UTC
Created attachment 1619591 [details]
The error is present in migration plan as well

Comment 3 Mike Turley 2019-09-27 19:26:22 UTC
Issue to track this in the GitHub project board: https://github.com/ManageIQ/manageiq-v2v/issues/1038

Comment 4 Mike Turley 2019-09-30 20:58:23 UTC
The warning in the plans view should be fixed, for sure.

The warning in the mapping wizard, however, should only appear if there are conversion hosts in the provider that do not have authentications configured.

Fabien, is this something we still want to check in the mapping wizard (and maybe change the phrasing to make it clear that it's a conversion host that should be fixed), or is it no longer possible to have a conversion host without an authentication (we should remove this message entirely)?

Also, is it still possible for a migration to fall back on using a provider's authentication or is it 100% only possible for a conversion host's authentication to be used? I'm curious if users can run into these edge cases if they manually configure a conversion host rather than through the UI.

Comment 5 Fabien Dupont 2019-10-01 10:17:56 UTC
The API currently doesn't prevent someone from creating a conversion host without authentication details. I've created a BZ to implement additional checks: https://bugzilla.redhat.com/show_bug.cgi?id=1757352.
We don't want to fall back to provider's authentication, so it should using conversion authentication all the time.

Comment 6 Mike Turley 2019-10-01 14:49:09 UTC
Ok, perfect. In that case I will remove all UI logic checking for valid RSA keys in these views. Thanks Fabien

Comment 7 Mike Turley 2019-10-01 20:09:00 UTC
PR to fix this: https://github.com/ManageIQ/manageiq-v2v/pull/1041

Comment 8 Mike Turley 2019-10-02 18:29:08 UTC
The fix is now merged to master.


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