Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2016931

Summary: Migration plan with hooks for RHV provider causes web console errors
Product: Migration Toolkit for Virtualization Reporter: kpunwatk
Component: ControllerAssignee: Jeff Ortel <jortel>
Status: CLOSED ERRATA QA Contact: kpunwatk
Severity: high Docs Contact: Avital Pinnick <apinnick>
Priority: high    
Version: 2.2.0CC: apinnick, fdupont, ibragins, istein
Target Milestone: ---Keywords: Regression
Target Release: 2.2.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-12-09 19:20:59 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:
Attachments:
Description Flags
Screenshot of UI Error
none
Screenshot of forklift-controller none

Description kpunwatk 2021-10-25 08:03:23 UTC
Created attachment 1836610 [details]
Screenshot of UI Error

Description of problem:

Migration plan for "Hooks(pre/post) with RHV source provider. 
While the Plan is in "Running" state the MTV UI becomes Non-functional. UI displays "500: Internal Server Error".(Screenshot is attached)
Also, Forklift-controller shows status "CrashLoopBackOff"

Version-Release number of selected component (if applicable):
MTV-2.2.0-61 
CNV-4.9.0-249

How reproducible:


Steps to Reproduce:
1.Create a migration plan using RHV with hooks pre/post 
2. Start the Plan
3.

Additional info:
Ansible Playbook: http://pastebin.test.redhat.com/1003460
Virtual Machine: http://pastebin.test.redhat.com/1003465
Main Controller-log: http://pastebin.test.redhat.com/1003473
Plan: http://pastebin.test.redhat.com/1003469

Comment 1 kpunwatk 2021-10-25 08:05:39 UTC
Created attachment 1836611 [details]
Screenshot of forklift-controller

Comment 2 Fabien Dupont 2021-11-04 10:27:31 UTC
Please verify with mtv-operator-bundle-container-2.2.0-72 / iib:131251, or later.

Comment 3 kpunwatk 2021-11-10 01:38:02 UTC
Tested with MTV-2.2.0-80 / iib: 132252, CNV-4.9.1-11. Tried to Migrate VMs from RHV with Hooks.
We still observer controller is in crash loop "CrashLoopBackOff" and "500: Internal Server Error" in UI .

Comment 4 Ilanit Stein 2021-11-14 16:12:36 UTC
Moving bug back to ON_QA since it failed as described in comment #3 due to Bug 2021622 - "Migrate a VM from RHV cause the controller to be in a crash loop".
Once bug 2021622 will be fixed, verification will be possible.

Comment 5 kpunwatk 2021-11-16 12:03:19 UTC
Verified on MTV-2.2.0-87 / iib:134964, CNV-4.9.1-23. Migrated successfully VMs from RHV Source provider with Hooks.

Comment 8 errata-xmlrpc 2021-12-09 19:20:59 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 (MTV 2.2.0 Images), 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:5066