← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1804652] [NEW] nova.db.sqlalchemy.migration.db_version is racy

 

Public bug reported:

db_version() attempts to initialise versioning if the db is not
versioned. However, it doesn't consider concurrency, so we can get
errors if multiple watchers try to get the db version before the db is
initialised. We are seeing this in practise during tripleo deployments
in a script which waits on multiple controller nodes for db sync to
complete.

** Affects: nova
     Importance: Undecided
         Status: New

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

Title:
  nova.db.sqlalchemy.migration.db_version is racy

Status in OpenStack Compute (nova):
  New

Bug description:
  db_version() attempts to initialise versioning if the db is not
  versioned. However, it doesn't consider concurrency, so we can get
  errors if multiple watchers try to get the db version before the db is
  initialised. We are seeing this in practise during tripleo deployments
  in a script which waits on multiple controller nodes for db sync to
  complete.

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


Follow ups