Remove remove_unused_kernels option
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. Change-Id: I6582cf3c3f1dab1929541d651ce00cef9bef0fbc
This commit is contained in:
parent
f040ced872
commit
3307bc6402
|
@ -104,16 +104,6 @@
|
||||||
# you actually want to deploy.
|
# you actually want to deploy.
|
||||||
# Defaults to true for backward compatibility.
|
# 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 (
|
class nova::compute::libvirt (
|
||||||
$ensure_package = 'present',
|
$ensure_package = 'present',
|
||||||
$libvirt_virt_type = 'kvm',
|
$libvirt_virt_type = 'kvm',
|
||||||
|
@ -134,8 +124,6 @@ class nova::compute::libvirt (
|
||||||
$virtlog_service_name = $::nova::params::virtlog_service_name,
|
$virtlog_service_name = $::nova::params::virtlog_service_name,
|
||||||
$compute_driver = 'libvirt.LibvirtDriver',
|
$compute_driver = 'libvirt.LibvirtDriver',
|
||||||
$manage_libvirt_services = true,
|
$manage_libvirt_services = true,
|
||||||
# Deprecated
|
|
||||||
$remove_unused_kernels = undef,
|
|
||||||
) inherits nova::params {
|
) inherits nova::params {
|
||||||
|
|
||||||
include ::nova::deps
|
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 {
|
if $remove_unused_resized_minimum_age_seconds != undef {
|
||||||
nova_config {
|
nova_config {
|
||||||
'libvirt/remove_unused_resized_minimum_age_seconds': value => $remove_unused_resized_minimum_age_seconds;
|
'libvirt/remove_unused_resized_minimum_age_seconds': value => $remove_unused_resized_minimum_age_seconds;
|
||||||
|
|
|
@ -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.
|
Loading…
Reference in New Issue