yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #00346
[Bug 1093754] Re: Invalid output when deleting a subnet with a port attached
** Changed in: quantum/folsom
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to quantum.
https://bugs.launchpad.net/bugs/1093754
Title:
Invalid output when deleting a subnet with a port attached
Status in OpenStack Quantum (virtual network service):
Fix Released
Status in quantum folsom series:
Fix Released
Bug description:
openstack@ubuntu-devstack:~/devstack$ quantum subnet-list
+--------------------------------------+------+-----------------+--------------------------------------------------+
| id | name | cidr | allocation_pools |
+--------------------------------------+------+-----------------+--------------------------------------------------+
| e6fc7929-a5e4-4e30-956b-cb3ffa457575 | | 10.0.0.0/24 | {"start": "10.0.0.2", "end": "10.0.0.254"} |
| f6258283-6c83-43a3-8ef8-62c123734c1b | | 172.24.4.224/28 | {"start": "172.24.4.226", "end": "172.24.4.238"} |
+--------------------------------------+------+-----------------+--------------------------------------------------+
openstack@ubuntu-devstack:~/devstack$ quantum subnet-delete f6258283-6c83-43a3-8ef8-62c123734c1b
Unable to complete operation on network %(net_id)s. There is one or more ports still in use on the network.
openstack@ubuntu-devstack:~/devstack$
2012-12-25 05:25:09 10889 TRACE quantum.api.v2.resource
2012-12-25 05:25:31 10889 ERROR quantum.api.v2.resource [-] delete failed
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource Traceback (most recent call last):
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/resource.py", line 96, in resource
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource result = method(request=request, **args)
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/api/v2/base.py", line 373, in delete
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource obj_deleter(request.context, id, **kwargs)
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource File "/opt/stack/quantum/quantum/db/db_base_plugin_v2.py", line 1167, in delete_subnet
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource raise q_exc.NetworkInUse(subnet_id=id)
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource NetworkInUse: Unable to complete operation on network %(net_id)s. There is one or more ports still in use on the network.
2012-12-25 05:25:31 10889 TRACE quantum.api.v2.resource
To manage notifications about this bug go to:
https://bugs.launchpad.net/quantum/+bug/1093754/+subscriptions