<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <link href="chrome://translator/skin/floatingPanel.css"
      type="text/css" rel="stylesheet">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">于 2014年10月22日 23:18, Ben Nemec 写道:<br>
    </div>
    <blockquote cite="mid:5447CADD.6030109@nemebean.com" type="cite">
      <pre wrap="">Please don't send review requests to the list.  The preferred methods of
asking for reviews are discussed in this post:
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/pipermail/openstack-dev/2013-September/015264.html">http://lists.openstack.org/pipermail/openstack-dev/2013-September/015264.html</a>

Thanks.

-Ben
</pre>
    </blockquote>
    hi Ben, <br>
    thanks for letting me know this. and I've noticed it.<br>
    but I am not sending review request, I'd like to bring up an
    discussion what is the correct behavior when we get the<br>
    InterfaceDetachFailed exception.<br>
    <br>
    currently , user can not notice he detach an interface failed, the
    exception was not handled, <br>
    and the port is deleted in neutron but guest still can see it.<br>
    <br>
    I add the patch link just show you my propose, for better to
    understand, I'd like more people to discuss this.<br>
    <br>
    BR<br>
    -Eli.<br>
    <blockquote cite="mid:5447CADD.6030109@nemebean.com" type="cite">
      <pre wrap="">
On 10/22/2014 02:57 AM, Eli Qiao wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">
hi all.
when I am reviewing code of in nova/compute/manager.py
I find that the detach_interface calls deallocate port from neutron first
then calls detach_interface in the hypervisor, then what will happen if
hypervisor detach_interface failed? the result is the port can be seen
on guest but removed from neutron, this seems inconsistent.

I submit a patch [1] to propose remove port from neutron side after
hypervisor
detach_interface successfully, and keep neutron port if catch exception when
detach_interface then give a log message.

can some one kindly help to take a look at it and give some comments?

[1] <a class="moz-txt-link-freetext" href="https://review.openstack.org/#/c/130151/">https://review.openstack.org/#/c/130151/</a>



_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>

</pre>
      </blockquote>
      <pre wrap="">

_______________________________________________
OpenStack-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a>
<a class="moz-txt-link-freetext" href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a>

</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Thanks,
Eli (Li Yong) Qiao</pre>
    <div style="bottom: auto; left: 440px; right: auto; top: 415px;
      display: none;" class="translator-theme-default"
      id="translator-floating-panel">
      <div title="点击翻译" id="translator-floating-panel-button"></div>
    </div>
  </body>
</html>