← Back to team overview

group.of.nepali.translators team mailing list archive

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

 

This bug was fixed in the package barbican - 1:1.0.0-0ubuntu1.1

---------------
barbican (1:1.0.0-0ubuntu1.1) wily; urgency=medium

  * d/barbican-api.install: Install missing policy.json (LP: #1526655).
  * d/control: Add Recommends on python-pymysql (LP: #1526659).
  * d/control: Add missing runtime dependency on uwsgi-plugin-python
    (LP: #1526654).
  * d/barbican-api.upstart.in: Provide full upstart configuration as
    generation using openstack-pkg-tools is not supported for uwsgi
    applications (LP: #1526654).

 -- James Page <james.page@xxxxxxxxxx>  Wed, 16 Dec 2015 14:38:09 +0000

** Changed in: barbican (Ubuntu Wily)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1526659

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

Status in barbican package in Ubuntu:
  Fix Released
Status in barbican source package in Wily:
  Fix Released
Status in barbican source package in Xenial:
  Fix Released

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