> Right, I prepared a patch to prevent this in future:
> 
> http://tracker.deltacloud.org/patch/19babd48#diff
> 
> With this patch you will get an error if you try to start DC/CIMI with
> duplicated collection.

Confirmed it's working for the issue I saw:

d:\sources\OSS\cloud\deltacloud\server>bin\deltacloudd -f
cimi,deltacloud -i mock
Starting Deltacloud API :: mock :: http://localhost:3001/api

d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/helpers/collection
_helper.rb:93:in `load_collections_for': ERROR: Collection already
registred Sinatra::Rabbit::SystemsCollection (RuntimeError)
        from
d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/helpers/collection
_helper.rb:91:in `each'
        from
d:/sources/OSS/cloud/deltacloud/server/lib/deltacloud/helpers/collection
_helper.rb:91:in `load_collections_for'

Cheers,
Dies Koper

Reply via email to