karbor-protection could not load plugin karbor.services.protection.provider.ProviderRegistry

Bug #1701786 reported by Jeremy Liu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Karbor
Fix Released
Undecided
Jeremy Liu

Bug Description

When starting karbor-protection, it could not load plugin karbor.services.protection.provider.ProviderRegistry

Jul 01 06:44:45.649774 ubuntu-xenial-citycloud-sto2-9611206 systemd[1]: Started Devstack <email address hidden>.
Jul 01 06:44:47.581113 ubuntu-xenial-citycloud-sto2-9611206 karbor-protection[13627]: 2017-07-01 06:44:47.580 DEBUG oslo_db.api [-] Loading backend 'sqlalchemy' from 'karbor.db.sqlalchemy.api' from (pid=13627) _load_backend /usr/local/lib/python2.7/dist-packages/oslo_db/api.py:237
Jul 01 06:44:47.591408 ubuntu-xenial-citycloud-sto2-9611206 karbor-protection[13627]: /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/enginefacade.py:323: NotSupportedWarning: Configuration option(s) ['use_tpool'] not supported
Jul 01 06:44:47.591524 ubuntu-xenial-citycloud-sto2-9611206 karbor-protection[13627]: exception.NotSupportedWarning
Jul 01 06:44:47.612324 ubuntu-xenial-citycloud-sto2-9611206 karbor-protection[13627]: 2017-07-01 06:44:47.608 DEBUG oslo_db.sqlalchemy.engines [-] MySQL server mode set to STRICT_TRANS_TABLES,STRICT_ALL_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,TRADITIONAL,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION from (pid=13627) _check_effective_sql_mode /usr/local/lib/python2.7/dist-packages/oslo_db/sqlalchemy/engines.py:280
Jul 01 06:44:47.612453 ubuntu-xenial-citycloud-sto2-9611206 karbor-protection[13627]: 2017-07-01 06:44:47.611 DEBUG karbor.utils [-] Start load plugin karbor.services.protection.provider.ProviderRegistry. from (pid=13627) load_class /opt/stack/new/karbor/karbor/utils.py:106
Jul 01 06:44:47.613092 ubuntu-xenial-citycloud-sto2-9611206 karbor-protection[13627]: 2017-07-01 06:44:47.612 WARNING stevedore.named [-] Could not load karbor.services.protection.provider.ProviderRegistry

Jeremy Liu (liujiong)
Changed in karbor:
assignee: nobody → Jeremy Liu (liujiong)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to karbor (master)

Fix proposed to branch: master
Review: https://review.openstack.org/479476

Changed in karbor:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to karbor (master)

Reviewed: https://review.openstack.org/479476
Committed: https://git.openstack.org/cgit/openstack/karbor/commit/?id=ccb4985aec3f3e4e89ea73b239510e6e1b74c39a
Submitter: Jenkins
Branch: master

commit ccb4985aec3f3e4e89ea73b239510e6e1b74c39a
Author: Jeremy Liu <email address hidden>
Date: Sat Jul 1 16:21:18 2017 +0800

    Fix bug: karbor-protection can not load provider-registry

    We should provide the plugin name as defined in entry_point instead of
    the path for the plugin when loading by stevedore.

    Change-Id: I1b95699befd1e8a6d7cfdc61d0fe98e8c3c61ca0
    Closes-bug: #1701786

Changed in karbor:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/karbor 0.4.0

This issue was fixed in the openstack/karbor 0.4.0 release.

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.