yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #83978
[Bug 1895636] Re: 'NoneType' object has no attribute 'address_scope_id'
** Changed in: charm-manila-ganesha
Status: In Progress => Fix Released
** Changed in: charm-manila-ganesha
Assignee: Aurelien Lourot (aurelien-lourot) => (unassigned)
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1895636
Title:
'NoneType' object has no attribute 'address_scope_id'
Status in OpenStack Manila-Ganesha Charm:
Fix Released
Status in neutron:
Invalid
Bug description:
In this test run [0] we deploy [1] OpenStack Ussuri on Ubuntu focal
(20.04) with Neutron plugin 'ovs'. Creating an instance failed. nova-
compute reported:
Failed to build and run instance: nova.exception.PortBindingFailed:
Binding failed for port c2e062b7-0dbb-458e-87b5-4eef5930f1f1, please
check neutron logs for more information.
neutron-server's logs show:
Error during notification for neutron_dynamic_routing.services.bgp.bgp_plugin.BgpPlugin.port_callback-433877 port, after_update: AttributeError: 'NoneType' object has no attribute 'address_scope_id'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/neutron_lib/callbacks/manager.py", line 197, in _notify_loop
callback(resource, event, trigger, **kwargs)
File "/usr/lib/python3/dist-packages/neutron_dynamic_routing/services/bgp/bgp_plugin.py", line 368, in port_callback
ext_nets = self.get_external_networks_for_port(ctx,
File "/usr/lib/python3/dist-packages/neutron_dynamic_routing/db/bgp_db.py", line 1189, in get_external_networks_for_port
ext_scope_set.add(ext_pool.address_scope_id)
AttributeError: 'NoneType' object has no attribute 'address_scope_id'
Failed to bind port c2e062b7-0dbb-458e-87b5-4eef5930f1f1 on host juju-19a362-zaza-73e874daef6c-15.project.serverstack for vnic_type normal using segments [{'id': 'ce5ad0ec-44a0-46e8-bf7f-2794b7fdb508', 'network_type': 'gre', 'physical_network': None, 'segmentation_id': 1, 'network_id': 'c1a9e451-5e90-4124-a531-79f24f1bc9e6'}]
0: https://openstack-ci-reports.ubuntu.com/artifacts/test_charm_pipeline_func_full/openstack/charm-manila-ganesha/748639/3/6889/index.html
1: https://opendev.org/openstack/charm-manila-ganesha/src/branch/master/src/tests/bundles/focal-ussuri.yaml
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-manila-ganesha/+bug/1895636/+subscriptions
References