<br><br><div class="gmail_quote">On Fri, Aug 3, 2012 at 12:33 PM, Nati Ueno <span dir="ltr"><<a href="mailto:nati.ueno@gmail.com" target="_blank">nati.ueno@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Hi folks<br>
<br>
I report this bug recently.<br>
<br>
device_id should not be updated twice<br>
<a href="https://bugs.launchpad.net/quantum/+bug/1031473" target="_blank">https://bugs.launchpad.net/quantum/+bug/1031473</a><br>
<br>
Now,  a user can update device_id which may cause problem.<br></blockquote><div><br></div><div>Yeah, ideally this field could only be updated by the 'service' user (i.e., nova or another openstack service).  </div>

<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
This is related to port id spec for nova boot.<br>
<a href="https://bugs.launchpad.net/nova/+bug/1031096" target="_blank">https://bugs.launchpad.net/nova/+bug/1031096</a><br>
<br>
My question is how we should deal with port on the failure or deletion.<br>
<br>
My patch will delete the port on failure or deletion<br>
<a href="https://review.openstack.org/#/c/10639/" target="_blank">https://review.openstack.org/#/c/10639/</a><br>
<br>
Another spec could be update port device_id for None.<br>
But this is depends on how we solve bug 1031473.<br></blockquote><div><br></div><div>Updating to empty-string/None is more what I had been thinking of, but I don't have my head fully wrapped around this.  </div><div>

<br></div><div>As I mentioned when we chatted about this in person, Amazon's elastic network interfaces (ENIs) are similar to quantum ports, and they have a specific flag that indicates whether the ENI should be deleted when the instance is deleted or not: <a href="http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-eni.html#change_term_behavior">http://docs.amazonwebservices.com/AWSEC2/latest/UserGuide/using-eni.html#change_term_behavior</a></div>

<div><br></div><div>There are some use cases when we would want to keep it around, and just reattach it to a new virtual server.  </div><div><br></div><div>Dan</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<br>
Any thought?<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Nachi Ueno<br>
<a href="mailto:email%3Anati.ueno@gmail.com">email:nati.ueno@gmail.com</a><br>
twitter:<a href="http://twitter.com/nati" target="_blank">http://twitter.com/nati</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</font></span></blockquote></div><br><br clear="all"><div><br></div>-- <br>~~~~~~~~~~~~~~~~~~~~~~~~~~~<br>Dan Wendlandt <div>Nicira, Inc: <a href="http://www.nicira.com" target="_blank">www.nicira.com</a><br><div>twitter: danwendlandt<br>

~~~~~~~~~~~~~~~~~~~~~~~~~~~<br></div></div><br>