[Pacemaker] Lrmd does not release file descriptors

Bug #1864610 reported by Alexander Rubtsov
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mirantis OpenStack
Roman Lubianyi

Bug Description

MOS release: 9.x
Related component: Pacemaker

While executing some crm queries, lrmd process does not free up file descriptors so after a time it reaches its file descriptor limit.

Please include the following patch to the corresponding MOS package:

Revision history for this message
Denis Meltsaykin (dmeltsaykin) wrote :

Lowering to Medium since a solid workaround is available (this issue only fires up when a resource agent does no exist or is not executable).

Changed in mos:
importance: High → Medium
assignee: nobody → MOS Maintenance (mos-maintenance)
status: New → Confirmed
Changed in mos:
assignee: MOS Maintenance (mos-maintenance) → Roman Lubianyi (rlubianyi)
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix proposed to packages/trusty/pacemaker (9.0)

Fix proposed to branch: 9.0
Change author: NAKAHIRA Kazutomo <email address hidden>
Review: https://review.fuel-infra.org/41580

Changed in mos:
status: Confirmed → In Progress
Revision history for this message
Fuel Devops McRobotson (fuel-devops-robot) wrote : Fix merged to packages/trusty/pacemaker (9.0)

Reviewed: https://review.fuel-infra.org/41580
Submitter: Pkgs Jenkins <email address hidden>
Branch: 9.0

Commit: 894e2d8ef9276005a510d991c01cdd3c7b8c1088
Author: NAKAHIRA Kazutomo <email address hidden>
Date: Wed Feb 26 09:16:57 2020

Check resource agent is executable or not before pipe open.

Currently, if lrmd execute resource
operation and resource agent does not exist, then pipe
does not closed. It waste 4 file descriptors each resource

Change-Id: Ic739d7406400959e89517efa581afbcf8d087c88
closes-bug: #1864610

Changed in mos:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers