Bug 1818028

Summary: Log line wrapping makes virt-v2v-wrapper fail during 2-phase migration
Product: Red Hat CloudForms Management Engine Reporter: Fabien Dupont <fdupont>
Component: V2VAssignee: Martin Kletzander <mkletzan>
Status: CLOSED WONTFIX QA Contact: Nandini Chandra <nachandr>
Severity: urgent Docs Contact: Red Hat CloudForms Documentation <cloudforms-docs>
Priority: urgent    
Version: 5.11.4CC: bthurber, mnadeem, simaishi
Target Milestone: GA   
Target Release: 5.11.7   
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: 2020-05-13 16:44:51 UTC Type: Bug
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:    
Bug Blocks: 1822318    

Description Fabien Dupont 2020-03-27 13:35:37 UTC
Description of problem:

Currently, when we use two-phase migration, virt-v2v-wrapper transfers the disks data and then calls virt-v2v to actually convert the machine to KVM. During this conversion phase, an overlay is created to protect the virtual machine and virt-v2v-wrapper then commits this overlay.

To know the overlay file name, virt-v2v-wrapper watches virt-v2v log file. Unfortunately, the logging system wraps long lines and the file name may be on the line after the one that matches the regular expression. In this case, virt-v2v-wrapper fails because it cannot know the file name and finalize the migration.

Comment 2 Martin Kletzander 2020-04-01 13:10:45 UTC
Preliminary fix here: https://github.com/ManageIQ/manageiq-v2v-conversion_host/pull/41 but still needs testing before the PR can be merged.

Comment 3 Fabien Dupont 2020-05-13 16:44:51 UTC
Warm migration and UCI will finally not be implemented in CloudForms.
Closing as WONTFIX.