Enable glance image cache's cleaner and pruner

When glance's image cache is enabled, configure the cron jobs to
periodically run the image cache's "cleaner" and "pruner". This ensures
the cache contents is properly maintained, and does not exceed the
size limit.

blueprint: split-controlplane-glance-cache
Change-Id: Ie358cce307420b5ec76bb95f90bc1ca7b97fe83b
This commit is contained in:
Alan Bishop 2019-02-11 12:24:51 -05:00
parent 4bc7de4e44
commit 07709c44f3
1 changed files with 6 additions and 0 deletions

View File

@ -435,6 +435,12 @@ outputs:
- glance_netapp_nfs_enabled
- include ::tripleo::profile::base::glance::netapp
- ''
- if:
- glance_cache_enabled
- |
include ::glance::cache::cleaner
include ::glance::cache::pruner
- ''
- {get_attr: [MySQLClient, role_data, step_config]}
config_image: {get_param: DockerGlanceApiConfigImage}
kolla_config: