[Openstack] delete router interface issue

James Denton james.denton at rackspace.com
Fri Sep 2 20:08:45 UTC 2016


Hi Satish,

It’s hard to tell from this output, the port was likely added using the ‘router-gateway-set’ command. Try using the ‘router-gateway-clear <router> <external_network_id>’ command and syntax instead. You can only delete ports with router-interface-delete if they were added with ‘router-interface-add’.



--
James Denton
Network Architect
Rackspace Private Cloud
james.denton at rackspace.com<mailto:james.denton at rackspace.com>

From: Remo Mattei <Remo at Italy1.com>
Date: Friday, September 2, 2016 at 2:54 PM
To: Satish Patel <satish.txt at gmail.com>
Cc: openstack <openstack at lists.openstack.org>
Subject: Re: [Openstack] delete router interface issue

Does it have floating IP from the pool? If you look only one will be active. Delete the not used port

Inviato da iPhone

Il giorno 02 set 2016, alle ore 12:36, Satish Patel <satish.txt at gmail.com<mailto:satish.txt at gmail.com>> ha scritto:
[root at controller-1 ~(keystone_admin)]# neutron router-port-list Router1
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| id                                   | name | mac_address       |
fixed_ips
             |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+
| 95f3e5a4-81c4-4af2-b8f0-c3ec229d3b91 |      | fa:16:3e:ef:2d:f8 |
{"subnet_id": "88bfba15-1451-4928-9e43-23ee7071f7af", "ip_address":
"64.xx.xx.100"} |
| bf3e5f40-7b43-469f-ab22-4f08e82f73b6 |      | fa:16:3e:8a:62:6b |
{"subnet_id": "7adcc689-afbb-47d5-9ba5-505a3b19a55e", "ip_address":
"192.168.5.5"}   |
| c9e48c7f-7aca-4489-ae61-f28b79cd15cf |      | fa:16:3e:c7:b1:3f |
{"subnet_id": "7adcc689-afbb-47d5-9ba5-505a3b19a55e", "ip_address":
"192.168.5.1"}   |
| f27960d9-80bd-4039-a64e-08d5209beb5f |      | fa:16:3e:ad:2a:cc |
{"subnet_id": "68da8fdd-3ef6-416d-b386-d13d9024f592", "ip_address":
"10.5.2.182"}    |
+--------------------------------------+------+-------------------+--------------------------------------------------------------------------------------+

I am trying to delete 64.xx.xx.100 interface but getting weird error

[root at controller-1 ~(keystone_admin)]# neutron router-interface-delete
ddbab37b-1b6d-43a4-8f78-0b8cdc8bf624
88bfba15-1451-4928-9e43-23ee7071f7af
Router ddbab37b-1b6d-43a4-8f78-0b8cdc8bf624 has no interface on subnet
88bfba15-1451-4928-9e43-23ee7071f7af
Neutron server returns request_ids: ['req-06ba6a76-4812-4130-875e-a993d9c45e98']

How should i delete this interface? By mistake i add two external
gateway and not i stuck here

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

!DSPAM:1,57c9d5a3234561354010822!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160902/508e1695/attachment.html>


More information about the Openstack mailing list