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:
libvirt should forbid doing tunnelled migration with migrateuri using migrateToURI2 api. The virsh cmd has done this.
Version-Release number of selected component (if applicable):
libvirt-0.10.2-29.el6_5.5.x86_64
libvirt-python-0.10.2-29.el6_5.5.x86_64
How reproducible:
100%
Steps to Reproduce:
On source host
[root@intel-5130-16-1 libvirt-test-API]# virsh list --all
Id Name State
----------------------------------------------------
12 rhel6u2 running
[root@intel-5130-16-1 libvirt-test-API]# virsh migrate --live --p2p rhel6u2 qemu+tcp://10.66.106.34/system tcp://10.66.106.34:9001
error: migrate: Unexpected migrateuri for peer2peer/direct migration
[root@intel-5130-16-1 libvirt-test-API]# virsh migrate --live --p2p --tunnelled rhel6u2 qemu+tcp://10.66.106.34/system tcp://10.66.106.34:9001
error: migrate: Unexpected migrateuri for peer2peer/direct migration
[root@intel-5130-16-1 libvirt-test-API]# python
Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48)
[GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import libvirt
>>> con = libvirt.open('')
>>> dom = con.lookupByName('rhel6u2')
>>> dom.migrateToURI2( 'qemu+tcp://10.66.106.34/system', 'tcp://10.66.106.34:9001', None, 7, None, 0) <====Use live|p2p|tunnelled , successfully migrate
0
[root@intel-5130-16-1 libvirt-test-API]# virsh list --all
Id Name State
----------------------------------------------------
- rhel6u2 shut off
Check the domain on destination host
[root@ibm-x3850x5-08 0.10.2-29.el6_5.5]# virsh list --all
Id Name State
----------------------------------------------------
4 rhel6u2 running
Actual results:
It can successfully do tunnelled migration with migrateuri using migrateToURI2 api.
Expected results:
libvirt should forbid doing tunnelled migration with migrateuri using migrateToURI2 api
Additional info:
Comment 3RHEL Program Management
2014-04-04 21:26:29 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.
Description of problem: libvirt should forbid doing tunnelled migration with migrateuri using migrateToURI2 api. The virsh cmd has done this. Version-Release number of selected component (if applicable): libvirt-0.10.2-29.el6_5.5.x86_64 libvirt-python-0.10.2-29.el6_5.5.x86_64 How reproducible: 100% Steps to Reproduce: On source host [root@intel-5130-16-1 libvirt-test-API]# virsh list --all Id Name State ---------------------------------------------------- 12 rhel6u2 running [root@intel-5130-16-1 libvirt-test-API]# virsh migrate --live --p2p rhel6u2 qemu+tcp://10.66.106.34/system tcp://10.66.106.34:9001 error: migrate: Unexpected migrateuri for peer2peer/direct migration [root@intel-5130-16-1 libvirt-test-API]# virsh migrate --live --p2p --tunnelled rhel6u2 qemu+tcp://10.66.106.34/system tcp://10.66.106.34:9001 error: migrate: Unexpected migrateuri for peer2peer/direct migration [root@intel-5130-16-1 libvirt-test-API]# python Python 2.6.6 (r266:84292, Oct 12 2012, 14:23:48) [GCC 4.4.6 20120305 (Red Hat 4.4.6-4)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import libvirt >>> con = libvirt.open('') >>> dom = con.lookupByName('rhel6u2') >>> dom.migrateToURI2( 'qemu+tcp://10.66.106.34/system', 'tcp://10.66.106.34:9001', None, 7, None, 0) <====Use live|p2p|tunnelled , successfully migrate 0 [root@intel-5130-16-1 libvirt-test-API]# virsh list --all Id Name State ---------------------------------------------------- - rhel6u2 shut off Check the domain on destination host [root@ibm-x3850x5-08 0.10.2-29.el6_5.5]# virsh list --all Id Name State ---------------------------------------------------- 4 rhel6u2 running Actual results: It can successfully do tunnelled migration with migrateuri using migrateToURI2 api. Expected results: libvirt should forbid doing tunnelled migration with migrateuri using migrateToURI2 api Additional info: