<div dir="ltr">Yeah, somehow the floating IP was deleted without it's corresponding port being removed. You will just need to update the device_owner to not be a floating IP and then delete it.</div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 9, 2015 at 2:24 AM, Yngvi Páll Þorfinnsson <span dir="ltr"><<a href="mailto:yngvith@siminn.is" target="_blank">yngvith@siminn.is</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi<br>
This is the solution ;-)<br>
<a href="https://ask.openstack.org/en/question/67752/unable-to-delete-port/" rel="noreferrer" target="_blank">https://ask.openstack.org/en/question/67752/unable-to-delete-port/</a><br>
<span class="im HOEnZb"><br>
best regards<br>
Yngvi<br>
<br>
<br>
-----Original Message-----<br>
</span><div class="HOEnZb"><div class="h5">From: Yngvi Páll Þorfinnsson<br>
Sent: 8. september 2015 17:42<br>
To: Brian Haley <<a href="mailto:brian.haley@hp.com">brian.haley@hp.com</a>>; <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject: Re: [Openstack] port-delete issue<br>
<br>
Those are the routers in the system (admin sees this)<br>
<br>
root@opst-ctrl1-dev:/# neutron router-list<br>
+--------------------------------------+-----------------+-----------------------+-------------+-------+<br>
| id                                   | name            | external_gateway_info | distributed | ha    |<br>
+--------------------------------------+-----------------+-----------------------+-------------+-------+<br>
| 164ad471-5ab0-4109-acf5-f88de1e4b5f3 | gw              | null                  | False       | False |<br>
| 2371ae6e-8a07-464c-9b3e-3d7d35e96a59 | gw              | null                  | False       | False |<br>
| 45ab4a9a-c7fc-4cf6-844c-6265b5620121 | gw              | null                  | False       | False |<br>
| 50d16aec-adaf-431d-9b42-f8aff78ea5b8 | gw1             | null                  | False       | False |<br>
| 546456aa-a312-48d5-8a3b-6031b1dcb3a9 | OskarTestRouter | null                  | False       | False |<br>
| 78feb17a-9a29-4ddb-9477-914850d8f5d2 | ElasticRouter   | null                  | False       | False |<br>
| 7a06a85c-826a-4f00-a62f-5ae8586ea1fb | adminTest       | null                  | False       | False |<br>
| 7ba38ec5-49d9-4fc8-b77f-ef8a38e79af3 | Safnið-router   | null                  | False       | False |<br>
| 9e367dd6-ab2c-4949-a5e4-4d8d2787d84b | gw              | null                  | False       | False |<br>
| f05c4cc8-724e-4731-bea3-6ef68d794137 | gw1             | null                  | False       | False |<br>
+--------------------------------------+-----------------+-----------------------+-------------+-------+<br>
root@opst-ctrl1-dev:/#<br>
<br>
<br>
but the port does not show up, when I list ports for each router with:<br>
<br>
neutron router-port-list  ROUTER-ID<br>
<br>
<br>
but it does show up in the general port-list , like<br>
<br>
root@opst-ctrl1-dev:/# neutron port-list | grep 157<br>
| 220f1ad2-10bb-4d17-8cc5-3ad4f86f0b00 |      | fa:16:3e:15:20:59 | {"subnet_id": "f505a109-07a7-420a-ae6b-aa5995126be7", "ip_address": "157.157.8.114"}  |<br>
<br>
<br>
Best regards<br>
Yngvi<br>
<br>
-----Original Message-----<br>
From: Brian Haley [mailto:<a href="mailto:brian.haley@hp.com">brian.haley@hp.com</a>]<br>
Sent: 8. september 2015 17:33<br>
To: Yngvi Páll Þorfinnsson <<a href="mailto:yngvith@siminn.is">yngvith@siminn.is</a>>; <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Subject: Re: [Openstack] port-delete issue<br>
<br>
My only other suggestion is to do a port-list with admin privs and look.  I can't tell if you're doing that as root != admin necessarily.<br>
<br>
-Brian<br>
<br>
On 09/08/2015 01:08 PM, Yngvi Páll Þorfinnsson wrote:<br>
> HI<br>
> I don't see a router attached :<br>
><br>
> root@opst-ctrl1-dev:/# neutron subnet-show ext-subnet<br>
> +-------------------+----------------------------------------------------+<br>
> | Field             | Value                                              |<br>
> +-------------------+----------------------------------------------------+<br>
> | allocation_pools  | {"start": "157.157.8.100", "end": "157.157.8.200"} |<br>
> | cidr              | <a href="http://157.157.8.0/24" rel="noreferrer" target="_blank">157.157.8.0/24</a>                                     |<br>
> | dns_nameservers   | 212.30.200.199                                     |<br>
> |                   | 212.30.200.200                                     |<br>
> | enable_dhcp       | True                                               |<br>
> | gateway_ip        | 157.157.8.1                                        |<br>
> | host_routes       |                                                    |<br>
> | id                | f505a109-07a7-420a-ae6b-aa5995126be7               |<br>
> | ip_version        | 4                                                  |<br>
> | ipv6_address_mode |                                                    |<br>
> | ipv6_ra_mode      |                                                    |<br>
> | name              | ext-subnet                                         |<br>
> | network_id        | 523721c5-ea5d-42a1-8920-8bc75010f273               |<br>
> | tenant_id         | 1dda2478e30d44dda0ca752c6047725d                   |<br>
> +-------------------+----------------------------------------------------+<br>
> root@opst-ctrl1-dev:/#<br>
><br>
> best regards<br>
> Yngvi<br>
><br>
><br>
> -----Original Message-----<br>
> From: Brian Haley [mailto:<a href="mailto:brian.haley@hp.com">brian.haley@hp.com</a>]<br>
> Sent: 8. september 2015 16:45<br>
> To: <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Subject: Re: [Openstack] port-delete issue<br>
><br>
> On 09/08/2015 12:01 PM, Yngvi Páll Þorfinnsson wrote:<br>
>> HI<br>
>><br>
>> I can't delete a subnet (id f505a109-07a7-420a-ae6b-aa5995126be7 ),<br>
>> because one port is still in use.<br>
>><br>
>> root@opst-ctrl1-dev:/# neutron subnet-delete<br>
>> f505a109-07a7-420a-ae6b-aa5995126be7<br>
>><br>
>> Unable to complete operation on subnet<br>
>> f505a109-07a7-420a-ae6b-aa5995126be7. One or more ports have an IP allocation from this subnet. (HTTP 409) (Request-ID:<br>
>> req-fbd64f19-2888-4d87-8e60-bc2cc920cd12)<br>
><br>
> Do you have a router on the subnet?  Try deleting it.<br>
><br>
> -Brian<br>
><br>
> _______________________________________________<br>
> Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
> Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
> Unsubscribe :<br>
> <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
><br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div>Kevin Benton</div></div>
</div>