Re: [sqlalchemy] OpenStack Glance upgrade script breaks with SQLAlchemy 1.1.11 but not 1.0.12

2017-10-12 Thread Byron Yi
d728c8a6a10bed100065b > > > > On Thu, Oct 12, 2017 at 9:51 AM, Mike Bayer <mike...@zzzcomputing.com> wrote: >> On Thu, Oct 12, 2017 at 8:32 AM, Byron Yi <yibairen1...@gmail.com> wrote: >>> It appears that autoincrement=True is set by default for primary key wh

[sqlalchemy] OpenStack Glance upgrade script breaks with SQLAlchemy 1.1.11 but not 1.0.12

2017-10-12 Thread Byron Yi
It appears that autoincrement=True is set by default for primary key when upgrading from 1.0 to 1.1, no matter if it is integer (which is not in glance; they use VARCHAR(36)). See https://bugs.launchpad.net/glance/+bug/1723097 -- SQLAlchemy - The Python SQL Toolkit and Object Relational