← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1171284] Re: A network can't be disassociated from a project

 

** Also affects: nova/grizzly
   Importance: Undecided
       Status: New

** Changed in: nova/grizzly
       Status: New => Fix Committed

** Changed in: nova/grizzly
    Milestone: None => 2013.1.5

** Changed in: nova/grizzly
   Importance: Undecided => Medium

** Changed in: nova/grizzly
     Assignee: (unassigned) => Matt Riedemann (mriedem)

-- 
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/1171284

Title:
  A network can't be disassociated from a project

Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) grizzly series:
  Fix Committed

Bug description:
  In vlan mode when I tried to disassociate a network from a project
  with " nova network-disassociate", I got the error as follows:

  $ nova network-disassociate f40cf324-15ee-42be-8e1d-b590675aafcc
  ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-cd1c726b-d06e-49d8-a948-24e2e453439a)

  2013-04-22 02:37:53    ERROR [nova.api.openstack] Caught error: 'project'
  Traceback (most recent call last):
    File "/opt/stack/nova/nova/api/openstack/__init__.py", line 81, in __call__
      return req.get_response(self.application)
    File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
      application, catch_exc_info=False)
    File "/usr/local/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
      app_iter = application(self.environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/opt/stack/python-keystoneclient/keystoneclient/middleware/auth_token.py", line 451, in __call__
      return self.app(env, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
      response = self.app(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
      return resp(environ, start_response)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
      resp = self.call_func(req, *args, **self.kwargs)
    File "/usr/local/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
      return self.func(req, *args, **kwargs)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 899, in __call__
      content_type, body, accept)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 951, in _process_stack
      action_result = self.dispatch(meth, request, action_args)
    File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1030, in dispatch
      return method(req=request, **action_args)
    File "/opt/stack/nova/nova/api/openstack/compute/contrib/os_networks.py", line 77, in _disassociate_host_and_project
      self.network_api.associate(context, id, host=None, project=None)
    File "/opt/stack/nova/nova/network/api.py", line 90, in wrapped
      return func(self, context, *args, **kwargs)
    File "/opt/stack/nova/nova/network/api.py", line 366, in associate
      project = associations['project']
  KeyError: 'project'
  2013-04-22 02:37:53     INFO [nova.api.openstack] http://192.168.1.100:8774/v2/c619271b17564eed8fbb17570492d2d3/os-networks/f40cf324-15ee-42be-8e1d-b590675aafcc/action returned with HTTP 500

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