deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Lutterkort <>
Subject Re: [PATCH core] Core: Run db:migrate rake task after mock:fixtures:reset
Date Thu, 21 Feb 2013 23:03:25 GMT
On Thu, 2013-02-21 at 15:45 +0100, wrote:
> From: Michal Fojtik <>
> Since the database is erased, Deltacloud will exit(1)
> when started using CIMI frontend. This patch will execute
> the migration after mock dir cleanup.

I don't understand why this is needed - the various mock:fixtures:*
tasks manipulate files in MOCK_STORAGE_DIR
(/var/tmp/deltacloud-$USER/mock) whereas the db lives
in /var/tmp/deltacloud-$USER

If any of those tasks really touch the DB, we should fix them instead.
In the future, we'll have DB's that do not live
in /var/tmp/deltacloud-$USER (e.g., pg) and we shouldn't bake DB changes
into the mock:fixtures:* tasks.


View raw message