[Bug 1526659] Re: The barbican package is missing a dependancy on python-pymysql

Brian Murray brian at ubuntu.com
Thu Dec 17 19:02:23 UTC 2015


Hello Liam, or anyone else affected,

Accepted barbican into wily-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/barbican/1:1.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 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 Wily)
       Status: Triaged => 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/1526659

Title:
   The barbican package is missing a dependancy on python-pymysql

Status in barbican package in Ubuntu:
  Triaged
Status in barbican source package in Wily:
  Fix Committed
Status in barbican source package in Xenial:
  Triaged

Bug description:
  [Impact]
  barbican services are not immediately usable with the preferred storage backend, mysql.

  [Test Case]
  Install barbican-api with mysql backend configuration
  Barbican will throw a stack trace whilst trying to create the DB

  [Regression Potential]
  Addition of recommends for pymysql; so minimal.

  [Original Bug Report]
  If barbican is configured to use a mysql database then the barbican-api server fails to start with:

  2015-12-16 08:07:07.273 20728 CRITICAL barbican [-] BarbicanException: Error configuring registry database with supplied sql_connection. Got error: No module named pymysql
  2015-12-16 08:07:07.273 20728 ERROR barbican Traceback (most recent call last):
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 247, in loadapp
  2015-12-16 08:07:07.273 20728 ERROR barbican     return loadobj(APP, uri, name=name, **kw)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 272, in loadobj
  2015-12-16 08:07:07.273 20728 ERROR barbican     return context.create()
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
  2015-12-16 08:07:07.273 20728 ERROR barbican     return self.object_type.invoke(self)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 144, in invoke
  2015-12-16 08:07:07.273 20728 ERROR barbican     **context.local_conf)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
  2015-12-16 08:07:07.273 20728 ERROR barbican     val = callable(*args, **kw)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/urlmap.py", line 28, in urlmap_factory
  2015-12-16 08:07:07.273 20728 ERROR barbican     app = loader.get_app(app_name, global_conf=global_conf)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 350, in get_app
  2015-12-16 08:07:07.273 20728 ERROR barbican     name=name, global_conf=global_conf).create()
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
  2015-12-16 08:07:07.273 20728 ERROR barbican     return self.object_type.invoke(self)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 203, in invoke
  2015-12-16 08:07:07.273 20728 ERROR barbican     app = context.app_context.create()
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 710, in create
  2015-12-16 08:07:07.273 20728 ERROR barbican     return self.object_type.invoke(self)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/loadwsgi.py", line 146, in invoke
  2015-12-16 08:07:07.273 20728 ERROR barbican     return fix_call(context.object, context.global_conf, **context.local_conf)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/paste/deploy/util.py", line 55, in fix_call
  2015-12-16 08:07:07.273 20728 ERROR barbican     val = callable(*args, **kw)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/barbican/api/app.py", line 76, in _wrapper
  2015-12-16 08:07:07.273 20728 ERROR barbican     repositories.setup_database_engine_and_factory()
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/barbican/model/repositories.py", line 100, in setup_database_engine_and_factory
  2015-12-16 08:07:07.273 20728 ERROR barbican     _ENGINE = _get_engine(_ENGINE)
  2015-12-16 08:07:07.273 20728 ERROR barbican   File "/usr/lib/python2.7/dist-packages/barbican/model/repositories.py", line 185, in _get_engine
  2015-12-16 08:07:07.273 20728 ERROR barbican     raise exception.BarbicanException(msg)
  2015-12-16 08:07:07.273 20728 ERROR barbican BarbicanException: Error configuring registry database with supplied sql_connection. Got error: No module named pymysql
  2015-12-16 08:07:07.273 20728 ERROR barbican

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/barbican/+bug/1526659/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list