From bd431bb3edd79432d45d5e54088d2c2cb8ad4acf Mon Sep 17 00:00:00 2001 From: Jonathan Rosser Date: Thu, 3 Dec 2020 15:10:38 +0000 Subject: [PATCH] Fix use of deprecated image_cache_manager_interval Warning message is: Option "image_cache_manager_interval" from group "DEFAULT" is deprecated. Use option "manager_interval" from group "image_cache". Change-Id: Ieabd209733ea640d0776f7d2ee96efe3f3c49ec4 --- templates/nova.conf.j2 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/templates/nova.conf.j2 b/templates/nova.conf.j2 index f9a9bbd5..35c4bff5 100644 --- a/templates/nova.conf.j2 +++ b/templates/nova.conf.j2 @@ -18,7 +18,6 @@ reserved_host_memory_mb = {{ nova_reserved_host_memory_mb }} compute_driver = {{ nova_compute_driver }} instances_path = {{ nova_system_home_folder }}/instances allow_resize_to_same_host = True -image_cache_manager_interval = {{ nova_image_cache_manager_interval }} {% if ansible_os_family | lower == 'suse' %} mkisofs_cmd = /usr/bin/mkisofs @@ -63,6 +62,10 @@ driver = {{ (notification_topics | length > 0) | ternary('messagingv2', 'noop') transport_url = {{ nova_oslomsg_notify_transport }}://{% for host in nova_oslomsg_notify_servers.split(',') %}{{ nova_oslomsg_notify_userid }}:{{ nova_oslomsg_notify_password }}@{{ host }}:{{ nova_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ nova_oslomsg_notify_vhost }}{% if nova_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %} +# Image cache +[image_cache] +manager_interval = {{ nova_image_cache_manager_interval }} + # Cache [cache] enabled = true