We should only be advertising the multi-backend configuration. Therefore, we use the "enabled_backends" and "default_backend" options. Change-Id: I911a87bb4ea908bbabc4b471d88c580a7dd74c81
1.5 KiB
1.5 KiB
In the
[database]section, configure database access:[database] # ... connection = mysql+pymysql://glance:GLANCE_DBPASS@controller/glanceReplace
GLANCE_DBPASSwith the password you chose for the Image service database.In the
[keystone_authtoken]and[paste_deploy]sections, configure Identity service access:[keystone_authtoken] # ... www_authenticate_uri = http://controller:5000 auth_url = http://controller:5000 memcached_servers = controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default project_name = service username = glance password = GLANCE_PASS [paste_deploy] # ... flavor = keystoneReplace
GLANCE_PASSwith the password you chose for theglanceuser in the Identity service.Note
Comment out or remove any other options in the
[keystone_authtoken]section.In the
[glance_store]section, configure the local file system store and location of image files:[DEFAULT] # ... enabled_backends=fs:file [glance_store] # ... default_backend = fs [fs] filesystem_store_datadir = /var/lib/glance/images/