deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michal Fojtik <mfoj...@redhat.com>
Subject Re: Introducing 'initializers'
Date Fri, 15 Feb 2013 10:49:18 GMT
On 02/15, mfojtik@redhat.com wrote:

Also recorded here:

http://tracker.deltacloud.org/set/318

> Hi,
> 
> This patch is something like a 'cleanup' in the way how we initialize
> things when Deltacloud server is starting up.
> 
> Right now, these things are 'initialized' during server boot:
> 
> 1. Mock directory is created and populated (this happen in mock driver)
> 2. Database file and schema is created (db.rb)
> 3. Frontends are configured (config.ru)
> 
> As you might see, we initialize things all over the code, which makes it hard
> to keep track of this :)
> 
> For example there is a bug when you start Deltacloud with '-f cimi' after fresh
> install, the '/var/tmp/deltacloud-mock-USER' dir is not created and the server
> will fail to start...
> 
>   -- Michal
> 

-- 
Michal Fojtik <mfojtik@redhat.com>
Deltacloud API, CloudForms

Mime
View raw message