← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1474639] Re: _delete_port is still used by dvr

 

** Changed in: neutron
       Status: Fix Committed => Fix Released

** Changed in: neutron
    Milestone: None => liberty-2

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1474639

Title:
  _delete_port is still used by dvr

Status in neutron:
  Fix Released

Bug description:
  recent ipam change I81806a43ecc6f0a7b293ce3e70d09d1e266b9f02
  effectively removed _delete_port from NeutronDbPluginV2.
  unfortunately it's still used directly by l3_dvr_db.

  http://logstash.openstack.org/#eyJzZWFyY2giOiJtZXNzYWdlOiBcIkF0dHJpYnV0ZUVycm9yOiAnTWwyUGx1Z2luJyBvYmplY3QgaGFzIG5vIGF0dHJpYnV0ZSAnX2RlbGV0ZV9wb3J0J1wiIiwiZmllbGRzIjpbXSwib2Zmc2V0IjowLCJ0aW1lZnJhbWUiOiI2MDQ4MDAiLCJncmFwaG1vZGUiOiJjb3VudCIsInRpbWUiOnsidXNlcl9pbnRlcnZhbCI6MH0sInN0YW1wIjoxNDM2OTMxOTA3NjkwfQ==

  2015-07-14 21:34:17.248 ERROR neutron.api.v2.resource [req-7f4c4fbd-3354-484a-befa-401b5c461d5c tempest-FloatingIPsTestJSON-1081786723 tempest-FloatingIPsTestJSON-110914648] delete failed
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource Traceback (most recent call last):
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/resource.py", line 83, in resource
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     result = method(request=request, **args)
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 146, in wrapper
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     ectxt.value = e.inner_exc
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 119, in __exit__
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     six.reraise(self.type_, self.value, self.tb)
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 136, in wrapper
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     return f(*args, **kwargs)
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/api/v2/base.py", line 498, in delete
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     obj_deleter(request.context, id, **kwargs)
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/l3_dvr_db.py", line 254, in delete_floatingip
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     admin_ctx, floatingip)
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/l3_dvr_db.py", line 247, in _clear_unused_fip_agent_gw_port
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     context, fip_hostid, floatingip_db['floating_network_id'])
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource   File "/opt/stack/new/neutron/neutron/db/l3_dvr_db.py", line 538, in _delete_floatingip_agent_gateway_port
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource     self._core_plugin._delete_port(context, p['id'])
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource AttributeError: 'Ml2Plugin' object has no attribute '_delete_port'
  2015-07-14 21:34:17.248 22651 ERROR neutron.api.v2.resource

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


References