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.
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.