← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1856485] Re: ERROR neutron.manager [-] Plugin 'calico' not found.

 

Python 3 support was added in Calico v3.15
https://docs.projectcalico.org/release-notes/#v3150

The master networking-calico code now supports Python 3, and no longer
Python 2. There is a 'release-v3.15-python2' branch that still supports
Python 2, but we are hoping that maintenance of that branch can now be
short-lived.

** Changed in: networking-calico
       Status: New => Fix Released

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

Title:
  ERROR neutron.manager [-] Plugin 'calico' not found.

Status in networking-calico:
  Fix Released
Status in neutron:
  Invalid
Status in OpenStack Community Project:
  New
Status in Python Package Index:
  New
Status in Ubuntu Server:
  New
Status in Ubuntu:
  Confirmed

Bug description:
  Hi, I tried to install Openstack Train with neutron calico driver and getting the following exception:
  ERROR neutron.manager [-] Plugin ‘calico’ not found.
  Could someone help me understand if calico driver is ready for Openstack Train or Stein which is running with Python3.
  If it's still not ready and not working after few years, so what is the developing and QA cycles in calico for Openstack? And what is the solution? Or ETA for solution? Maybe someone can advise for better solution than going with calico to Production and latest Openstack release?
  Thanks..

  see neuton-server log

  2019-12-15 22:47:00.418 8031 INFO neutron.common.config [-] Logging enabled!
  2019-12-15 22:47:00.418 8031 INFO neutron.common.config [-] /usr/bin/neutron-server version 15.0.0
  2019-12-15 22:47:00.419 8031 INFO neutron.common.config [-] Logging enabled!
  2019-12-15 22:47:00.419 8031 INFO neutron.common.config [-] /usr/bin/neutron-server version 15.0.0
  2019-12-15 22:47:00.793 8031 INFO keyring.backend [-] Loading Gnome
  2019-12-15 22:47:00.811 8031 INFO keyring.backend [-] Loading Google
  2019-12-15 22:47:00.814 8031 INFO keyring.backend [-] Loading Windows (alt)
  2019-12-15 22:47:00.817 8031 INFO keyring.backend [-] Loading file
  2019-12-15 22:47:00.819 8031 INFO keyring.backend [-] Loading keyczar
  2019-12-15 22:47:00.819 8031 INFO keyring.backend [-] Loading multi
  2019-12-15 22:47:00.821 8031 INFO keyring.backend [-] Loading pyfs
  2019-12-15 22:47:00.855 8031 INFO neutron.manager [-] Loading core plugin: calico
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime [-] Error loading class by alias: stevedore.exception.NoMatches: No 'neutron.core_plugins' driver found, looking for 'calico'
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime Traceback (most recent call last):
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/neutron_lib/utils/runtime.py", line 114, in load_class_by_alias_or_classname
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime     namespace, name, warn_on_missing_entrypoint=False)
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 61, in __init__
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime     warn_on_missing_entrypoint=warn_on_missing_entrypoint
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/stevedore/named.py", line 89, in __init__
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime     self._init_plugins(extensions)
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 113, in _init_plugins
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime     (self.namespace, name))
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime stevedore.exception.NoMatches: No 'neutron.core_plugins' driver found, looking for 'calico'
  2019-12-15 22:47:00.856 8031 ERROR neutron_lib.utils.runtime
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime [-] Error loading class by class name: ValueError: Empty module name
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime Traceback (most recent call last):
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/neutron_lib/utils/runtime.py", line 114, in load_class_by_alias_or_classname
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime     namespace, name, warn_on_missing_entrypoint=False)
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 61, in __init__
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime     warn_on_missing_entrypoint=warn_on_missing_entrypoint
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/stevedore/named.py", line 89, in __init__
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime     self._init_plugins(extensions)
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 113, in _init_plugins
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime     (self.namespace, name))
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime stevedore.exception.NoMatches: No 'neutron.core_plugins' driver found, looking for 'calico'
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime During handling of the above exception, another exception occurred:
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime Traceback (most recent call last):
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/neutron_lib/utils/runtime.py", line 120, in load_class_by_alias_or_classname
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime     class_to_load = importutils.import_class(name)
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime   File "/usr/lib/python3/dist-packages/oslo_utils/importutils.py", line 30, in import_class
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime     __import__(mod_str)
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime ValueError: Empty module name
  2019-12-15 22:47:00.857 8031 ERROR neutron_lib.utils.runtime
  2019-12-15 22:47:00.858 8031 ERROR neutron.manager [-] Plugin 'calico' not found.
  2019-12-15 22:47:00.858 8031 ERROR neutron.service [-] Unrecoverable error: please check log for details.: ImportError: Class not found.
  2019-12-15 22:47:00.858 8031 ERROR neutron.service Traceback (most recent call last):
  2019-12-15 22:47:00.858 8031 ERROR neutron.service   File "/usr/lib/python3/dist-packages/neutron_lib/utils/runtime.py", line 114, in load_class_by_alias_or_classname
  2019-12-15 22:47:00.858 8031 ERROR neutron.service     namespace, name, warn_on_missing_entrypoint=False)
  2019-12-15 22:47:00.858 8031 ERROR neutron.service   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 61, in __init__
  2019-12-15 22:47:00.858 8031 ERROR neutron.service     warn_on_missing_entrypoint=warn_on_missing_entrypoint
  2019-12-15 22:47:00.858 8031 ERROR neutron.service   File "/usr/lib/python3/dist-packages/stevedore/named.py", line 89, in __init__
  2019-12-15 22:47:00.858 8031 ERROR neutron.service     self._init_plugins(extensions)
  2019-12-15 22:47:00.858 8031 ERROR neutron.service   File "/usr/lib/python3/dist-packages/stevedore/driver.py", line 113, in _init_plugins
  2019-12-15 22:47:00.858 8031 ERROR neutron.service     (self.namespace, name))
  2019-12-15 22:47:00.858 8031 ERROR neutron.service stevedore.exception.NoMatches: No 'neutron.core_plugins' driver found, looking for 'calico'
  2019-12-15 22:47:00.858 8031 ERROR neutron.service
  2019-12-15 22:47:00.858 8031 ERROR neutron.service During handling of the above exception, another exception occurred:

To manage notifications about this bug go to:
https://bugs.launchpad.net/networking-calico/+bug/1856485/+subscriptions