<div dir="ltr">I believe this patch should fix the issue, It seems to for me: <a href="https://review.openstack.org/#/c/95938/">https://review.openstack.org/#/c/95938/</a> (It's in the process of merging into icehouse and havana now). Thanks for the report. <div>
<br></div><div><br><div><br></div><div><div>arosen@arosen-MacBookPro:~/devstack$ neutron net-list</div><div>+--------------------------------------+---------+------------------------------------------------------------+</div>
<div>| id | name | subnets |</div><div>+--------------------------------------+---------+------------------------------------------------------------+</div>
<div>| 18b00633-2a32-494d-88cf-41c19211597d | private | 556f3c44-01bb-468a-8064-10c833eb3715 <a href="http://10.0.0.0/24">10.0.0.0/24</a> |</div><div>| | | e8180cc2-e5ea-4892-997e-e9ff96b426f4 2008:129:2bf:cd1::/64 |</div>
<div>| b9869a8e-cc7b-409f-99c9-ae1a2a4a4855 | public | 9b9f49b2-0297-4528-92d3-b2ca7abd5be4 |</div><div>+--------------------------------------+---------+------------------------------------------------------------+</div>
<div>arosen@arosen-MacBookPro:~/devstack$ neutron router-list</div><div>+--------------------------------------+---------+-----------------------------------------------------------------------------+</div><div>| id | name | external_gateway_info |</div>
<div>+--------------------------------------+---------+-----------------------------------------------------------------------------+</div><div>| 96d4a3cb-4138-41af-b88e-8ebe5405f2bb | router1 | {"network_id": "b9869a8e-cc7b-409f-99c9-ae1a2a4a4855", "enable_snat": true} |</div>
<div>+--------------------------------------+---------+-----------------------------------------------------------------------------+</div><div>arosen@arosen-MacBookPro:~/devstack$ neutron router-interface-delete router1 556f3c44-01bb-468a-8064-10c833eb3715</div>
<div>Removed interface from router router1.</div><div>arosen@arosen-MacBookPro:~/devstack$ neutron router-interface-delete router1 e8180cc2-e5ea-4892-997e-e9ff96b426f4</div><div>Removed interface from router router1.</div>
<div>arosen@arosen-MacBookPro:~/devstack$ neutron net-delete private</div><div>Deleted network: private</div></div><div><br></div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, May 27, 2014 at 3:57 PM, Martinx - ジェームズ <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi Aaron!<div><br></div><div>The BUG report <a href="https://bugs.launchpad.net/neutron/+bug/1322945" style="font-size:12.727272033691406px;font-family:arial,sans-serif" target="_blank">https://bugs.launchpad.net/neutron/+bug/1322945</a> is about this problem, I posted there the instructions to reproduce it...</div>
<div><br></div><div>Basically, after attaching a private IPv6 subnet to your L3 Router, it will break the "External Network" and its "Floating IPs", then, it becomes impossible to delete that "External Network"... It enters in a "stuck" state...</div>
<div><br></div><div>Regards,</div><div>Thiago</div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><br><div class="gmail_quote">On 27 May 2014 18:34, Aaron Rosen <span dir="ltr"><<a href="mailto:aaronorosen@gmail.com" target="_blank">aaronorosen@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br>can you open a bug report on this and provide your setup configuration? I just tested this with ML2 and wasn't able to reproduce the issue. </div>
<div><br></div><div><div>arosen@arosen-MacBookPro:~/devstack$ neutron net-create asdf --provider:network_type vlan --provider:segmentation_id 124 --provider:physical_network asdf</div>
<div>Unable to create the network. The VLAN 124 on physical network asdf is in use.</div><div><br></div><div>arosen@arosen-MacBookPro:~/devstack$ neutron net-delete asdf</div><div>Deleted network: asdf</div></div><div><br>
</div><div>Thanks, </div><div><br>Aaron</div></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div>On Fri, May 23, 2014 at 10:52 AM, Martinx - ジェームズ <span dir="ltr"><<a href="mailto:thiagocmartinsc@gmail.com" target="_blank">thiagocmartinsc@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr"><span style="font-family:arial,sans-serif;font-size:12.727272033691406px">Guys,</span><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
I'm trying to delete a network in Neutron but it is failing, from Horizon it triggers the error message above (subject), and from CLI, it shows this:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">---</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div><font face="courier new, monospace">root@psuaa-1:~# neutron net-delete a1654832-8aac-42d5-8837-6d27b7421892</font></div>
<div><font face="courier new, monospace">Request Failed: internal server error while processing your request.</font></div></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">---</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">The logs shows:</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
---</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><div><font face="courier new, monospace">==> /var/log/neutron/server.log <==</font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.242 5797 INFO neutron.wsgi [-] (5797) accepted ('2804:290:4:dead::10', 56908, 0, 0)</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.245 5797 INFO urllib3.connectionpool [-] Starting new HTTP connection (1): <a href="http://psuaa-1.mng.tcmc.com.br/" target="_blank">psuaa-1.mng.tcmc.com.br</a></font></div>
<div><font face="courier new, monospace">2014-05-21 11:49:54.332 5797 INFO neutron.wsgi [req-e1c4d6c4-71de-4bfa-a7db-f09fa0571377 None] 2804:290:4:dead::10 - - [21/May/2014 11:49:54] "GET /v2.0/networks.json?fields=id&id=a1654832-8aac-42d5-8837-6d27b7421892 HTTP/1.1" 200 251 0.089015</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.334 5797 INFO neutron.wsgi [req-e1c4d6c4-71de-4bfa-a7db-f09fa0571377 None] (5797) accepted ('2804:290:4:dead::10', 56910, 0, 0)</font></div>
<div><font face="courier new, monospace"><br></font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 ERROR neutron.api.v2.resource [req-f216416d-8433-444f-9108-f4a17f5bf49d None] delete failed</font></div>
<div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource Traceback (most recent call last):</font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/resource.py", line 87, in resource</font></div>
<div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource result = method(request=request, **args)</font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 449, in delete</font></div>
<div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource obj_deleter(request.context, id, **kwargs)</font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/plugin.py", line 494, in delete_network</font></div>
<div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource self.type_manager.release_segment(session, segment)</font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/plugins/ml2/managers.py", line 101, in release_segment</font></div>
<div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource driver.obj.release_segment(session, segment)</font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource AttributeError: 'NoneType' object has no attribute 'obj'</font></div>
<div><font face="courier new, monospace">2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource </font></div><div><font face="courier new, monospace">2014-05-21 11:49:54.383 5797 INFO neutron.wsgi [req-f216416d-8433-444f-9108-f4a17f5bf49d None] 2804:290:4:dead::10 - - [21/May/2014 11:49:54] "DELETE /v2.0/networks/a1654832-8aac-42d5-8837-6d27b7421892.json HTTP/1.1" 500 296 0.048123</font></div>
</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">---</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px"><br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
What can I do to delete a "net" that "doesn't want" to be deleted? Do I just need to clean some tables directly on mysql, for example... ?</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">NOTE: I'm double posting it here on dev list, because on user list no one seems to be able to help me... Sorry BTW... :)</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">
<br></div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Tks!</div><div style="font-family:arial,sans-serif;font-size:12.727272033691406px">Thiago</div></div>
<br></div></div>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org" target="_blank">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>