← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1294920] [NEW] delete a net reports wrong information in nova-network

 

Public bug reported:

we should handle NetworkInUse exception in api layer

[root@controller ~]# nova net-delete be95de64-a2aa-42de-a522-37802cdbe133
ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-14462746-5ab9-4eec-819f-d330222a66a0)

api log:

2014-03-19 02:26:11.856 12319 ERROR nova.api.openstack
[req-14462746-5ab9-4eec-819f-d330222a66a0
d6779a827003465db2d3c52fe135d926 45210fba73d24dd681dc5c292c6b1e7f]
Caught error: Network 1 is still in use.

File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 2483, in network_delete_safe
    raise exception.NetworkInUse(network_id=network_id)

** Affects: nova
     Importance: Undecided
     Assignee: jichencom (jichenjc)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => jichencom (jichenjc)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1294920

Title:
  delete a net reports wrong information in nova-network

Status in OpenStack Compute (Nova):
  New

Bug description:
  we should handle NetworkInUse exception in api layer

  [root@controller ~]# nova net-delete be95de64-a2aa-42de-a522-37802cdbe133
  ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-14462746-5ab9-4eec-819f-d330222a66a0)

  api log:

  2014-03-19 02:26:11.856 12319 ERROR nova.api.openstack
  [req-14462746-5ab9-4eec-819f-d330222a66a0
  d6779a827003465db2d3c52fe135d926 45210fba73d24dd681dc5c292c6b1e7f]
  Caught error: Network 1 is still in use.

  File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/api.py", line 2483, in network_delete_safe
      raise exception.NetworkInUse(network_id=network_id)

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1294920/+subscriptions


Follow ups

References