nova.db.sqlalchemy.migration.db_version is racy
Bug #1804652 reported by
Matthew Booth
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Fix Released
|
Low
|
Matthew Booth |
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.
Changed in nova: | |
assignee: | nobody → Matthew Booth (mbooth-9) |
status: | Triaged → In Progress |
tags: | added: nova-manage |
To post a comment you must log in.
See https:/ /bugzilla. redhat. com/show_ bug.cgi? id=1652287