<div dir="ltr"><div class="gmail_default" style="font-family:verdana,sans-serif">Hi Mike,</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Which version of OpenStack are you using ? Do the normal migrations work ? </div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">I found a bug that looks like your problem [1]</div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">[1] <a href="https://bugs.launchpad.net/nova/+bug/1715569">https://bugs.launchpad.net/nova/+bug/1715569</a></div><div class="gmail_default" style="font-family:verdana,sans-serif"><br></div><div class="gmail_default" style="font-family:verdana,sans-serif">Cheers,</div><div class="gmail_default" style="font-family:verdana,sans-serif">Sergio</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 November 2017 at 08:48, Mike Lowe <span dir="ltr"><<a href="mailto:jomlowe@iu.edu" target="_blank">jomlowe@iu.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">After moving from CentOS 7.3 to 7.4, I’ve had trouble getting live migration to work when a volume is attached.  As it turns out when a live migration takes place the libvirt driver rewrites portions of the xml definition for the destination hypervisor and gets it wrong.  Here is an example.<br>
<br>
It turns this:<br>
<br>
disk device="disk" type="network"><br>
        <driver cache="writeback" name="qemu" type="raw"/><br>
        <auth username="cinder"><br>
                <secret type="ceph" uuid="1a790a26-dd49-4825-8d16-<wbr>3dd627cf05a9"/><br>
        </auth><br>
        <source name="cinder-volumes/volume-<wbr>de400476-b68a-45a2-b04f-<wbr>739313f42bef" protocol="rbd"><br>
                <host name="172.16.128.101" port="6789"/><br>
                <host name="172.16.128.121" port="6789"/><br>
                <host name="172.16.128.130" port="6789"/><br>
        </source><br>
        <target bus="scsi" dev="sdb"/><br>
        <serial>de400476-b68a-45a2-<wbr>b04f-739313f42bef</serial><br>
        <address bus="0" controller="0" target="0" type="drive" unit="1"/><br>
</disk><br>
<br>
Into this:<br>
<br>
<disk device="disk" type="network"><br>
        <driver cache="writeback" name="qemu" type="raw"/><br>
        <auth username="cinder"><br>
                <secret type="ceph" uuid="1a790a26-dd49-4825-8d16-<wbr>3dd627cf05a9"/><br>
        </auth><br>
        <source name="cinder-volumes/volume-<wbr>de400476-b68a-45a2-b04f-<wbr>739313f42bef" protocol="rbd"><br>
                <host name="172.16.128.101" port="6789"/><br>
                <host name="172.16.128.121" port="6789"/><br>
                <host name="172.16.128.130" port="6789"/><br>
        </source><br>
        <target bus="scsi" dev="sdb"/><br>
        <serial>de400476-b68a-45a2-<wbr>b04f-739313f42bef</serial><br>
        <address controller="0" type="drive"/><br>
</disk><br>
<br>
Note the address change, libvirt will attempt to put this undefined disk at 0:0:0 which conflicts with the root disk and causes the migration to fail.  While this may be a libvirt bug I can’t imagine anything good would come from changing the scsi address of your disks mid flight so steps should be taken in nova if rewriting the definition to preserve the address.<br>
<br>
Here is my question, when exactly would you want to change the definition of an attached volume?<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.<wbr>openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-operators</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><b><font style="color:rgb(102,102,102)" face="arial, helvetica, sans-serif"> Sergio Cuéllar<font style="font-weight:normal" face="arial, helvetica, sans-serif"> │DevOps Engineer</font></font></b></div><div dir="ltr"><font color="#666666"> KIO NETWORKS<br> </font><font face="arial narrow, sans-serif"><span style="color:rgb(102,102,102)">Mexico City Phone (52) 55 8503 2600 ext. 4335</span><br></font></div><div><font face="arial narrow, sans-serif"><span style="color:rgb(102,102,102)"> Mobile: 5544844298</span></font></div><div><font face="arial narrow, sans-serif"><span style="color:rgb(102,102,102)"> <a href="http://www.kionetworks.com" target="_blank">www.kionetworks.com</a></span></font></div><div dir="ltr"><img src="https://s3.amazonaws.com/kiofirmas/firma_a.gif"><br></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div></div>
</div>

<br>
<p style="margin-bottom:0cm;margin-bottom:.0001pt;text-align:justify;line-height:normal;background:white"><i><span lang="ES" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#666666">******************************<wbr>******************************<wbr>******************************<wbr>*****************************</span></i></p>

<p style="margin-bottom:0cm;margin-bottom:.0001pt;text-align:justify;line-height:normal;background:white"><i><span lang="ES" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#666666">“Este mensaje es
confidencial.  Si usted no es el destinatario de este mensaje, le
suplicamos se lo notifique al remitente mediante un correo electrónico y que
borre el presente mensaje y sus anexos de su computadora sin retener una copia
de los mismos. No debe copiar este mensaje o usarlo para cualquier propósito ni
divulgar su contenido. KIO Networks se reserva el derecho de monitorear todas
las comunicaciones de correo electrónico (relacionadas o no con KIO Networks)
que se transmitan a través de su sistema. </span></i><i><span lang="EN-US" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#666666">Muchas gracias.</span></i><span lang="EN-US" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#222222"></span></p>

<p style="text-align:justify;line-height:normal;background:white"><i><span lang="EN-US" style="font-size:9.5pt;font-family:"Arial",sans-serif;color:#666666">This email is confidential and may also be privileged.  If you are
not the intended recipient please immediately advise the sender by reply e-mail
and delete this message and its attachments from your computer without
retaining a copy. You should not copy it or use it for any purpose nor disclose
its contents to any other person. KIO Networks reserves the right to monitor
all email communications (whether related to the business of KIO Networks or
not) through its networks. Thank you.”</span></i></p>

<i><span lang="ES" style="font-size:9.5pt;line-height:107%;font-family:"Arial",sans-serif;color:#666666">******************************<wbr>******************************<wbr>******************************<wbr>*****************************</span></i>