'NoneType' object has no attribute 'address_scope_id'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Manila-Ganesha Charm |
Fix Released
|
High
|
Unassigned | ||
neutron |
Invalid
|
Undecided
|
Unassigned |
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.
neutron-server's logs show:
Error during notification for neutron_
Traceback (most recent call last):
File "/usr/lib/
callback(
File "/usr/lib/
ext_nets = self.get_
File "/usr/lib/
ext_
AttributeError: 'NoneType' object has no attribute 'address_scope_id'
Failed to bind port c2e062b7-
0: https:/
1: https:/
tags: | added: l3-bgp |
Changed in charm-manila-ganesha: | |
status: | In Progress → Fix Released |
assignee: | Aurelien Lourot (aurelien-lourot) → nobody |
I'm able to reproduce it locally and I'm wondering how we end up running some bgp code in this setup. This actually seems to be caused by our Juju config `neutron-plugin: ovs`, which shouldn't be used on Ussuri+:
https:/ /opendev. org/openstack/ charm-neutron- api/src/ branch/ master/ hooks/neutron_ api_context. py#L567 /opendev. org/openstack/ charm-neutron- api/src/ branch/ master/ hooks/neutron_ api_context. py#L618
https:/