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)
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.
I tried this on my devstack environment, with neutron as my networking service, and got:
$ nova net-delete <uuid> 9d1e-41cb- b55f-bb9fdea303 a0)
ERROR (ClientException): The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-a7c2f648-
Trace: nova/nova/ api/openstack/ compute/ contrib/ os_tenant_ networks. py", line 135, in delete api.delete( context, id) nova/nova/ network/ neutronv2/ api.py" , line 872, in delete rror()
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack self.network_
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack File "/opt/stack/
2014-08-12 10:43:27.597 21183 TRACE nova.api.openstack raise NotImplementedE
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.