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

retinara at seznam.cz retinara at seznam.cz
Tue Sep 9 11:09:07 UTC 2014


Hello,



I am facing to following issue:





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:

<code style='font-family: Menlo, Monaco, 'Courier New', monospace; padding: 0px; color: inherit; border-top-left-radius: 3px; border-top-right-radius: 3px; border-bottom-right-radius: 3px; border-bottom-left-radius: 3px; border: 0px; clear: both; background-color: transparent;'><span style='color: rgb(0, 0, 0);' class='pln'>  </span><span style='color: rgb(102, 0, 102);' class='typ'>File</span><span style='color: rgb(0, 0, 0);' class='pln'> </span><span style='color: rgb(0, 136, 0);' class='str'>"/usr/lib64/python2.6/site-packages/sqlalchemy/orm/unitofwork.py"</span><span style='color: rgb(102, 102, 0);' class='pun'>,</span><span style='color: rgb(0, 0, 0);' class='pln'> line </span><span style='color: rgb(0, 102, 102);' class='lit'>63</span><span style='color: rgb(102, 102, 0);' class='pun'>,</span><span style='color: rgb(0, 0, 0);' class='pln'> </span><span style='color: rgb(0, 0, 136);' class='kwd'>in</span><span style='color: rgb(0, 0, 0);' class='pln'> set_newvalue_state </span><span style='color: rgb(102, 102, 0);' class='pun'>=</span><span style='color: rgb(0, 0, 0);' class='pln'> attributes</span><span style='color: rgb(102, 102, 0);' class='pun'>.</span><span style='color: rgb(0, 0, 0);' class='pln'>instance_state</span><span style='color: rgb(102, 102, 0);' class='pun'>(</span><span style='color: rgb(0, 0, 0);' class='pln'>newvalue</span><span style='color: rgb(102, 102, 0);' class='pun'>)</span><span style='color: rgb(0, 0, 0);' class='pln'>

</span><span style='color: rgb(102, 0, 102);' class='typ'>AttributeError</span><span style='color: rgb(102, 102, 0);' class='pun'>:</span><span style='color: rgb(0, 0, 0);' class='pln'> </span><span style='color: rgb(0, 136, 0);' class='str'>'FixedIP'</span><span style='color: rgb(0, 0, 0);' class='pln'> </span><span style='color: rgb(0, 0, 136);' class='kwd'>object</span><span style='color: rgb(0, 0, 0);' class='pln'> has </span><span style='color: rgb(0, 0, 136);' class='kwd'>no</span><span style='color: rgb(0, 0, 0);' class='pln'> attribute </span><span style='color: rgb(0, 136, 0);' class='str'>'_sa_instance_state'</span></code>

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 for your help


BR,

Vojtech

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140909/68b6136f/attachment.html>


More information about the Openstack mailing list