[Openstack] port-delete issue

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


HI 
I don't see a router attached :

root at opst-ctrl1-dev:/# neutron subnet-show ext-subnet
+-------------------+----------------------------------------------------+
| Field             | Value                                              |
+-------------------+----------------------------------------------------+
| allocation_pools  | {"start": "157.157.8.100", "end": "157.157.8.200"} |
| cidr              | 157.157.8.0/24                                     |
| dns_nameservers   | 212.30.200.199                                     |
|                   | 212.30.200.200                                     |
| enable_dhcp       | True                                               |
| gateway_ip        | 157.157.8.1                                        |
| host_routes       |                                                    |
| id                | f505a109-07a7-420a-ae6b-aa5995126be7               |
| ip_version        | 4                                                  |
| ipv6_address_mode |                                                    |
| ipv6_ra_mode      |                                                    |
| name              | ext-subnet                                         |
| network_id        | 523721c5-ea5d-42a1-8920-8bc75010f273               |
| tenant_id         | 1dda2478e30d44dda0ca752c6047725d                   |
+-------------------+----------------------------------------------------+
root at opst-ctrl1-dev:/#

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