Remove logic to look up removed parameters

These lines should have been removed when we removed the deprecated
image cache parameters from the nova::compute::libvirt class[1].

[1] 369f050979

Change-Id: I41bc31e92119810ca7cd5c3a57179d932923072f
(cherry picked from commit 04a8a01806)
This commit is contained in:
Takashi Kajinami 2023-05-19 10:43:16 +09:00
parent 89512c901c
commit 42c668545b

View File

@ -40,24 +40,12 @@ class nova::compute::image_cache (
include nova::deps include nova::deps
$remove_unused_base_images_real = pick(
$::nova::compute::libvirt::remove_unused_base_images,
$remove_unused_base_images)
$remove_unused_original_minimum_age_seconds_real = pick(
$::nova::compute::libvirt::remove_unused_original_minimum_age_seconds,
$remove_unused_original_minimum_age_seconds)
$remove_unused_resized_minimum_age_seconds_real = pick(
$::nova::compute::libvirt::remove_unused_resized_minimum_age_seconds,
$remove_unused_resized_minimum_age_seconds)
nova_config { nova_config {
'image_cache/manager_interval': value => $manager_interval; 'image_cache/manager_interval': value => $manager_interval;
'image_cache/subdirectory_name': value => $subdirectory_name; 'image_cache/subdirectory_name': value => $subdirectory_name;
'image_cache/remove_unused_base_images': value => $remove_unused_base_images_real; 'image_cache/remove_unused_base_images': value => $remove_unused_base_images;
'image_cache/remove_unused_original_minimum_age_seconds': value => $remove_unused_original_minimum_age_seconds_real; 'image_cache/remove_unused_original_minimum_age_seconds': value => $remove_unused_original_minimum_age_seconds;
'image_cache/remove_unused_resized_minimum_age_seconds': value => $remove_unused_resized_minimum_age_seconds_real; 'image_cache/remove_unused_resized_minimum_age_seconds': value => $remove_unused_resized_minimum_age_seconds;
'image_cache/precache_concurrency': value => $precache_concurrency; 'image_cache/precache_concurrency': value => $precache_concurrency;
} }
} }