Hi Irena,<div><br></div><div>I do apologise for not having been more clear.</div><div>I was wondering if you are planning to extend the Quantum API, besides the module that interfaces nova to quantum, in order to accomodate migration events.</div>
<div>At a first glance, I believe this process could be entirely managed using the existing Quantum API, but I have not explored the problem in detail, so I might be missing something.</div><div><br></div><div>Salvatore<br>
<br><div class="gmail_quote">On 30 October 2012 09:20, Irena Berezovsky <span dir="ltr"><<a href="mailto:irenab@mellanox.com" target="_blank">irenab@mellanox.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">






<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Moving the ongoing discussion to the openstack-dev mailing list<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Salvatore,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thank you for comments.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I would like to add additional methods to quantum API corresponding the VM migration methods defined at nova/network/api.
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">I am not sure what do you mean by server side calls to quantum.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Just to be sure how to proceed, shall we create the blueprint for this task?
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Irena<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">On 30 October 2012 08:16, Salvatore Orlando <<a href="mailto:sorlando@nicira.com" target="_blank">sorlando@nicira.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Hi Irena,<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I am afraid you're correct. VM migration events were not addressed in the nova-quantum api for Folsom.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">We definitely want to add those calls - and help would be extremely appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">I think the nova-to-quantum API was mostly implemented by Yong - with some contribution from Dan, me, and other Quantum devs. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Are you planning to add also server-side calls to Quantum for migration awareness?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><span style="color:#888888"><u></u> <u></u></span></p>
</div>
<div>
<p class="MsoNormal"><span><span style="color:#888888">Salvatore</span></span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On 30 October 2012 08:13, Irena Berezovsky <<a href="mailto:irenab@mellanox.com" target="_blank">irenab@mellanox.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Hi guys,<br>
I have troubles to follow the flow of events in case of VMlive migration.<br>
Can I ask  you for clarifications?<br>
What I see from the code is that there is no additions to  Quantum API for migration awareness.<br>
At <a href="https://github.com/openstack/nova/blob/master/nova/network/quantumv2/api.py" target="_blank">
https://github.com/openstack/nova/blob/master/nova/network/quantumv2/api.py</a> there is just empty implementation.<br>
Is there an intension to add Quantum API calls for live migration? Is it only nova related actions? Is some help needed?<br>
<br>
I am looking for a way to be aware of live migration at quantum plugin (due to the need to configure physical server that attached to the host that hosts VM).<br>
Thanks a lot,<br>
Irena<u></u><u></u></p>
<div>
<p class="MsoNormal"><br>
<br>
-----Original Message-----<br>
From: Gary Kotton [mailto:<a href="mailto:gkotton@redhat.com" target="_blank">gkotton@redhat.com</a>]<br>
Sent: Sunday, October 28, 2012 10:34 AM<br>
To: Irena Berezovsky<u></u><u></u></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt">Cc: Dan Wendlandt; Salvatore Orlando<br>
Subject: Re: Quantum awareness to VM live migration event<br>
<br>
On 10/28/2012 10:27 AM, Irena Berezovsky wrote:<br>
> Hi Dan,<br>
> Thank you very much for your response.<br>
> Salvatore, Gary may I ask few questions regarding this  change?<br>
> 1. Is there some blueprint covering support for VM migration calls to quantum API (data passed by nova) and DB model changes (if any)?<br>
<br>
Not that I am aware of<br>
> 2. Is there some description of VM migration  flow from nova perspective?<br>
<br>
Ditto<br>
> 3. Is it part of Folsom release?<br>
<br>
Yes, this should be supported and working.<br>
> 4. Does it handle case when VM Migration fails?<br>
<br>
I would hope so.<br>
> 5. As far as I understand,  in migrate_instance_finish there is a 'dest ' attribute. I believe its destination Physical host UUID. In migrate_instance_start there is a 'host' attribute. Is it source Physical Host UUID?<br>

<br>
I am not familiar with this.<br>
><br>
> Thank you in advance,<br>
> Irena<br>
><br>
><br>
> -----Original Message-----<br>
> From: Dan Wendlandt [mailto:<a href="mailto:dan@nicira.com" target="_blank">dan@nicira.com</a>]<br>
> Sent: Saturday, October 27, 2012 2:46 AM<br>
> To: Irena Berezovsky<br>
> Cc: Salvatore Orlando; Gary Kotton<br>
> Subject: Re: Quantum awareness to VM live migration event<br>
><br>
> Hi Irena,<br>
><br>
> Sorry, just now starting to catch up on email post-summit.<br>
><br>
> I'm CC'ing Salvatore and Gary, as they are also involved in this, I believe.<br>
><br>
> Salvatore was involved with discussions with Vish and the Nova team around the addition of migration hooks to the network api within nova,<br>
> see: <a href="https://github.com/openstack/nova/blob/master/nova/network/api.py#L337" target="_blank">
https://github.com/openstack/nova/blob/master/nova/network/api.py#L337</a><br>
><br>
> Gary's talk on the summit also touches on this, and would likely add the admin calls to the Quantum API that indicate that a port is about to be provisioned on a particular physical host (this would probably be sent to quantum from nova when a VM is started/stopped,
 or migrated.<br>
><br>
> Dan<br>
><br>
><br>
><br>
><br>
> On Mon, Oct 15, 2012 at 11:01 AM, Irena Berezovsky<<a href="mailto:irenab@mellanox.com" target="_blank">irenab@mellanox.com</a>>  wrote:<br>
>> Dan,<br>
>> Continuing our talk today, please let me know if there is some work about Quantum awareness to VM live migration event (before and after on source and destination nodes).<br>
>><br>
>> I would lie to be part of it,<br>
>><br>
>> Thanks,<br>
>> Irena<br>
><br>
><br>
> --<br>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>
> Dan Wendlandt<br>
> Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br>
> twitter: danwendlandt<br>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~<u></u><u></u></p>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div></div></div>
</div>

</blockquote></div><br></div>