← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1207750] Re: Test db_migrations doesn't work concurrently

 

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

-- 
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/1207750

Title:
  Test db_migrations doesn't work concurrently

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  When running with alternative test_migrations.conf odd errors occur.

  For example, with just mysql tests often the database/tables disappear
  pre-maturely:

  ProgrammingError: (ProgrammingError) (1146, "Table
  'test_migrations.migrate_version' doesn't exist") 'SELECT
  migrate_version.repository_id, migrate_version.repository_path,
  migrate_version.version \nFROM migrate_version \nWHERE
  migrate_version.repository_id = %s' ('nova',)

  
  With both sqlite and mysql it sometimes actually works. Possibly this is due to race conditions.

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