← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1663627] Re: Running db_sync --check against new installs fails

 

Reviewed:  https://review.openstack.org/432376
Committed: https://git.openstack.org/cgit/openstack/keystone/commit/?id=99db3c83e09b8c1df25ec06fe99530aa088c325f
Submitter: Jenkins
Branch:    master

commit 99db3c83e09b8c1df25ec06fe99530aa088c325f
Author: Richard Avelar <csravelar@xxxxxxxxx>
Date:   Fri Feb 10 16:33:33 2017 +0000

    Address db_sync check against new install
    
    This patch fixes a bug and causes a log message along with an exit
    code to be returned when a DBMigration error is raised.
    
    Change-Id: Iba7aff606937561ad98e2ef551ca4005bd4f337d
    Closes-Bug: #1663627


** Changed in: keystone
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1663627

Title:
  Running db_sync --check against new installs fails

Status in OpenStack Identity (keystone):
  Fix Released

Bug description:
  If 'keystone-manage db_sync --check' is run against a new install,
  prior to any DB migrations, it will raise an exception.

  DBMigrationError: Invalid version : 66

  http://logs.openstack.org/34/432134/1/check/gate-openstack-ansible-
  os_keystone-ansible-func-ubuntu-
  xenial/5920564/logs/openstack/keystone1/keystone/keystone.log.txt.gz#_2017-02-10_06_43_08_956

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1663627/+subscriptions


References