← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1293539] [NEW] NeutronV2 API is missing associate method.

 

Public bug reported:

Using nova network-associate-host w/neutron an error is returned because
associate method is not defined in NeutronV2API.

Also, NotImplementedError is not being handled.

----
2014-03-17 09:12:15.783 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
2014-03-17 09:12:15.783 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1070, in dispatch
2014-03-17 09:12:15.783 TRACE nova.api.openstack     return method(req=request, **action_args)
2014-03-17 09:12:15.783 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/compute/contrib/networks_associate.py", line 60, in _associate_host
2014-03-17 09:12:15.783 TRACE nova.api.openstack     self.network_api.associate(context, id,
2014-03-17 09:12:15.783 TRACE nova.api.openstack AttributeError: 'API' object has no attribute 'associate'
2014-03-17 09:12:15.783 TRACE nova.api.openstack 
-------------------------

** Affects: nova
     Importance: Undecided
     Assignee: Leandro Ignacio Costantino (leandro-i-costantino)
         Status: In Progress

** Changed in: nova
     Assignee: (unassigned) => Leandro Ignacio Costantino (leandro-i-costantino)

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

Title:
  NeutronV2 API is missing associate method.

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Using nova network-associate-host w/neutron an error is returned
  because associate method is not defined in NeutronV2API.

  Also, NotImplementedError is not being handled.

  ----
  2014-03-17 09:12:15.783 TRACE nova.api.openstack     action_result = self.dispatch(meth, request, action_args)
  2014-03-17 09:12:15.783 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/wsgi.py", line 1070, in dispatch
  2014-03-17 09:12:15.783 TRACE nova.api.openstack     return method(req=request, **action_args)
  2014-03-17 09:12:15.783 TRACE nova.api.openstack   File "/opt/stack/nova/nova/api/openstack/compute/contrib/networks_associate.py", line 60, in _associate_host
  2014-03-17 09:12:15.783 TRACE nova.api.openstack     self.network_api.associate(context, id,
  2014-03-17 09:12:15.783 TRACE nova.api.openstack AttributeError: 'API' object has no attribute 'associate'
  2014-03-17 09:12:15.783 TRACE nova.api.openstack 
  -------------------------

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


Follow ups

References