cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcus Sorensen <shadow...@gmail.com>
Subject Re: DB upgrade fails on 4.3
Date Sun, 19 Jan 2014 15:39:32 GMT
Yes, there's no support for upgrading between dev builds, as the
schema is changing often. Devs start fresh with the current db schema
as they work on features. Upgrade scripts are only created between
release schemas.

On Sun, Jan 19, 2014 at 7:25 AM, Daan Hoogland <daan.hoogland@gmail.com> wrote:
> Lucian,
>
> I read your ticket and think that playing with a snapshot is the
> problem most likely. To be sure you might want to setup your env
> (including vms) on a clean 4.2.1 and see if it happens then. The db
> upgrade scheme we use is not repeatable and on a snapshot you might
> have missed or gotten statements extra in comparison with the release.
>
> I think (for a while now) we shoot device a per commit up and
> downgrade scheme so moving from snapshot to snapshot becomes possible
> as well. I got inspiration from the django on rail kind of frameworks
> that can do this kind of db maintenance. Would be really cool to have
> this.
>
> Your 4.2.1 snapshot most probably has the db upgrade line for this
> 'related' column that is also in the 4.3 upgrade scripts. If you have
> the commit you used (or maybe even with the date) you can make sure.
>
> regards,
> Daan
>
> On Sat, Jan 18, 2014 at 5:03 PM, Nux! <nux@li.nux.ro> wrote:
>> Hi,
>>
>> DB upgrade fails from 4.2.1 to 4.3 on my setup. More info/logs here:
>> https://issues.apache.org/jira/browse/CLOUDSTACK-5902
>>
>> Regards,
>> Lucian
>>
>> --
>> Sent from the Delta quadrant using Borg technology!
>>
>> Nux!
>> www.nux.ro

Mime
View raw message