diff --git a/manifests/compute/libvirt.pp b/manifests/compute/libvirt.pp index c5fe16c0e..ba28c0a96 100644 --- a/manifests/compute/libvirt.pp +++ b/manifests/compute/libvirt.pp @@ -104,16 +104,6 @@ # you actually want to deploy. # Defaults to true for backward compatibility. # -# DEPRECATED -# -# [*remove_unused_kernels*] -# (optional) DEPRECATED. Should unused kernel images be removed? -# This is only safe to enable if all compute nodes -# have been updated to support this option. -# If undef is specified, remove the line in nova.conf -# otherwise, use a boolean to remove or not the kernels. -# Defaults to undef -# class nova::compute::libvirt ( $ensure_package = 'present', $libvirt_virt_type = 'kvm', @@ -134,8 +124,6 @@ class nova::compute::libvirt ( $virtlog_service_name = $::nova::params::virtlog_service_name, $compute_driver = 'libvirt.LibvirtDriver', $manage_libvirt_services = true, - # Deprecated - $remove_unused_kernels = undef, ) inherits nova::params { include ::nova::deps @@ -229,10 +217,6 @@ class nova::compute::libvirt ( } } - if $remove_unused_kernels { - warning('remove_unused_kernels parameter is deprecated, has no effect and will be removed in a future release.') - } - if $remove_unused_resized_minimum_age_seconds != undef { nova_config { 'libvirt/remove_unused_resized_minimum_age_seconds': value => $remove_unused_resized_minimum_age_seconds; diff --git a/releasenotes/notes/remove_unused_kernels_option-1328af2a6938e712.yaml b/releasenotes/notes/remove_unused_kernels_option-1328af2a6938e712.yaml new file mode 100644 index 000000000..57588f474 --- /dev/null +++ b/releasenotes/notes/remove_unused_kernels_option-1328af2a6938e712.yaml @@ -0,0 +1,5 @@ +--- +deprecations: + - The deprecated config option ``remove_unused_kernels`` has been removed from the + ``[libvirt]`` config section. No replacement is required, as this behaviour + is no longer relevant.