Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1508030 - Bump default value of fs.inotify.max_user_instances
Bump default value of fs.inotify.max_user_instances
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-heat-templates (Show other bugs)
10.0 (Newton)
Unspecified Unspecified
high Severity high
: z7
: 10.0 (Newton)
Assigned To: Sai Sindhur Malleni
Gurenko Alex
scale_lab
: Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-31 13:36 EDT by Sai Sindhur Malleni
Modified: 2018-03-07 06:39 EST (History)
8 users (show)

See Also:
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`.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-02-27 11:50:40 EST
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Launchpad 1718266 None None None 2017-10-31 13:59 EDT
OpenStack gerrit 509521 None None None 2017-10-31 13:39 EDT
Red Hat Product Errata RHBA-2018:0364 normal SHIPPED_LIVE Red Hat OpenStack Platform 10.0 director Bug Fix Advisory 2018-02-27 16:51:12 EST

  None (edit)
Description Sai Sindhur Malleni 2017-10-31 13:36:58 EDT
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-08 21:28:19 EST
Merged to upstream Newton, moving to POST.
Comment 5 Gurenko Alex 2018-02-06 05:27:09 EST
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 11:50:40 EST
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.