Public bug reported:
Nova fails all live migrations on dedicated interface due to conversion
of string to unicode (in Python 2.7).
My environment:
* nova trunk, commit 40f9b0ad16d3a5fae184bbe6d4a49cf792967089
* QEMU 2.6
* Libvirt 1.3.4
1. Set live_migration_inbound_addr to IP address of existing interface
2. Make sure that live_migration_tunnelled is set to False
3. Restart nova-compute
4. Try to live migrate any instance
5. Outcome:
2016-11-02 12:26:04.272 DEBUG nova.virt.libvirt.driver
[req-f3cc94e2-4b45-4236-8d1b-888343ae6885 admin demo] [instance:
09b7c15c-7a5c-4e86-8c27-96d2edc5094c] Migration operation thread notification
from (pid=8533) thread_finished /opt/stack/nova/nova/virt/libvirt/driver.py:6325
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line 457,
in fire_timers
timer()
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line
58, in __call__
cb(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 168, in
_do_send
waiter.switch(result)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line
214, in main
result = function(*args, **kwargs)
File "/opt/stack/nova/nova/utils.py", line 1066, in context_wrapper
return func(*args, **kwargs)
File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5926, in
_live_migration_operation
instance=instance)
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line
220, in __exit__
self.force_reraise()
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line
196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5922, in
_live_migration_operation
bandwidth=CONF.libvirt.live_migration_bandwidth)
File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 571, in migrate
destination, params=params, flags=flags)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 186, in
doit
result = proxy_call(self._autowrap, f, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 144, in
proxy_call
rv = execute(f, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 125, in
execute
six.reraise(c, e, tb)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 83, in
tworker
rv = meth(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1915, in
migrateToURI3
ret = libvirtmod.virDomainMigrateToURI3(self._o, dconnuri, params, flags)
TypeError: Unknown type of "migrate_uri" field
This happens to me everytime when trying to live migrate any VM over
dedicated interface using nova trunk.
** Affects: nova
Importance: Undecided
Status: New
** Tags: live-migration
** Tags added: live-migration
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1638625
Title:
Nova fails live migrations on dedicated interface due to wrong type of
migrate_uri
Status in OpenStack Compute (nova):
New
Bug description:
Nova fails all live migrations on dedicated interface due to
conversion of string to unicode (in Python 2.7).
My environment:
* nova trunk, commit 40f9b0ad16d3a5fae184bbe6d4a49cf792967089
* QEMU 2.6
* Libvirt 1.3.4
1. Set live_migration_inbound_addr to IP address of existing interface
2. Make sure that live_migration_tunnelled is set to False
3. Restart nova-compute
4. Try to live migrate any instance
5. Outcome:
2016-11-02 12:26:04.272 DEBUG nova.virt.libvirt.driver
[req-f3cc94e2-4b45-4236-8d1b-888343ae6885 admin demo] [instance:
09b7c15c-7a5c-4e86-8c27-96d2edc5094c] Migration operation thread notification
from (pid=8533) thread_finished /opt/stack/nova/nova/virt/libvirt/driver.py:6325
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/hub.py", line
457, in fire_timers
timer()
File "/usr/local/lib/python2.7/dist-packages/eventlet/hubs/timer.py", line
58, in __call__
cb(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/eventlet/event.py", line 168,
in _do_send
waiter.switch(result)
File "/usr/local/lib/python2.7/dist-packages/eventlet/greenthread.py", line
214, in main
result = function(*args, **kwargs)
File "/opt/stack/nova/nova/utils.py", line 1066, in context_wrapper
return func(*args, **kwargs)
File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5926, in
_live_migration_operation
instance=instance)
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line
220, in __exit__
self.force_reraise()
File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line
196, in force_reraise
six.reraise(self.type_, self.value, self.tb)
File "/opt/stack/nova/nova/virt/libvirt/driver.py", line 5922, in
_live_migration_operation
bandwidth=CONF.libvirt.live_migration_bandwidth)
File "/opt/stack/nova/nova/virt/libvirt/guest.py", line 571, in migrate
destination, params=params, flags=flags)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 186,
in doit
result = proxy_call(self._autowrap, f, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 144,
in proxy_call
rv = execute(f, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 125,
in execute
six.reraise(c, e, tb)
File "/usr/local/lib/python2.7/dist-packages/eventlet/tpool.py", line 83,
in tworker
rv = meth(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/libvirt.py", line 1915, in
migrateToURI3
ret = libvirtmod.virDomainMigrateToURI3(self._o, dconnuri, params, flags)
TypeError: Unknown type of "migrate_uri" field
This happens to me everytime when trying to live migrate any VM over
dedicated interface using nova trunk.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1638625/+subscriptions
--
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help : https://help.launchpad.net/ListHelp