yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #45027
[Bug 1526804] Re: Model sync is broken for SQLite because of BigInteger type mismatch
** Also affects: glance/kilo
Importance: Undecided
Status: New
** Changed in: glance/kilo
Status: New => Fix Committed
** Changed in: glance/kilo
Milestone: None => 2015.1.3
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1526804
Title:
Model sync is broken for SQLite because of BigInteger type mismatch
Status in Glance:
Fix Released
Status in Glance kilo series:
Fix Committed
Bug description:
Here the output for
glance.tests.unit.test_migrations.ModelsMigrationsSyncSQLite.test_models_sync:
AssertionError: Models and migration scripts aren't in sync:
[ [ ( 'modify_type',
None,
'artifact_blobs',
'size',
{ 'existing_nullable': False,
'existing_server_default': False},
INTEGER(),
BigInteger())],
[ ( 'modify_type',
None,
'artifacts',
'type_version_prefix',
{ 'existing_nullable': False,
'existing_server_default': False},
INTEGER(),
BigInteger())],
[ ( 'modify_type',
None,
'artifacts',
'version_prefix',
{ 'existing_nullable': False,
'existing_server_default': False},
INTEGER(),
BigInteger())],
[ ( 'modify_type',
None,
'images',
'size',
{ 'existing_nullable': True,
'existing_server_default': False},
INTEGER(),
BigInteger())],
[ ( 'modify_type',
None,
'images',
'virtual_size',
{ 'existing_nullable': True,
'existing_server_default': False},
INTEGER(),
BigInteger())]]
To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1526804/+subscriptions
References