Can't do live-migration on x86 rhel6.3 because the error "libvirtError: internal error unable to send file handle 'migrate': No file descriptor supplied via SCM_RIGHTS"

asked 2012-11-26 03:43:24 -0600

zhhuabj gravatar image

hi all,

    I encontered a problem when I do live-migration on x86 rhel6.3 because the error "libvirtError: internal error unable to send file handle 'migrate': No file descriptor supplied via SCM_RIGHTS", any input will be highly appreciated.

    I have two nodes,  one is node1, one is node2.

[olympics@node1 ~]$ nova-manage service list Binary Host Zone Status State Updated_At nova-compute node1 nova enabled :-) 2012-11-26 11:22:59 nova-scheduler node1 nova enabled :-) 2012-11-26 11:19:02 nova-network node1 nova enabled :-) 2012-11-26 11:19:04 nova-compute node2 nova enabled :-) 2012-11-26 11:18:58

    I can deploy VM on any one of above host,  I have deployed a VM on node2,

[olympics@node1 ~]$ nova show a1085ace-6ed4-40d7-87d1-8b9728468369 +-------------------------------------+----------------------------------------------------------------+ | Property | Value | +-------------------------------------+----------------------------------------------------------------+ | OS-DCF:diskConfig | MANUAL | | OS-EXT-SRV-ATTR:host | node2 | | OS-EXT-SRV-ATTR:hypervisor_hostname | node2 | | OS-EXT-SRV-ATTR:instance_name | instance-00000014 | | OS-EXT-STS:power_state | 1 | | OS-EXT-STS:task_state | None | | OS-EXT-STS:vm_state | active | | accessIPv4 | | | accessIPv6 | | | config_drive | | | created | 2012-11-26T10:53:58Z | | flavor | m1.tiny (1) | | hostId | 11ffcc6fd02287054ac39ace83987636d53d6ace8d11f593cd4a6a1c | | id | a1085ace-6ed4-40d7-87d1-8b9728468369 | | image | cirros-0.3.0-x86_64-uec (fe480628-d78e-4145-9347-a80036040cd7) | | key_name | None | | metadata | {} | | name | i1 | | private network | 10.0.1.5 | | progress | 0 | | security_groups | [{u'name': u'default'}] | | status | ACTIVE | | tenant_id | fb7f0b7b239c4df99bafea46f2d972f4 | | updated | 2012-11-26T10:55:49Z | | user_id | 75e7e5e64fd24d4aa06308f3ef2539f3 | +-------------------------------------+----------------------------------------------------------------+

now I want to live migration the VM from the host node2 to the host node1

[olympics@node1 ~]$ nova live-migration a1085ace-6ed4-40d7-87d1-8b9728468369 node1

[olympics@node1 ~]$ nova list +--------------------------------------+------+-----------+------------------+ | ID | Name | Status | Networks | +--------------------------------------+------+-----------+------------------+ | a1085ace-6ed4-40d7-87d1-8b9728468369 | i1 | MIGRATING | private=10.0.1.5 | +--------------------------------------+------+-----------+------------------+

but I found the VM can't be migrated to the host node1, and from the nova-compute process of the host node2 I get the following errors:

2012-11-23 23:14:56 DEBUG nova.openstack.common.rpc.amqp [-] Making asynchronous call on compute.node1 ... from (pid=28587) multicall /home/olympics/source/nova/nova/openstack/common/rpc/amqp.py:351 2012-11-23 23:14:56 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 5a09f9c62ddb40bb845d04712d0e523c from (pid=28587) multicall /home/olympics/source/nova/nova/openstack/common/rpc/amqp.py:354 libvir: QEMU error : internal error unable to send file handle 'migrate': No file descriptor supplied via SCM_RIGHTS 2012-11-23 23:15:39 ERROR nova.virt.libvirt.driver [-] [instance: 25fc1b2e-fb86-4ca7-8cb7-773e316c502a] Live Migration failure: internal error unable to send file handle 'migrate': No file descriptor supplied via SCM_RIGHTS

2012-11-23 23:15:39 DEBUG nova.utils [-] Got semaphore "compute_resources" for method "update_usage"... from (pid=28587) inner /home/olympics/source/nova/nova/utils.py:713 2012-11-23 23:15:39 DEBUG nova.openstack.common.rpc.amqp [-] Making asynchronous call on network ... from (pid=28587) multicall /home/olympics/source/nova/nova/openstack/common/rpc/amqp.py:351 2012-11-23 23:15:39 DEBUG nova.openstack.common.rpc.amqp [-] MSG_ID is 2430d93d708743cfa710283c0cb3c017 from (pid=28587) multicall /home/olympics/source/nova/nova/openstack/common/rpc/amqp.py:354 Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/eventlet/hubs/poll.py", line 97, in wait readers.get(fileno, noop).cb(fileno) File "/usr/lib/python2.6/site-packages/eventlet/greenthread.py", line 192, in main result = function(args, kwargs) File "/home/olympics/source/nova/nova/virt/libvirt/driver.py", line 2493, in _live_migration recover_method(ctxt, instance_ref, dest, block_migration) File "/usr/lib64 ... (more)

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2012-11-26 04:06:33 -0600

dims-v gravatar image

Bug #1005557 was closed as invalid fyi

edit flag offensive delete link more
0

answered 2012-11-26 08:02:29 -0600

zhhuabj gravatar image

I have fixed this issue by upgrading version of qemu to 0.15. It is a flaw in QEMU fixed upstream as this page referred, http://www.redhat.com/archives/libvirt-users/2010-June/msg00053.html (http://www.redhat.com/archives/libvir...)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-11-26 03:43:24 -0600

Seen: 80 times

Last updated: Nov 26 '12