Public bug reported:

When using odl mechanism driver and l3 odl plugin, the following
exception occurs

2015-07-13 19:09:22.568 ERROR oslo_messaging.rpc.dispatcher 
[req-e9a7622a-b904-4c43-9c17-2914a7f45963 None None] Exception during message 
handling: 'OpenDaylightL3RouterPlug
in' object has no attribute 'dvr_deletens_if_no_port'
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher Traceback (most 
recent call last):
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
142, in _dispatch_and_repl
y
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
executor_callback))
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
186, in _dispatch
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
executor_callback)
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
130, in _do_dispatch
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     result = 
func(ctxt, **new_args)
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/odl/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 170, in 
release_dhcp_por
t
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
plugin.delete_ports_by_device_id(context, device_id, network_id)
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/odl/neutron/neutron/db/db_base_plugin_v2.py", line 884, in 
delete_ports_by_devic
e_id
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
self.delete_port(context, port_id)
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 146, in wrapper
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     ectxt.value = 
e.inner_exc
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 119, in 
__exit__
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
six.reraise(self.type_, self.value, self.tb)
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 136, in wrapper
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     return f(*args, 
**kwargs)
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/odl/neutron/neutron/plugins/ml2/plugin.py", line 1291, in delete_port
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     removed_routers 
= l3plugin.dvr_deletens_if_no_port(
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher AttributeError: 
'OpenDaylightL3RouterPlugin' object has no attribute 'dvr_deletens_if_no_port'
2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  ml2 triggers attribute error for dvr_deletens_if_no_port

Status in neutron:
  New

Bug description:
  When using odl mechanism driver and l3 odl plugin, the following
  exception occurs

  2015-07-13 19:09:22.568 ERROR oslo_messaging.rpc.dispatcher 
[req-e9a7622a-b904-4c43-9c17-2914a7f45963 None None] Exception during message 
handling: 'OpenDaylightL3RouterPlug
  in' object has no attribute 'dvr_deletens_if_no_port'
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher Traceback (most 
recent call last):
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
142, in _dispatch_and_repl
  y
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
executor_callback))
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
186, in _dispatch
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
executor_callback)
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_messaging/rpc/dispatcher.py", line 
130, in _do_dispatch
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     result = 
func(ctxt, **new_args)
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/odl/neutron/neutron/api/rpc/handlers/dhcp_rpc.py", line 170, in 
release_dhcp_por
  t
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
plugin.delete_ports_by_device_id(context, device_id, network_id)
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/odl/neutron/neutron/db/db_base_plugin_v2.py", line 884, in 
delete_ports_by_devic
  e_id
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
self.delete_port(context, port_id)
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 146, in wrapper
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     ectxt.value = 
e.inner_exc
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 119, in 
__exit__
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
six.reraise(self.type_, self.value, self.tb)
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 136, in wrapper
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     return 
f(*args, **kwargs)
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher   File 
"/odl/neutron/neutron/plugins/ml2/plugin.py", line 1291, in delete_port
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher     
removed_routers = l3plugin.dvr_deletens_if_no_port(
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher AttributeError: 
'OpenDaylightL3RouterPlugin' object has no attribute 'dvr_deletens_if_no_port'
  2015-07-13 19:09:22.568 TRACE oslo_messaging.rpc.dispatcher

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to