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.den...@rackspace.com<mailto:james.den...@rackspace.com>

From: Remo Mattei <r...@italy1.com>
Date: Friday, September 2, 2016 at 2:54 PM
To: Satish Patel <satish....@gmail.com>
Cc: openstack <openstack@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....@gmail.com<mailto:satish....@gmail.com>> ha scritto:
[root@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@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@lists.openstack.org<mailto:openstack@lists.openstack.org>
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

!DSPAM:1,57c9d5a3234561354010822!
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to