<font face="tahoma,sans-serif">Hi all,<br><br>I noticed a bug in Multiple OpenStack Clusters that prevent instances with ephemeral disk to be migrated when qcow2 format is used.</font><div><div><font face="tahoma,sans-serif">The bug has need fixed <a href="https://bugs.launchpad.net/nova/+bug/977007" target="_blank">here</a> but the fix has been committed to the head branch for Folsom.</font></div>


<div><font face="tahoma,sans-serif"><a href="https://github.com/openstack/nova/commit/ee705d048418d63667136cad3951655178861d46" target="_blank">https://github.com/openstack/nova/commit/ee705d048418d63667136cad3951655178861d46</a></font></div>


<div><font face="tahoma,sans-serif"><br></font></div><div><div><font face="tahoma, sans-serif">Live migration is a very important feature to production clouds as it allows maintenance with 0 downtime. Even is ephemeral disk is not a best practice, the fact that it is included in defaults profile make it more relevant as soon-to-be-fixed bug.</font></div>


</div><div><font face="tahoma, sans-serif"><br></font></div><div>I would like to know if it is planned to have the bug fixed also on Essex branch.</div><div>Then a bug fix upgrade in ubuntu 12.04 OpenStack repository would be the best outcome.</div>

<div>I would be unfortunate to have this bug on Essex with users forced to patch between each package upgrade.</div><div><br></div><div>To manually fix the bug:</div>
<div>vim +2168 /usr/lib/python2.7/dist-packages/nova/virt/libvirt/connection.py</div><div><div><font face="tahoma,sans-serif">Change</font></div><div><font face="tahoma,sans-serif"> </font><font face="tahoma, sans-serif">                    size=info['disk_size'])</font></div>

<div><font face="tahoma, sans-serif">With</font></div><div><font face="tahoma, sans-serif">                    size=info['virt_disk_size'])</font></div><div><br></div><div><font face="tahoma, sans-serif">Testing works fine while migration is impossible on version 2012.1+stable~20120612-3ee026e-0ubuntu1.2 on ubuntu 12.04</font></div>

<div><div><br></div><div>Short version:</div><div>This bug prevent live migration with ephemeral images with qcow2 images and needs to be ported to essex asap.</div><div><br></div><div>Cheers,</div><div><br></div><font face="tahoma, sans-serif"><b style="color:rgb(51,51,51)">BUSSY Jean-Daniel</b><br>

Computer Engineer | CyberAgent<br></font><span style="font-family:tahoma,sans-serif"><font color="#333333">Mobile:</font> <a href="tel:%2B81%20090-3317-1337" value="+819033171337" target="_blank">+81 090-3317-1337</a></span><br>


<font face="tahoma, sans-serif"><font color="#333333">Email:</font></font> <a href="mailto:silversurfer972@gmail.com" target="_blank">silversurfer972@gmail.com</a> <br><br>
</div></div></div>