Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[V2V] Use two-phase migration only for warm migration #19880

Merged
merged 1 commit into from
Feb 27, 2020

Conversation

ghost
Copy link

@ghost ghost commented Feb 27, 2020

Two-phase migration changes the migration flow in virt-v2v-wrapper: the disks are created by virt-v2v-wrapper and attached to the conversion host. Then, the conversion phase writes to local disks instead of using RHV upload API. This converges the processes for RHV and OpenStack, and can involve performance increase.

However, currently virt-v2v-wrapper only allows two-phase for warm migration, so we need to limit it. In a previous PR, we anticipated too much to availability for cold migration, so we introduced a regression with current version of virt-v2v-wrapper (2.0.x). This PR ties two-phase and warm migration.

RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=1807770

@ghost
Copy link
Author

ghost commented Feb 27, 2020

@miq-bot add-label v2v, bug, ivanchuk/yes
@miq-bot add-reviewer @agrare
@miq-bot add-reviewer @djberg96

@miq-bot
Copy link
Member

miq-bot commented Feb 27, 2020

Checked commit fabiendupont@62ee3db with ruby 2.5.7, rubocop 0.69.0, haml-lint 0.20.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@agrare agrare self-assigned this Feb 27, 2020
@agrare agrare added this to the Sprint 131 Ending Mar 2, 2020 milestone Feb 27, 2020
@chessbyte chessbyte merged commit 91176bd into ManageIQ:master Feb 27, 2020
@ghost ghost deleted the v2v_fix_bz_1807770 branch February 27, 2020 14:26
simaishi pushed a commit that referenced this pull request Feb 27, 2020
[V2V] Use two-phase migration only for warm migration

(cherry picked from commit 91176bd)

Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1808069
@simaishi
Copy link
Contributor

Ivanchuk backport details:

$ git log -1
commit e50bc89dde3ee728145ceae68e4960aadff0132d
Author: Adam Grare <[email protected]>
Date:   Thu Feb 27 09:19:26 2020 -0500

    Merge pull request #19880 from fdupont-redhat/v2v_fix_bz_1807770

    [V2V] Use two-phase migration only for warm migration

    (cherry picked from commit 91176bd5b5646bc043bc078bf1eff0214abaf2a2)

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

@simaishi
Copy link
Contributor

simaishi commented Mar 9, 2020

Reverted

commit 234f811a2fd71329fa1196e35ce16dd01465bff3
Author: Satoe Imaishi <[email protected]>
Date:   Mon Mar 9 13:56:24 2020 -0400

    Revert "Merge pull request #19880 from fdupont-redhat/v2v_fix_bz_1807770"

    This reverts commit e50bc89dde3ee728145ceae68e4960aadff0132d.

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

simaishi added a commit to simaishi/manageiq that referenced this pull request May 13, 2020
…_bz_1807770"

This reverts commit 91176bd, reversing
changes made to 3e6842b.
simaishi added a commit to simaishi/manageiq that referenced this pull request May 26, 2020
…_bz_1807770"

This reverts commit 91176bd, reversing
changes made to 3e6842b.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants