Install and configure for Ubuntu in Installation Guide for Key Manager Service

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

Bug Description

The database section for /etc/barbican/barbican.conf gives error if set this connection for mysql while populating the database using "su -s /bin/sh -c "barbican-manage db upgrade" barbican"
[database]
...
connection = mysql+pymysql://barbican:BARBICAN_DBPASS@controller/barbican

so it needs to be set to
[database]
...
sql_connection = mysql+pymysql://barbican:BARBICAN_DBPASS@controller/barbican

-----------------------------------
Release: 0.1 on 2017-01-03 19:35
SHA: 7c12b2a00b4f0f717351d544736599820936b288
Source: http://git.openstack.org/cgit/openstack/barbican/tree/install-guide/source/install-ubuntu.rst
URL: http://docs.openstack.org/project-install-guide/key-manager/draft/install-ubuntu.html

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

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

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

Reviewed: https://review.openstack.org/421699
Committed: https://git.openstack.org/cgit/openstack/barbican/commit/?id=61aa385e807af467648e7bc80d3b81a0552ef3c5
Submitter: Jenkins
Branch: master

commit 61aa385e807af467648e7bc80d3b81a0552ef3c5
Author: Jeremy Liu <email address hidden>
Date: Wed Jan 18 14:59:18 2017 +0800

    Correct configuration of db connection

    Change-Id: I314874866e725cf982a229cfebdffc7b3aa47a03
    Closes-bug: #1655323
    Closes-bug: #1654402

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

This issue was fixed in the openstack/barbican 4.0.0.0b3 development milestone.

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.