[Openstack] port-delete issue

Yngvi Páll Þorfinnsson yngvith at siminn.is
Tue Sep 8 17:17:04 UTC 2015


HI


I have cleared the gateway on all routers, but it did not help

root at opst-ctrl1-dev:/# neutron router-list
+--------------------------------------+-----------------+-----------------------+-------------+-------+
| id                                   | name            | external_gateway_info | distributed | ha    |
+--------------------------------------+-----------------+-----------------------+-------------+-------+
| 164ad471-5ab0-4109-acf5-f88de1e4b5f3 | gw              | null                  | False       | False |
| 2371ae6e-8a07-464c-9b3e-3d7d35e96a59 | gw              | null                  | False       | False |
| 45ab4a9a-c7fc-4cf6-844c-6265b5620121 | gw              | null                  | False       | False |
| 50d16aec-adaf-431d-9b42-f8aff78ea5b8 | gw1             | null                  | False       | False |
| 546456aa-a312-48d5-8a3b-6031b1dcb3a9 | OskarTestRouter | null                  | False       | False |
| 78feb17a-9a29-4ddb-9477-914850d8f5d2 | ElasticRouter   | null                  | False       | False |
| 7a06a85c-826a-4f00-a62f-5ae8586ea1fb | adminTest       | null                  | False       | False |
| 7ba38ec5-49d9-4fc8-b77f-ef8a38e79af3 | Safnið-router   | null                  | False       | False |
| 9e367dd6-ab2c-4949-a5e4-4d8d2787d84b | gw              | null                  | False       | False |
| f05c4cc8-724e-4731-bea3-6ef68d794137 | gw1             | null                  | False       | False |
+--------------------------------------+-----------------+-----------------------+-------------+-------+

But it did not help.

best regards
Yngvi

-----Original Message-----
From: Brian Haley [mailto:brian.haley at hp.com] 
Sent: 8. september 2015 16:45
To: openstack at lists.openstack.org
Subject: Re: [Openstack] port-delete issue

On 09/08/2015 12:01 PM, Yngvi Páll Þorfinnsson wrote:
> HI
>
> I can't delete a subnet (id f505a109-07a7-420a-ae6b-aa5995126be7 ), 
> because one port is still in use.
>
> root at opst-ctrl1-dev:/# neutron subnet-delete 
> f505a109-07a7-420a-ae6b-aa5995126be7
>
> Unable to complete operation on subnet 
> f505a109-07a7-420a-ae6b-aa5995126be7. One or more ports have an IP allocation from this subnet. (HTTP 409) (Request-ID:
> req-fbd64f19-2888-4d87-8e60-bc2cc920cd12)

Do you have a router on the subnet?  Try deleting it.

-Brian

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack at lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack




More information about the Openstack mailing list