Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
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.
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
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.
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.
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
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.
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