October 2015
Intermediate to advanced
210 pages
4h 23m
English
In this recipe, we will configure Glance backend to use local storage driver to store image files on the local disk.
Before getting started with configuring the Glance backend driver, we need to make sure that the database, message broker, and Keystone are set for Glance, and both glance-api.conf and glance-registory.conf are configured correctly to use them.
Perform the following steps to configure Glance with the local file backend:
openstack-config command, edit the glance-api configuration file, and under the default section, set default_store to file as follows:
[root@controller ~]# openstack-config --set /etc/glance/glance-api.conf default default_store file ...Read now
Unlock full access