On Thu, 2013-02-21 at 15:45 +0100, mfoj...@redhat.com wrote:
> From: Michal Fojtik <mfoj...@redhat.com>
> 
> 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.

David


Reply via email to