← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1259229] Re: Undesired migrate repository path caching.

 

** Changed in: oslo
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1259229

Title:
  Undesired migrate repository path caching.

Status in OpenStack Identity (Keystone):
  Triaged
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released

Bug description:
  Oslo.db migration.py uses singleton to store defined
  `migrate.versioning.repository.Repository` instance containing
  migration repository path. Most of plugins have its own migrate repo.
  Usage of singleton in point of Repository instances causes implicit
  and unexpected behavior therefore as current Repository instance may
  contain inappropriate path to migrate repo.

  Solution: do not use singleton.

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


References