Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

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

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.

click to hide/show revision 2
No.2 Revision

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

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.