<div dir="ltr">Hi all,<div><br></div><div>Being a bit familiar with both SQLAlchemy and sqlalchemy-migrate, I decided to check the issue with running of migrations tests in Nova with SQLAlchemy 0.8.x. Long story is here: <a href="https://bugs.launchpad.net/sqlalchemy-migrate/+bug/1241038">https://bugs.launchpad.net/sqlalchemy-migrate/+bug/1241038</a></div>
<div><br></div><div>TL;DR</div><div>1. It's really the issue with sqlalchemy-migrate and has nothing to do with Nova.</div><div>2. sqlalchemy-migrate DOES seem to support SQLAlchemy 0.8.x, but, I believe, we are going to face more and more similar issues.</div>
<div>3. It's downgrade, so it should be a minor issue for packaging of new OpenStack release in Debian.</div><div>4. Everyone's life would be much easier, if we dropped migrations support for SQLite. Alembic doesn't support ALTER for SQLite at all on purpose. And I would really like us to switch to using of Alembic in the following releases.</div>
<div><br></div><div>I'll try to fix this in sqlalchemy-migrate and maybe we could release the fix later.</div><div><br></div><div>Thanks,</div><div>Roman</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Oct 17, 2013 at 6:31 PM, Thomas Goirand <span dir="ltr"><<a href="mailto:zigo@debian.org" target="_blank">zigo@debian.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 10/17/2013 09:11 PM, Monty Taylor wrote:<br>
> I understand what you are saying and I also understand your frustration.<br>
> However, OpenStack does not, as of yet, support SQLAlchemy 0.8, and as<br>
> you can see, the requirements file does, in fact, communicate reality,<br>
> we depend on <0.8.<br>
<br>
</div>It does, at the exception of this little issue when running in Sid with<br>
SQLite 3.<br>
<div class="im"><br>
> I support the bug being fixed and the requirement being raised, but it<br>
> has to happen in that order.<br>
<br>
</div>Sure!<br>
<div class="im"><br>
>> So yes, we need a fix for the above problem, and Nova needs to support<br>
>> SQLAlchemy 0.8.2 which is what we have in Sid [1]. If I remember well,<br>
>> there's also the problem on RPM based systems. BTW, it looks like it is<br>
>> an isolated unique problem, and it seems to be the only one left in this<br>
>> release of OpenStack. It is also new (Nova Havana B3 didn't have the<br>
>> issue). So I really think it shouldn't be hard to fix the problem.<br>
>><br>
>> Also, note that the issue isn't only in Debian, it's also a problem for<br>
>> Ubuntu 2013.10, which also has SQLAlchemy 0.8.2. [2]<br>
><br>
> Fascinating. What have they done to make that work?<br>
<br>
</div>I'm not sure what you are talking about, since I don't agree that<br>
OpenStack doesn't work with SQLAlchemy 0.8.2 (apart from this one bug).<br>
<div class="im"><br>
> And why has none of<br>
> that work made it into OpenStack so that we could raise the SQLAlchemy<br>
> requirement?<br>
<br>
</div>If you didn't know, I already have Grizzly (currently in Sid) working<br>
with SQLAlchemy 0.8.2... (I just backported from Havana to Grizzly a few<br>
patches from upstream, namely for Cinder and Heat IIRC.) These were<br>
reported by me during this summer, and fixed in July for all projects,<br>
and just right before Havana B3 for Heat.<br>
<div class="im"><br>
>> I really hope that for the next release cycle, the above will be taken<br>
>> into consideration, and that someone will come up with a fix quickly for<br>
>> this release. Maybe *now* is time to switch the gate to SQLAlchemy 0.8.2<br>
>> for the Icehouse branch?<br>
><br>
> Can't change the req until it works - but yes, I agree with you, we<br>
> clearly need to upgrade.<br>
<br>
</div>Let's have that one fixed, and let's switch...<br>
<div class="im"><br>
> Thanks for you help and attention Thomas! I appreciate all the work!!!<br>
<br>
</div>My pleasure! :)<br>
<span class="HOEnZb"><font color="#888888"><br>
Thomas<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br></div>