diff --git a/inventory/group_vars/glance_all.yml b/inventory/group_vars/glance_all.yml index 0443779d76..08398118f8 100644 --- a/inventory/group_vars/glance_all.yml +++ b/inventory/group_vars/glance_all.yml @@ -33,3 +33,5 @@ glance_venv_download_url: "{{ venv_base_download_url }}/glance-{{ openstack_rele glance_container_bind_mounts: - bind_dir_path: "/var/lib/glance/images" mount_path: "/openstack/{{ inventory_hostname }}" + - bind_dir_path: "/var/lib/glance/cache" + mount_path: "/openstack/{{ inventory_hostname }}" diff --git a/releasenotes/notes/glance-cache-4d5f8036c5e8f5b1.yaml b/releasenotes/notes/glance-cache-4d5f8036c5e8f5b1.yaml new file mode 100644 index 0000000000..02cba7ddf9 --- /dev/null +++ b/releasenotes/notes/glance-cache-4d5f8036c5e8f5b1.yaml @@ -0,0 +1,11 @@ +--- +features: + - | + Glance containers will now bind mount the default glance cache directory + from the host when glance_default_store is set to file and nfs is not in + use. With this change, the glance file cache size is no longer restricted + to the size of the container file system. +upgrade: + - | + Glance containers will be rebooted to add the glance cache bind mount if + glance_default_store is set to file and nfs is not in use.