[Openstack] How to delete nets and subnets. part 2.

comiqadze comiq at yandex.ru
Thu Jul 11 15:00:47 UTC 2013


Hi there,
I need to delete subnet and net and then create new ones.

I type command:
quantum net-delete xxx
quantum subnet-delete xxx

But: Unable to complete operation on network 2b4be3e0-213f-45af-8a84-933f4f73e3c2. There are one or more ports still in use on the network.
and: Unable to complete operation on subnet f1f1362b-770c-4d90-b4ae-a3889f9b02a4. One or more ports have an IP allocation from this subnet.

I deleted all external routers, so router-list gives null result. Tried to delete port gateway by router-gateway-clear, but I need to specify router, and there are no routers!

port-list gives:
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| id                                   | name | mac_address       | fixed_ips                                                                             |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+
| 116298a9-69dd-4a6e-85c8-05f5295f9678 |      | fa:16:3e:c4:7f:5d | {"subnet_id": "f1f1362b-770c-4d90-b4ae-a3889f9b02a4", "ip_address": "x.x.x.x"} |
| 358b0841-d249-4483-9be2-74e3886c233e |      | fa:16:3e:d9:df:cf | {"subnet_id": "f1f1362b-770c-4d90-b4ae-a3889f9b02a4", "ip_address": "x.x.x.x"} |
+--------------------------------------+------+-------------------+---------------------------------------------------------------------------------------+

When I want to port-delete:
Port 116298a9-69dd-4a6e-85c8-05f5295f9678 has owner network:floatingip and therefore cannot be deleted directly via the port API.

I don't know how to find all the traces and to delete the network, please help me!
Thank you very much to all who can help.




More information about the Openstack mailing list