RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1392030 - virsh save doesn't work after postcopy migration
Summary: virsh save doesn't work after postcopy migration
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.3
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On: 1374718
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-11-04 15:40 UTC by Marcel Kolaja
Modified: 2016-12-06 17:11 UTC (History)
13 users (show)

Fixed In Version: libvirt-2.0.0-10.el7_3.1
Doc Type: Bug Fix
Doc Text:
Previously, the libvirt library did not disable post-copy on the destination when a migration completed. As a consequence, it was not possible to save such a domain on a disk. With this update, libvirt properly disables post-copy after the migration finishes. As a result, subsequent migration does not use post-copy unless it is requested, and saving the domain to a disk succeeds.
Clone Of: 1374718
Environment:
Last Closed: 2016-12-06 17:11:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2016:2885 0 normal SHIPPED_LIVE libvirt bug fix update 2016-12-06 22:01:23 UTC

Description Marcel Kolaja 2016-11-04 15:40:57 UTC
This bug has been copied from bug #1374718 and has been proposed
to be backported to 7.3 z-stream (EUS).

Comment 6 zhe peng 2016-11-09 06:59:12 UTC
can reproduce this issue.
build :
libvirt-2.0.0-9.el7.x86_64
qemu-kvm-rhev-2.6.0-26.el7.x86_64

verify with build:
libvirt-2.0.0-10.el7_3.1.x86_64
qemu-img-rhev-2.6.0-27.el7.x86_64

step:
A:
1 start a guest on source 
2 on source host do
# virsh migrate rhel7 qemu+ssh://$target/system --postcopy --live --verbose
Migration: [100 %]
3 on target host
# virsh save rhel7 /tmp/rhel7

Domain rhel7 saved to /tmp/rhel7

B:
1.on source host do
 #virsh migrate rhel7 qemu+ssh://$target/system --postcopy --postcopy-after-precopy --live --verbose
Migration: [100 %]
2 on target host
# virsh save rhel7 /tmp/rhel7

Domain rhel7 saved to /tmp/rhel7

# virsh restore /tmp/rhel7
Domain restored from /tmp/rhel7
# virsh list --all
 Id    Name                           State
----------------------------------------------------
 3     rhel7                          running
C:
1. on source host do 
# virsh migrate rhel7 qemu+ssh://$target/system --postcopy --live --verbose
open another console, run
# virsh migrate-postcopy rhel7
2. on target host
# virsh save rhel7 /tmp/rhel7

Domain rhel7 saved to /tmp/rhel7

move to verified.

Comment 8 errata-xmlrpc 2016-12-06 17:11:29 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, 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://rhn.redhat.com/errata/RHBA-2016-2885.html


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