Unsuccessful block live-migration with assigned floating ip using nova-network

asked 2014-09-02 08:35:39 -0600

amic gravatar image

updated 2014-09-02 14:58:17 -0600

mpetason gravatar image

I am not able to successfuly migrate (block live migration) VM with assigned floating IP, there is no problem with migration of VM with no floating IP assigned. We are using nova-network for networking . Migration is iniciated but it gets stuck in "migrating status" and never ends. Only option is terminate the instance during its migration which leads to inconsistency between VM listed by "nova list" and "virsh list" commands. (Terminated instance appears as running machine under virsh list).

nova-all.log at source host seems to be fine, but nova-all.log at destination host records following error during the migration:

  File "/usr/lib64/python2.6/site-packages/sqlalchemy/orm/unitofwork.py", line 63, in set_newvalue_state = attributes.instance_state(newvalue)

AttributeError: 'FixedIP' object has no attribute '_sa_instance_state'

System configuration is as follows:

  • Mirantis Openstack 5.0
  • Openstack Icehouse release
  • Nova 2.18.1
  • QEMU 1.2.1
  • Libvirt 0.10.2
  • nova-network

Is there any way how to setup block live migration of floating IP assigned VM with nova-network network configuration in Icehouse release? Thank you.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-09-09 18:11:07 -0600

angdraug gravatar image

This error message is caused by the https://bugs.launchpad.net/fuel/+bug/1334164 (bug #1334164)

You can apply this patch: https://review.openstack.org/109310

Or you can deploy Mirantis OpenStack 5.0.1 which already includes this fix.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2014-09-02 08:35:39 -0600

Seen: 460 times

Last updated: Sep 09 '14