deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Koper, Dies" <di...@fast.au.fujitsu.com>
Subject RE: DC won't start: `execute_non_query': Cannot add a NOT NULL column with default value NULL
Date Wed, 16 Jan 2013 00:26:15 GMT
Thanks Marios, Joe, that did the trick.

Cheers,
Dies Koper

> -----Original Message-----
> From: Marios Andreou [mailto:mandreou@redhat.com]
> Sent: Tuesday, 15 January 2013 4:43 PM
> To: dev@deltacloud.apache.org
> 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 [diesk@fast.au.fujitsu.com]
> Received: Tuesday, 15 Jan 2013, 5:36
> To: dev@deltacloud.apache.org
> 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>>
Mime
View raw message