Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1694632

Summary: When 1000+ luns are attached to server, server is entering in to maintenance mode after build
Product: Red Hat Enterprise Linux 7 Reporter: Paul Dwyer <pdwyer>
Component: lvm2Assignee: Zdenek Kabelac <zkabelac>
lvm2 sub component: Default / Unclassified QA Contact: cluster-qe <cluster-qe>
Status: CLOSED DUPLICATE Docs Contact:
Severity: high    
Priority: unspecified CC: agk, cmarthal, heinzm, jbrassow, jmagrini, loberman, msnitzer, prajnoha, revers, rhandlin, zkabelac
Version: 7.6   
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-09-10 19:12:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1711360    

Description Paul Dwyer 2019-04-01 09:54:39 UTC
Not sure if this is related to bz 1691277

Description of problem:
Previous build on RHEL7.5 with similar number of luns attached is able to boot successfully.
However with RHEL7.6 the server drops to maintenance mode.

This does not appear to be a problem with multiple signatures on the partitions as bz 1671036 also don't believe it is bz 1666612


Version-Release number of selected component (if applicable):
lvm2-2.02.180-10.el7_6.3.x86_64.rpm

How reproducible:
every boot

Steps to Reproduce:
1. attach 1000+ luns
2. boot

Actual results:
boot enters maintenance mode

Expected results:
server to boot

Additional info:
There was no lvm filter set and looks like hitting too many open files.
However this worked previously with lvm on RHEL7.5

Has something changed in handling of opening of devices between these versions.

Will attach lvmdump output and sosreport from a failed boot.

Comment 4 Zdenek Kabelac 2019-04-01 10:14:42 UTC
Assumption is - it's duplicate of bug 1666612.
If the fixing of udev rules fixes the issue - please close as duplicate.


Also see the bug 1671036 comment 32.

Comment 6 Zdenek Kabelac 2019-04-02 09:13:14 UTC
Yep this looks like the tool gets out of file descriptors.


From light look over 7.6 branch - it does look like there is limitation for 256 MAX_IO.

Can we see output of:


# cat /proc/sys/fs/file-nr

Comment 7 Zdenek Kabelac 2019-04-02 09:16:06 UTC
Also as an instant workaround - please  setup proper 'white-listing' filter  that accepts only those devices that can be really PV
and reject every other block device in system (global_filter)

This should greatly enhance overal performance for lvm & lvmetad.

Comment 14 Jon Magrini 2019-09-10 19:12:16 UTC

*** This bug has been marked as a duplicate of bug 1691277 ***