Merge "Remove deprecated parameter"

This commit is contained in:
Zuul 2022-06-03 16:14:26 +00:00 committed by Gerrit Code Review
commit 26cbbd5f0c
2 changed files with 6 additions and 19 deletions

View File

@ -121,22 +121,8 @@ parameters:
tags:
- role_specific
# DEPRECATED: the following options are deprecated and are currently maintained
# for backwards compatibility. They will be removed in future release.
InotifyIntancesMax:
default: 1024
description: Configures sysctl fs.inotify.max_user_instances key
type: number
parameter_groups:
- label: deprecated
description: Do not use deprecated params, they will be removed.
parameters:
- InotifyIntancesMax
conditions:
ipv6_disabled: {equals: [{get_param: KernelDisableIPv6}, 1]}
# TODO: remove when misseplt/deprecated parameter InotifyIntancesMax is removed.
is_inotify_intances_max_default: {equals: [{get_param: InotifyIntancesMax}, 1024]}
fs_aio_max_number_set:
and:
- not: {equals: [{get_param: [RoleParameters, FsAioMaxNumber]}, 0]}
@ -212,11 +198,7 @@ outputs:
net.bridge.bridge-nf-call-ip6tables:
value: {get_param: BridgeNfCallIp6Tables}
fs.inotify.max_user_instances:
value:
if:
- is_inotify_intances_max_default
- {get_param: InotifyInstancesMax}
- {get_param: InotifyIntancesMax}
value: {get_param: InotifyInstancesMax}
- if:
- fs_aio_max_number_set
- fs.aio-max-nr:

View File

@ -0,0 +1,5 @@
---
upgrade:
- |
The ``InotifyIntancesMax`` parameter has been removed.
The ``InotifyInstancesMax`` parameter should be used instead.