yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #43436
[Bug 1526804] [NEW] Model sync is broken for SQLite because of BigInteger type mismatch
Public bug reported:
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())]]
** Affects: glance
Importance: Critical
Assignee: Mike Fedosin (mfedosin)
Status: In Progress
** Changed in: glance
Assignee: (unassigned) => Mike Fedosin (mfedosin)
** Changed in: glance
Importance: Undecided => Critical
** Changed in: glance
Status: New => Confirmed
--
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:
In Progress
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
Follow ups