[Rdo-list] Can't delete network from neutron
David Ocana
docana at ebi.ac.uk
Thu Jan 15 16:44:17 UTC 2015
Hi Rushi,
Thanks for the quick reply. Actually the router was removed before
trying to delete the subnet , and I tried removing it all first from the
UI but as I coudln't, I started using the neutron commands.
I think there is still some trace of the relationship between the port
and the router and that may be the reason why I can't delete it, but
that's my guess
# neutron port-show e5d4effb-6a67-4f90-ad2c-01dca00c9e42
+-----------------------+------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+------------------------------------------------------------------------------------+
| admin_state_up | False |
| allowed_address_pairs | |
| binding:host_id | intcl01-hyp02.ebi.ac.uk |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug":
true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | e5057310-02a0-447c-ab77-4528e821cd84 |
| device_owner | network:router_interface | (this one here)
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id":
"329476b1-7ea7-41e5-a357-445b143086fe", "ip_address": "192.168.1.1"} |
| id | e5d4effb-6a67-4f90-ad2c-01dca00c9e42 |
| mac_address | fa:16:3e:ff:ee:1d |
| name | to_delete |
| network_id | 9a427447-3f9f-4dc5-94f8-bc273a7e7cf0 |
| security_groups | |
| status | DOWN |
| tenant_id | beea649440944f8ab232c0f8cf84d54d |
+-----------------------+------------------------------------------------------------------------------------+
Cheers,
David
On 15/01/15 15:51, Ns, Rushi wrote:
> You need remove router and interface then remove subnet as well others, you can do all these on dashboard with user admin, please remove router first . Let me know.
>
> BR,
> Rushi
> Sent from my iPhone
> please excuse typos and brevity
>
>> On Jan 15, 2015, at 7:42 AM, David Ocana <docana at ebi.ac.uk> wrote:
>>
>> Hi everyone,
>>
>> I installed juno rdo and I was playing with it until I got stuck trying to delete a private network. I have been googling around I found possible reasons but none of the solutions worked for me.
>>
>> Here is what I did:
>>
>> # neutron net-delete 9a427447-3f9f-4dc5-94f8-bc273a7e7cf0
>> Conflict (HTTP 409) (Request-ID: req-d1c79aaa-25f4-40cf-91c4-fde63d54708a)
>>
>> So I thought I had to delete the subnet first:
>>
>> # neutron subnet-delete 329476b1-7ea7-41e5-a357-445b143086fe
>> Conflict (HTTP 409) (Request-ID: req-7ff81f34-10ee-4eb1-b3f0-ebbc7283af4e)
>>
>> Then I checked if there were any ports for this subnet:
>>
>> # neutron port-list | grep 329
>> | e5d4effb-6a67-4f90-ad2c-01dca00c9e42 | | fa:16:3e:ff:ee:1d | {"subnet_id": "329476b1-7ea7-41e5-a357-445b143086fe", "ip_address": "192.168.1.1"} |
>>
>> Then I tried to delete the port but I get the same:
>>
>> # neutron port-delete e5d4effb-6a67-4f90-ad2c-01dca00c9e42
>> Conflict (HTTP 409) (Request-ID: req-6e8789f4-cd92-46fb-9ff4-db14faeb6503)
>>
>> I tried disabling the port first but it didn't work either. Tenant is brand new, has no instances, no volumes, nothing besides the network.
>>
>> Any ideas?
>>
>> Thanks,
>> David
>>
>> _______________________________________________
>> Rdo-list mailing list
>> Rdo-list at redhat.com
>> https://www.redhat.com/mailman/listinfo/rdo-list
More information about the dev
mailing list