[Openstack] When how are glance-cache* (.conf, -paste.ini) files loaded / parsed ?

2012-03-14 Thread Florian Daniel Otel
Hello all, Can someone help me understand what options need to be in glance-api.conf and what options can be left to glance-cache.conf , resp glance-cache-paste.ini ? Case in point: If I wanted to use the xattr driver, I need to specify that in glance-api.conf -- specifying that in

Re: [Openstack] When how are glance-cache* (.conf, -paste.ini) files loaded / parsed ?

2012-03-14 Thread Eoghan Glynn
Florian, The key point in the split between glance-api.conf, glance-registry.conf, glance-cache.conf etc. is the glance application intended to consume that config. This follows directly from the naming: bin/glance-api by default consumes glance-api.conf bin/glance-registry by default

Re: [Openstack] When how are glance-cache* (.conf, -paste.ini) files loaded / parsed ?

2012-03-14 Thread Florian Daniel Otel
Eoghan, Yes, it does make perfect sense. Kind thanks for the explanation. However, what is still unclear is what config iteems that pertain to other apps must still be present (ie. duplicated in) glance-api.conf (e.g. image_cache_driver , etc ) Thanks again, Florian On Mar 14, 2012 10:45

Re: [Openstack] When how are glance-cache* (.conf, -paste.ini) files loaded / parsed ?

2012-03-14 Thread Eoghan Glynn
Yes, it does make perfect sense. Kind thanks for the explanation. However, what is still unclear is what config iteems that pertain to other apps must still be present (ie. duplicated in) glance-api.conf (e.g. image_cache_driver , etc ) This is probably something we should document more

Re: [Openstack] When how are glance-cache* (.conf, -paste.ini) files loaded / parsed ?

2012-03-14 Thread Brian Waldon
The image caching configuration is somewhat unique within Glance, as it is needed by multiple wsgi apps. As you point out, that means you need to duplicate your cache configuration in glance-api.conf and glance-cache.conf to get everything to play well together. I'm going to update the docs to