contrail-neutron-plugin icon indicating copy to clipboard operation
contrail-neutron-plugin copied to clipboard

Import of attributes fails in Neutron v18 (Rocky)

Open busterswt opened this issue 6 years ago • 0 comments

When loading neutron-server an error occurs:

Unrecoverable error: please check log for details.: ExtensionsNotFound: Extensions not found: ['route-table']. Related to WARNING neutron.api.extensions [-] Extension file vpcroutetable.py wasn't loaded due to cannot import name attributes.

vpcroutetable.py attempts to import attributes from neutron.api.v2:

from neutron.api.v2 import attributes as attr

attributes.py no longer exists, and methods have moved to neutron_lib. Patched the file like so:

from neutron_lib.api import attributes as attr #from neutron.api.v2 import attributes as attr

Other extensions, like loadbalancercustomattributes.py, may also have the same issue.

busterswt avatar Jun 18 '18 15:06 busterswt