Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Unable to use filesystem_store_datadirs in Glance Kilo

I am trying to add some disk space to my configuration for images and snapshots. When I add the following to glance-api.conf -

# filesystem_store_datadir=/var/lib/glance/images/    
filesystem_store_datadirs = /var/lib/glance/images
filesystem_store_datadirs = /var/lib/glance/images-lvm:100

I am unable to add new images or snapshots because I see the error:

2015-07-30 14:59:26.645 11038 WARNING oslo_config.cfg [-] Option "filesystem_store_datadir" from group "DEFAULT" is deprecated. Use option "filesystem_store_datadir" from group "glance_store". 2015-07-30 14:59:26.646 11038 ERROR glance_store._drivers.filesystem [-] Specify either 'filesystem_store_datadir' or 'filesystem_store_datadirs' option 2015-07-30 14:59:26.647 11038 WARNING glance_store.driver [-] Failed to configure store correctly: Store filesystem could not be configured correctly. Reason: Specify either 'filesystem_store_datadir' or 'filesystem_store_datadirs' option Disabling add method.

I have commented out "filesystem_store_datadir" from the [glance_store} section and don't have any other occurrences of this parameter in the file.

This is RDO Kilo allinone on Centos-7