- Learning OpenStack Networking
- James Denton
- 87字
- 2025-02-24 14:51:46
Configuring additional settings
Update the glance-api configuration file found at /etc/glance/glance-api.conf with the following additional settings:
[paste_deploy]
...
flavor = keystone
[glance_store]
...
stores = file,http
default_store = file
filesystem_store_datadir = /var/lib/glance/images
Next, update the glance-registry configuration file found at /etc/glance/glance-registry.conf with the following additional settings:
[paste_deploy]
...
flavor = keystone
When both files have been updated, populate the Glance database using the glance-manage utility:
# su -s /bin/sh -c "glance-manage db_sync" glance
Lastly, restart the Glance services with the following command:
# systemctl restart glance-registry glance-api