Remove deprecated parameter

This change removes deprecated parameter 'InotifyIntancesMax'.

Change-Id: Ib01ab12401a71ae3e52ff7ae5511694613340842
This commit is contained in:
Rajesh Tailor 2022-05-30 19:00:17 +05:30 committed by Takashi Kajinami
parent 560619f941
commit e2b9b630d5
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.