[Openstack] [Ubuntu 14.04][IceHouse][Neutron] Error: Failed to delete network

Martinx - ジェームズ thiagocmartinsc at gmail.com
Sun May 25 03:02:22 UTC 2014


Guys,

I now how to reproduce this and I filled a BUG report about it, here:

https://bugs.launchpad.net/neutron/+bug/1322945

It seems that a regular user can breaks the Neutron L3 Router, by "Adding a
Interface" to its Namespace Router, that is attached to a IPv6 private
subnet, it also breaks an "admin" External Network... Seems to be serious
(I think).

Regards,
Thiago


On 22 May 2014 16:44, Martinx - ジェームズ <thiagocmartinsc at gmail.com> wrote:

> Hey Stackers!
>
>  How can I delete a "net" that "doesn't want" to be deleted?!    =P
>
> Tks!
> thiago
>
>
> On 21 May 2014 11:51, Martinx - ジェームズ <thiagocmartinsc at gmail.com> wrote:
>
>> Guys,
>>
>> 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:
>>
>> ---
>> root at psuaa-1:~# neutron net-delete a1654832-8aac-42d5-8837-6d27b7421892
>> Request Failed: internal server error while processing your request.
>> ---
>>
>> The logs shows:
>>
>> ---
>> ==> /var/log/neutron/server.log <==
>> 2014-05-21 11:49:54.242 5797 INFO neutron.wsgi [-] (5797) accepted
>> ('2804:290:4:dead::10', 56908, 0, 0)
>>
>> 2014-05-21 11:49:54.245 5797 INFO urllib3.connectionpool [-] Starting new
>> HTTP connection (1): psuaa-1.mng.tcmc.com.br
>> 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
>>
>> 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)
>>
>> 2014-05-21 11:49:54.380 5797 ERROR neutron.api.v2.resource
>> [req-f216416d-8433-444f-9108-f4a17f5bf49d None] delete failed
>> 2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource Traceback
>> (most recent call last):
>> 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
>> 2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource     result =
>> method(request=request, **args)
>> 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
>> 2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource
>> obj_deleter(request.context, id, **kwargs)
>> 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
>> 2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource
>> self.type_manager.release_segment(session, segment)
>> 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
>> 2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource
>> driver.obj.release_segment(session, segment)
>> 2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource
>> AttributeError: 'NoneType' object has no attribute 'obj'
>> 2014-05-21 11:49:54.380 5797 TRACE neutron.api.v2.resource
>> 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
>> ---
>>
>> What can I do?!
>>
>> Tks!
>> Thiago
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20140525/3aeed7cb/attachment.html>


More information about the Openstack mailing list