Bug 1508030 - Bump default value of fs.inotify.max_user_instances
Summary: Bump default value of fs.inotify.max_user_instances
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z7
: 10.0 (Newton)
Assignee: Sai Sindhur Malleni
QA Contact: Gurenko Alex
URL:
Whiteboard: scale_lab
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-31 17:36 UTC by Sai Sindhur Malleni
Modified: 2021-12-10 15:36 UTC (History)
8 users (show)

Fixed In Version: openstack-tripleo-heat-templates-5.3.3-2.el7ost
Doc Type: Enhancement
Doc Text:
This update increases the default value of `fs.inotify.max_user_instances` to 1024. This update also allows you to manage the value through a heat template, using `InotifyIntancesMax`.
Clone Of:
Environment:
Last Closed: 2018-02-27 16:50:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1718266 0 None None None 2017-10-31 17:59:23 UTC
OpenStack gerrit 509521 0 None MERGED Bump fs.inotify.max_user_instances for scale 2020-07-27 18:55:14 UTC
Red Hat Issue Tracker OSP-11329 0 None None None 2021-12-10 15:36:02 UTC
Red Hat Product Errata RHBA-2018:0364 0 normal SHIPPED_LIVE Red Hat OpenStack Platform 10.0 director Bug Fix Advisory 2018-02-27 21:51:12 UTC

Description Sai Sindhur Malleni 2017-10-31 17:36:58 UTC
Description of problem:
each dnsmasq process opens an inotify match, so the default value of fs.inotify.max_user_instances which is 128 is easily hit when creating subnets at scale.

Version-Release number of selected component (if applicable):
10

How reproducible:
100%

Steps to Reproduce:
1. Create large number of subnets (>128)
2.
3.

Actual results:
Subnet creation fails after a while

Expected results:
Subnets should be created

Additional info:
Upstream Gerrit: https://review.openstack.org/#/c/509521/

Comment 2 Jakub Libosvar 2017-11-09 02:28:19 UTC
Merged to upstream Newton, moving to POST.

Comment 5 Gurenko Alex 2018-02-06 10:27:09 UTC
Verified on build 2018-02-02.1

[stack@undercloud-0 ~]$ rpm -q openstack-tripleo-heat-templates
openstack-tripleo-heat-templates-5.3.8-1.el7ost.noarch

[stack@undercloud-0 ~]$ cat $(locate kernel.yaml) | sed -n '25,28p'
  InotifyIntancesMax:
    default: 1024
    description: Configures sysctl fs.inotify.max_user_instances key
    type: number

[stack@undercloud-0 ~]$ cat $(locate kernel.yaml) | sed -n '65,67p'
          # set inotify value for neutron/dnsmasq scale
          fs.inotify.max_user_instances:
            value: {get_param: InotifyIntancesMax}

Comment 8 errata-xmlrpc 2018-02-27 16:50:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0364


Note You need to log in before you can comment on or make changes to this bug.