This bug has been migrated to another issue tracking site. It has been closed here and may no longer be being monitored.

If you would like to get updates for this issue, or to participate in it, you may do so at Red Hat Issue Tracker .
Bug 2057459 - [RHV][Warm] Migration fails during precopy/cutover while a snapshot operation is executed on the source VM
Summary: [RHV][Warm] Migration fails during precopy/cutover while a snapshot operation...
Keywords:
Status: CLOSED MIGRATED
Alias: None
Product: Migration Toolkit for Virtualization
Classification: Red Hat
Component: General
Version: 2.3.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: Future
Assignee: Arik
QA Contact: Maayan Hadasi
Richard Hoch
URL:
Whiteboard:
Depends On:
Blocks: 2062575
TreeView+ depends on / blocked
 
Reported: 2022-02-23 12:47 UTC by Maayan Hadasi
Modified: 2023-01-02 17:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2062575 (view as bug list)
Environment:
Last Closed: 2023-01-02 17:37:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
plan.yaml (6.29 KB, text/plain)
2022-02-23 12:47 UTC, Maayan Hadasi
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker   MTV-456 0 None None None 2023-01-02 17:37:52 UTC

Description Maayan Hadasi 2022-02-23 12:47:03 UTC
Created attachment 1862946 [details]
plan.yaml

Description of problem:
Warm migration fails on the following error in the case that another snapshot operation (create/delete) is executed on the RHV source VM:

Fault reason is "Operation Failed". Fault detail is "[Cannot create Snapshot. The VM is performing an operation on a Snapshot. Please wait for the operation to finish, and try again.]". HTTP response code is "409". HTTP response message is "409 Conflict".


Version-Release number of selected component (if applicable):
MTV 2.3.0-32 / iib:178080
CNV 4.10.0-686 / iib:178572


How reproducible:
100%


Steps to Reproduce:
1. Start a warm migration plan using RHV VM
2. Create a snapshot on the source VM near the next precopy or the cutover time


Actual results:
Migration fails


Expected results:
MTV should wait for the snapshot operation to finish in order to run the next precopy/cutover


Attachments:
plan.yaml

Comment 2 Arik 2023-01-02 17:37:35 UTC
This specific case, in which there is another create-snapshot operation going on, is not that likely/interesting but the migration really shouldn't fail when create-snapshot cannot be triggered (it can also happen, e.g., when the vm is migrated, possibly automatically by RHV)


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