Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 1687735 - Dest vm doesn't start running in time when do postcopy migration from RHEL7.6 to RHEL8.0.0
Summary: Dest vm doesn't start running in time when do postcopy migration from RHEL7.6...
Keywords:
Status: ASSIGNED
Alias: None
Product: Red Hat Enterprise Linux Advanced Virtualization
Classification: Red Hat
Component: libvirt
Version: 8.0
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: rc
: 8.0
Assignee: Jiri Denemark
QA Contact: Fangge Jin
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-03-12 09:27 UTC by Fangge Jin
Modified: 2019-04-06 23:22 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)
libvirtd log (deleted)
2019-03-12 09:27 UTC, Fangge Jin
no flags Details

Description Fangge Jin 2019-03-12 09:27:09 UTC
Created attachment 1543125 [details]
libvirtd log

Description of problem:
When do postcopy migration from RHEL7.6 to RHEL8.0.0, dest guest doesn't start running until the end of migration.


Version-Release number of selected component (if applicable):
RHEL8.0.0:
libvirt-5.0.0-6.module+el8+2860+4e0fe96a.x86_64
qemu-kvm-3.1.0-18.module+el8+2834+fa8bb6e2.x86_64
kernel-4.18.0-74.el8.x86_64

RHEL7.6.z:
libvirt-4.5.0-10.virtcov.el7_6.6.x86_64
qemu-kvm-rhev-2.12.0-18.el7_6.3.x86_64
kernel-3.10.0-957.el7.x86_64


How reproducible:
100%

Steps to Reproduce:
1.Start a vm on RHEL7.6 host, migrate it to RHEL8.0.0 using postcopy:
1)T1# virsh migrate rhel7.6 qemu+ssh://10.66.4.114/system --live --verbose --p2p --undefinesource --persistent  --postcopy

2)T2# virsh migrate-postcopy rhel7.6


2. Monitor the events during migration:
Dest:
# virsh event --all --loop --timestamp
2019-03-12 09:15:16.559+0000: event 'agent-lifecycle' for domain rhel7.6: state: 'disconnected' reason: 'domain started'
2019-03-12 09:15:16.596+0000: event 'lifecycle' for domain rhel7.6: Started Migrated
2019-03-12 09:15:57.094+0000: event 'lifecycle' for domain rhel7.6: Suspended Post-copy
2019-03-12 09:16:50.563+0000: event 'agent-lifecycle' for domain rhel7.6: state: 'disconnected' reason: 'channel event'
2019-03-12 09:16:50.589+0000: event 'lifecycle' for domain rhel7.6: Defined Added
2019-03-12 09:16:50.603+0000: event 'lifecycle' for domain rhel7.6: Resumed Migrated
2019-03-12 09:16:50.755+0000: event 'agent-lifecycle' for domain rhel7.6: state: 'connected' reason: 'channel event'

Src:
# virsh event --all --loop --timestamp
2019-03-12 09:15:16.659+0000: event 'migration-iteration' for domain rhel7.6: iteration: '1'
2019-03-12 09:15:57.014+0000: event 'lifecycle' for domain rhel7.6: Suspended Migrated
2019-03-12 09:15:57.018+0000: event 'lifecycle' for domain rhel7.6: Suspended Post-copy
2019-03-12 09:15:57.044+0000: event 'migration-iteration' for domain rhel7.6: iteration: '2'
2019-03-12 09:16:51.229+0000: event 'lifecycle' for domain rhel7.6: Stopped Migrated
2019-03-12 09:16:51.229+0000: event 'job-completed' for domain rhel7.6:

Actual results:
Migration switches to postcopy at 09:15:57, dest vm start running at 09:16:50, migration finishes at 09:16:51

Expected results:
Dest vm can start running in time during postcopy migration

Additional info:
Can't reproduce when do postcopy migration from RHEL8.0.0 to RHEL8.0.0


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