Reviewed:  https://review.opendev.org/c/openstack/charm-barbican/+/756931
Committed: 
https://opendev.org/openstack/charm-barbican/commit/ca80b266ed831813a2a9ecec84d288ec3f8f5104
Submitter: "Zuul (22348)"
Branch:    master

commit ca80b266ed831813a2a9ecec84d288ec3f8f5104
Author: David Ames <david.a...@canonical.com>
Date:   Thu Oct 8 22:55:30 2020 +0000

    Run db sync manually by leader only
    
    Without db_auto_create = False each barbican-worker attempts to run
    alembic upgrades on the database whenever they start. This leads to
    race conditions that can leave the sate of the database broken
    (multiple alembic version that "overlap").
    
    This change runs the barbican-manage db upgrade by the leader only
    avoiding the race condition. charms.openstack also handles the
    openstack upgrade process with a call to instance.db_sync.
    
    Change-Id: I6b9498059c7057b73b1c3db0e355456c38b0510e
    Closes-Bug: #1827690


** Changed in: charm-barbican
       Status: In Progress => Fix Committed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1827690

Title:
  [19.04][stein] barbican-worker is down: Requested revision
  1a0c2cdafb38 overlaps with other requested revisions 39cf2e645cba

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-barbican/+bug/1827690/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to