[Bug 1570356] Re: unable to load plugins in Centos
Brian Murray
brian at ubuntu.com
Thu Feb 2 22:59:21 UTC 2017
Hello Juan, or anyone else affected,
Accepted barbican into xenial-proposed. The package will build now and
be available at
https://launchpad.net/ubuntu/+source/barbican/1:2.0.0-0ubuntu1.1 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how
to enable and use -proposed.Your feedback will aid us getting this
update out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: barbican (Ubuntu Xenial)
Status: In Progress => Fix Committed
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to barbican in Ubuntu.
https://bugs.launchpad.net/bugs/1570356
Title:
unable to load plugins in Centos
Status in Barbican:
Fix Released
Status in barbican package in Ubuntu:
Fix Released
Status in barbican source package in Xenial:
Fix Committed
Bug description:
The certificate_manager module in barbican/plugins/interface creates
an instance of _CertificateEventPluginManager whithin that same
module. the _CertificateEventPluginManager in turn, imports the
plugins, which import the certificate_manager module itself. So in
Centos we see that this causes an error when trying to import the
modules:
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: cannot import name certificate_manager
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: Traceback (most recent call last):
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 163, in _load_plugins
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: verify_requirements,
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: File "/usr/lib/python2.7/site-packages/stevedore/named.py", line 123, in _load_one_plugin
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: verify_requirements,
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: File "/usr/lib/python2.7/site-packages/stevedore/extension.py", line 184, in _load_one_plugin
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: plugin = ep.resolve()
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 2208, in resolve
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: module = __import__(self.module_name, fromlist=['__name__'], level=0)
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: File "/usr/lib/python2.7/site-packages/barbican/plugin/simple_certificate_manager.py", line 19, in <module>
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: from barbican.plugin.interface import certificate_manager as cert
Apr 11 15:33:31 centos-7-ovh-gra1-54094 gunicorn[25012]: ImportError: cannot import name certificate_manager
This is due to the circular dependency I mentioned above.
To manage notifications about this bug go to:
https://bugs.launchpad.net/barbican/+bug/1570356/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list