← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1240751] Re: Migration 227 doesn't run tests against sqlite despite modifying it.

 

** 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/1240751

Title:
  Migration 227 doesn't run tests against sqlite despite modifying it.

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  Currently the check for migration 227 looks like:

      def _check_227(self, engine, data):
          if engine.name == 'sqlite':
              return

  Despite the migration affecting sqlite. The check also assumes a row
  exists in 'project_user_quotas'  with id=4 to test against. This is
  inserted in _check_203 but when snake walking the migrations the row
  is dropped again and not reinserted (as checks aren't re-run after
  snake walking).

  The check should not assume any data already exists and insert any
  test data it should need in _pre_upgrade_227.

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