[focal-ussuri] AttributeError: 'NoneType' object has no attribute 'address_scope_id'

Bug #1879921 reported by Dmitrii Shcherbakov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron-dynamic-routing (Ubuntu)
New
Undecided
Unassigned

Bug Description

While investigating https://bugs.launchpad.net/charm-manila-ganesha/+bug/1879908, I encountered errors related to neutron-dynamic-routing:

2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager [req-74431ceb-ff96-4906-9a44-48d5bb630e31 dee5f0d2f3674b299f50b71400ed578e 6de081c45ce24eba9a492919b947939e - 9c299c599c024073ad9a89c0407d74e2 9c299c599c024073ad9a89c0407d74e2] Error during notification for neutron_dynamic_routing.services.bgp.bgp_plugin.BgpPlugin.port_callback-112253 port, after_update: AttributeError: 'NoneType' object has no attribute 'address_scope_id'
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager Traceback (most recent call last):
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager File "/usr/lib/python3/dist-packages/neutron_lib/callbacks/manager.py", line 197, in _notify_loop
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager callback(resource, event, trigger, **kwargs)
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager File "/usr/lib/python3/dist-packages/neutron_dynamic_routing/services/bgp/bgp_plugin.py", line 368, in port_callback
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager ext_nets = self.get_external_networks_for_port(ctx,
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager File "/usr/lib/python3/dist-packages/neutron_dynamic_routing/db/bgp_db.py", line 1189, in get_external_networks_for_port
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager ext_scope_set.add(ext_pool.address_scope_id)
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager AttributeError: 'NoneType' object has no attribute 'address_scope_id'
2020-05-20 23:11:14.050 40970 ERROR neutron_lib.callbacks.manager

https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-manila/726804/2/5853/index.html

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.