Comment 1 for bug 1343458

Revision history for this message
Thang Pham (thang-pham) wrote :

I tried this on my devstack environment, with neutron as my networking service, and got:

$ nova net-delete <uuid>
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-a7c2f648-9d1e-41cb-b55f-bb9fdea303a0)

Trace:
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack File "/opt/stack/nova/nova/api/openstack/compute/contrib/os_tenant_networks.py", line 135, in delete
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack self.network_api.delete(context, id)
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack File "/opt/stack/nova/nova/network/neutronv2/api.py", line 872, in delete
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack raise NotImplementedError()
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack NotImplementedError

The error (HTTP500) appears correct. Looking at the code, nova/network/neutronv2/api.py, delete() is raising a NotImplementedError exception. I am not sure why that part of the code is left unimplemented, but using the neutron CLI works fine.