Hide Forgot
Description of problem: A migration of the guest fails with an error message using dname parameter to change the name of the guest. Version-Release number of selected component (if applicable): upstream c753749c27fb48d481e64953d59668731e5e2dbd How reproducible: always Steps to Reproduce: 1. prepare any guest for migration 2. run the command 'virsh migrate --live --domain migr-test --desturi qemu+ssh://ip.address/system --dname migr-test2' Actual results: error: internal error: Incoming cookie data had unexpected name migr-test vs migr-test2 Expected results: The migration should finish successfully without an error.
This is now fixed upstream by v1.1.2-43-g8d67c55: commit 8d67c550e931f1dbc163e7e20784218edc1165df Author: Jiri Denemark <jdenemar> Date: Tue Sep 3 15:17:03 2013 +0200 qemu: Make domain renaming work during migration https://bugzilla.redhat.com/show_bug.cgi?id=999352 Since commit v1.0.5-56-g449e6b1 (Pull parsing of migration xml up into QEMU driver APIs) any attempt to rename a domain during migration fails with the following error message: internal error Incoming cookie data had unexpected name DOM vs DOM2 This is because migration cookies always use the original domain name and the mentioned commit failed to propagate the name back to qemuMigrationPrepareAny.
Can reproduct this with: libvirt-1.1.1-2.el7.x86_64 verify with build: libvirt-1.1.1-4.el7 step: 1:prepare migration env. 2:in source, start a guest #virsh list --all Id Name State ---------------------------------------------------- 3 rhel7 running 3: do migration # virsh migrate --live --domain rhel7 --desturi qemu+ssh://$DST_ip/system --dname rhel-mig 4: no error occured, check guest on DST # virsh list --all Id Name State ---------------------------------------------------- 2 rhel-mig running move to verified.
This request was resolved in Red Hat Enterprise Linux 7.0. Contact your manager or support representative in case you have further questions about the request.