Merge "Bind mount glance cache directory"

This commit is contained in:
Zuul 2018-08-31 15:42:12 +00:00 committed by Gerrit Code Review
commit 2b0ece67d3
2 changed files with 13 additions and 0 deletions

View File

@ -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 }}"

View File

@ -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.