Thanks Marios, Joe, that did the trick.

Cheers,
Dies Koper

> -----Original Message-----
> From: Marios Andreou [mailto:[email protected]]
> Sent: Tuesday, 15 January 2013 4:43 PM
> To: [email protected]
> Cc: Koper, Dies
> Subject: RE: DC won't start: `execute_non_query': Cannot add a NOT NULL
> column with default value NULL
> 
> 
> You need to reset your mock fixtures (actually its the database data used by
> datamapper for cimi). There is a rake task:
> 
> cd /server
> rake mock:fixtures:reset
> 
> should resolve this for you. We'll be documenting this for release,
> 
> marios
> 
> 
> <<sent from my mobile device; kindly excuse any top-posting, spacing or
> spelling errors>>
> 
> -----Original Message-----
> From: Koper, Dies [[email protected]]
> Received: Tuesday, 15 Jan 2013, 5:36
> To: [email protected]
> Subject: DC won't start: `execute_non_query': Cannot add a NOT NULL
> column with default value NULL
> 
> I just did a git pull and now DC won't start anymore:
> 
> d:\sources\OSS\cloud\deltacloud>server\bin\deltacloudd -i fgcp -f cimi
> Starting Deltacloud API :: fgcp ::
> http://localhost:3001/cimi/cloudEntryPoint
> 
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/dm-migrations-1.2.0/lib/dm-
> mi
> grations/adapters/dm-do-adapter.rb:70:in `execute_non_query': Cannot add
> a NOT NULL column with default value NULL (DataObjects::SyntaxError)
>         from
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/dm-migrations-1.2.0/lib/dm-
> mi
> grations/adapters/dm-do-adapter.rb:70:in `upgrade_model_storage'
> ...
>         from
> D:/programs/Ruby187/lib/ruby/gems/1.8/gems/dm-migrations-1.2.0/lib/dm-
> mi
> grations/auto_migration.rb:27:in `auto_upgrade!'
>         from d:/sources/OSS/cloud/deltacloud/server/lib/db.rb:25:in
> `initialize_database'
> 
> How do I resolve this?
> 
> Cheers,
> Dies Koper
> 
> 
> 
> <<sent from my mobile device; kindly excuse any top-posting, spacing or
> spelling errors>>

Reply via email to