← Back to team overview

openstack team mailing list archive

Re: error when running live-migration in essex

 

>     pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
apt-get install kvm-pxe
It is not critical to solve your problem, though.

Kei

(2012/04/19 14:21), livemoon wrote:
sorry, the error info at first is:

2012-04-19 13:20:40 DEBUG nova.rpc.amqp
[req-6a57cafa-9c6c-4ba7-a832-d0d75928be93
4c96668ef8a646f58ce9585d7b465165 548b905bae5548a9b8daf6f7a7948f1d]
Making asynchronous call on compute.openstack ... from (pid=2785)
multicall /opt/stack/nova/nova/rpc/amqp.py:318
2012-04-19 13:20:40 DEBUG nova.rpc.amqp
[req-6a57cafa-9c6c-4ba7-a832-d0d75928be93
4c96668ef8a646f58ce9585d7b465165 548b905bae5548a9b8daf6f7a7948f1d]
MSG_ID is 91ed93d0348747349dc883c40e91413f from (pid=2785) multicall
/opt/stack/nova/nova/rpc/amqp.py:321
libvir: QEMU error : operation failed: failed to retrieve chardev info
in qemu with 'info chardev'
2012-04-19 13:20:44 DEBUG nova.rpc.amqp [-] Making asynchronous call on
network ... from (pid=2785) multicall /opt/stack/nova/nova/rpc/amqp.py:318
2012-04-19 13:20:44 DEBUG nova.rpc.amqp [-] MSG_ID is
80842854d4f34d31b3a23e8bde874b0f from (pid=2785) multicall
/opt/stack/nova/nova/rpc/amqp.py:321
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line 97,
in wait
readers.get(fileno, noop).cb(fileno)
File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py", line
192, in main
result = function(*args, **kwargs)
File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 2201, in
_live_migration
recover_method(ctxt, instance_ref, dest, block_migration)
File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
self.gen.next()
File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 2197, in
_live_migration
FLAGS.live_migration_bandwidth)
File "/usr/lib/python2.7/dist-packages/libvirt.py", line 689, in
migrateToURI
if ret == -1: raise libvirtError ('virDomainMigrateToURI() failed',
dom=self)
libvirtError: operation failed: failed to retrieve chardev info in qemu
with 'info chardev'
Removing descriptor: 10


2012/4/19 livemoon <mwjpiero@xxxxxxxxx <mailto:mwjpiero@xxxxxxxxx>>

    First I test live-migration in 12.04 with essex package. I use "nova
    --debug live-migration cf62b772-2184-4262-a8dd-716a699cf86d node-1",
    nova-client returns ok. But in nova-compute log, it is only show
    info of "NETWORK and IPTABLES", no more info about "libvirt". I have
    set flags in three libvirt files. and I use nfs too.

    Then I install two nodes in my virtualbox, and use the same nfs.
    This time I use 11.10 and devstack installation. After I running
    "nova --debug live-migration cf62b772-2184-4262-a8dd-716a699cf86d
    node-1",
    nova-compute show error about "libvirt", I think it is better than
    the first case since of there is info about "libvirt", but I don't
    know how to reslove it.

    Can anyone help me?

    error info:
    2012-04-19 11:35:40 DEBUG nova.utils
    [req-3c6527ec-6957-4948-847b-1e3996a1f628
    4c96668ef8a646f58ce9585d7b465165 548b905bae5548a9b8daf6f7a7948f1d]
    Attempting to grab semaphore "get_dhcp" for method "_get_dhcp_ip"...
    from (pid=1525) inner /opt/stack/nova/nova/utils.py:929
    2012-04-19 11:35:40 DEBUG nova.utils
    [req-3c6527ec-6957-4948-847b-1e3996a1f628
    4c96668ef8a646f58ce9585d7b465165 548b905bae5548a9b8daf6f7a7948f1d]
    Got semaphore "get_dhcp" for method "_get_dhcp_ip"... from
    (pid=1525) inner /opt/stack/nova/nova/utils.py:933
    2012-04-19 11:35:40 DEBUG nova.utils
    [req-3c6527ec-6957-4948-847b-1e3996a1f628
    4c96668ef8a646f58ce9585d7b465165 548b905bae5548a9b8daf6f7a7948f1d]
    Attempting to grab semaphore "get_dhcp" for method "_get_dhcp_ip"...
    from (pid=1525) inner /opt/stack/nova/nova/utils.py:929
    2012-04-19 11:35:40 DEBUG nova.utils
    [req-3c6527ec-6957-4948-847b-1e3996a1f628
    4c96668ef8a646f58ce9585d7b465165 548b905bae5548a9b8daf6f7a7948f1d]
    Got semaphore "get_dhcp" for method "_get_dhcp_ip"... from
    (pid=1525) inner /opt/stack/nova/nova/utils.py:933
    libvir: QEMU error : internal error Process exited while reading
    console log output: char device redirected to /dev/pts/2
    qemu-system-x86_64: -device
    rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:66:f6:93,bus=pci.0,addr=0x3:
    pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
    inet_listen_opts: bind(ipv4,172.16.0.156,5900): Cannot assign
    requested address
    inet_listen_opts: FAILED
    2012-04-19 11:35:42 DEBUG nova.rpc.amqp [-] Making asynchronous call
    on network ... from (pid=1527) multicall
    /opt/stack/nova/nova/rpc/amqp.py:318
    2012-04-19 11:35:42 DEBUG nova.rpc.amqp [-] MSG_ID is
    f6c74917235f433ca65272cc72f52172 from (pid=1527) multicall
    /opt/stack/nova/nova/rpc/amqp.py:321
    Traceback (most recent call last):
    File "/usr/lib/python2.7/dist-packages/eventlet/hubs/poll.py", line
    97, in wait
    readers.get(fileno, noop).cb(fileno)
    File "/usr/lib/python2.7/dist-packages/eventlet/greenthread.py",
    line 192, in main
    result = function(*args, **kwargs)
    File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 2201,
    in _live_migration
    recover_method(ctxt, instance_ref, dest, block_migration)
    File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
    File "/opt/stack/nova/nova/virt/libvirt/connection.py", line 2197,
    in _live_migration
    FLAGS.live_migration_bandwidth)
    File "/usr/lib/python2.7/dist-packages/libvirt.py", line 689, in
    migrateToURI
    if ret == -1: raise libvirtError ('virDomainMigrateToURI() failed',
    dom=self)
    libvirtError: internal error Process exited while reading console
    log output: char device redirected to /dev/pts/2
    qemu-system-x86_64: -device
    rtl8139,netdev=hostnet0,id=net0,mac=fa:16:3e:66:f6:93,bus=pci.0,addr=0x3:
    pci_add_option_rom: failed to find romfile "pxe-rtl8139.bin"
    inet_listen_opts: bind(ipv4,172.16.0.156,5900): Cannot assign
    requested address
    inet_listen_opts: FAILED

    Removing descriptor: 11


    --
    非淡薄无以明志,非宁静无以致远




--
非淡薄无以明志,非宁静无以致远


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp



Follow ups

References