Bug 1696421 - [v2v] : Migration shows blank page if provider is removed from CFME
Summary: [v2v] : Migration shows blank page if provider is removed from CFME
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: V2V
Version: 5.10.2
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: GA
: 5.10.3
Assignee: Fabien Dupont
QA Contact: Shveta
Red Hat CloudForms Documentation
URL:
Whiteboard: V2V
Depends On: 1691992
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-04-04 19:57 UTC by Satoe Imaishi
Modified: 2022-07-09 10:29 UTC (History)
8 users (show)

Fixed In Version: 5.10.3.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1691992
Environment:
Last Closed: 2019-04-23 07:46:32 UTC
Category: ---
Cloudforms Team: V2V
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
error (189.19 KB, image/png)
2019-04-05 19:22 UTC, Shveta
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2019:0796 0 None None None 2019-04-23 07:46:42 UTC

Comment 3 CFME Bot 2019-04-05 17:36:19 UTC
New commits detected on ManageIQ/manageiq-v2v/hammer:

https://github.com/ManageIQ/manageiq-v2v/commit/1592bbac430fa8c9d2689ae7a7e0c702ac93b18a
commit 1592bbac430fa8c9d2689ae7a7e0c702ac93b18a
Author:     Mike Turley <mike.turley.umass.edu>
AuthorDate: Wed Apr  3 10:50:03 2019 -0400
Commit:     Mike Turley <mike.turley.umass.edu>
CommitDate: Wed Apr  3 10:50:03 2019 -0400

    Merge pull request #923 from mzazrivec/fix_error_on_in_progress_plans_with_deleted_target_provider

    Migration Plans in Progress page: fix error with deleted target provider

    (cherry picked from commit 8ce214d251b8cb5070b85b85bf6d203cad23ea16)

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

 app/javascript/react/screens/App/Overview/components/Migrations/MigrationsInProgressCard.js | 3 +-
 app/javascript/react/screens/App/Overview/helpers.js | 3 +
 2 files changed, 5 insertions(+), 1 deletion(-)

Comment 4 Shveta 2019-04-05 17:58:25 UTC
Just FYI , Seeing this issue on 5.10.3 without removing provider .
I hope the PR includes fix for that too .
Not sure what the exact steps are , just created one migration plan which failed .
and navigated to Migration plan page again and it started showing blank.
Can be seen at https://10.16.5.85 .

If you can point me to where exactly can I find the logs for such failure . I will download it and attach.

Comment 5 Fabien Dupont 2019-04-05 18:37:51 UTC
If the steps are not the same, I'm not sure it's the same bug... To be confirmed.
Mike can you take a look at the appliance, please ?

Comment 6 Shveta 2019-04-05 19:01:57 UTC
I rebooted that appliance and the blank page was gone.
New appliance : https://10.8.198.51

Comment 7 Mike Turley 2019-04-05 19:17:21 UTC
Shveta, I'm not able to reproduce the problem on either one of those appliances. Can we get an appliance into the state where the problem is presenting, and then leave it there? I'd like to capture a copy of the manageiq database while it's in that state.

It would also be helpful if you could capture any error messages that appear in the browser's JavaScript console when the page goes blank. (https://webmasters.stackexchange.com/a/77337)

Comment 8 Shveta 2019-04-05 19:22:22 UTC
Can you try one more time on 
https://10.8.198.51.

Attaching console error screenshot .
Error is same

Comment 9 Shveta 2019-04-05 19:22:56 UTC
Created attachment 1552683 [details]
error

Comment 10 Mike Turley 2019-04-05 20:43:47 UTC
Strangely, I can't reproduce it on that appliance now either, but yes, this is indeed the same error we are handling in the PR above, so it should no longer crash the UI.

I'm still not sure of the underlying problem which causes the target cluster not to be able to be found, especially if it's inconsistent/sporadic like this. My guess is that whatever caused that will also cause the migration to fail, and more details will be evident in the logs. The error is now handled gracefully by the UI, so we shouldn't get any more blank pages.

Comment 11 Shveta 2019-04-10 17:36:48 UTC
Fixed .
Verified in 5.10.3.1.20190408182335_d0fa1a0

Comment 13 errata-xmlrpc 2019-04-23 07:46:32 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-2019:0796


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