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 677220 - Live migration with non-shared storage for kvm
Summary: Live migration with non-shared storage for kvm
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: libvirt
Version: 6.0
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: rc
: ---
Assignee: Jiri Denemark
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks: 693512 739071
TreeView+ depends on / blocked
 
Reported: 2011-02-14 05:34 UTC by Mark Wu
Modified: 2018-11-14 14:49 UTC (History)
15 users (show)

Fixed In Version: libvirt-0.9.4-14.el6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 739071 (view as bug list)
Environment:
Last Closed: 2011-12-06 10:54:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:1513 0 normal SHIPPED_LIVE libvirt bug fix and enhancement update 2011-12-06 01:23:30 UTC

Description Mark Wu 2011-02-14 05:34:25 UTC
RFE:
   1. Customer Name: Pages Jaunes
   2. What is the nature and description of the request?:
- Live migration with non-shared storage for kvm
- or To get support for non-incremental live migration
- or To include the option "--copy-storage-all" with virsh command.

   3. Why does the customer need this? (List the business requirements here): Customer wants to migration Virtual machines from one host to other without the use of a shared storage.

   4. How would the customer like to achieve this? : avail the option "--copy-storage-all" with "virsh migrate"

   5. For each functional requirement listed in question 4, specify how Red Hat and the customer can test to confirm the requirement is successfully implemented.: Migrate VM from one kvm to other kvm host without using shared storage.

   6. Is there already an existing RFE upstream or in Red Hat bugzilla? seems its there in upstream. http://libvirt.org/git/?p=libvirt.git;a=commitdiff_plain;h=b0a3f8b6c546aa710f45900797b38cc5fa0f49d9

   7. How quickly does this need resolved? RHEL 6 minor version
   8. Does this request meet the RHEL Inclusion criteria: yes
   9. List the affected packages: libvirtd
  10. Would the customer be able to assist in testing this functionality if implemented? yes

Comment 2 Suzanne Logcher 2011-03-28 20:30:05 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains 
unresolved, it has been rejected as it is not proposed as an 
exception or blocker.  It has been moved to RHEL 6.2 since 
it is a FutureFeature request.

Comment 3 Tim Jackson 2011-04-14 13:11:36 UTC
I haven't tested it yet, but according to http://libvirt.org/news.html , support for "qemu: live migration with non-shared storage for kvm" was added in libvirt 0.8.2, and it appears that the RHEL6.1 beta includes libvirt 0.8.7.

Comment 4 Bhavna Sarathy 2011-05-25 20:53:08 UTC
Can the customer test RHEL6.1 and report if this feature is available in current release?

Comment 13 Jiri Denemark 2011-09-26 13:12:56 UTC
Documentation patch sent upstream for review: https://www.redhat.com/archives/libvir-list/2011-September/msg00986.html

Comment 14 Jiri Denemark 2011-09-28 08:43:34 UTC
The documentation fix is now upstream as

commit 2c1a3dd878f915318e8fd7c152d899c525f2f916
Author: Jiri Denemark <jdenemar>
Date:   Mon Sep 26 15:09:08 2011 +0200

    virsh: Better document --copy-storage migrate options
    
    Both --copy-storage-{all,inc} options require disk images to be present
    on destination host.

and sent for internal review:
http://post-office.corp.redhat.com/archives/rhvirt-patches/2011-September/msg00897.html

Comment 17 weizhang 2011-09-29 08:58:44 UTC
Verify pass on
kernel-2.6.32-202.el6.x86_64
libvirt-0.9.4-14.el6.x86_64
qemu-kvm-0.12.1.2-2.192.el6.x86_64

check the man virsh, we can see
...
 In both cases the disk images have to exist on destination host, the --copy-storage-...options only tell libvirt to transfer data from the images on source host to the images found at the same place on the destination host.
...

Steps:
1. do #iptables -F  on both hosts
2. start a guest on source host with no shared image
# virsh start guest
3. create a empty image on target host with the same size, directory and name as in source host
# qemu-img create /IMAGE_DIR/guest.img IMAGE_SIZE
4. do migration on source host 
# virsh migrate --live rhel6-1 qemu+ssh://10.66.85.202/system --copy-storage-all
5. after migration, the domain is running on target host.

Comment 18 errata-xmlrpc 2011-12-06 10:54:08 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.

http://rhn.redhat.com/errata/RHBA-2011-1513.html


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