The pacemaker `Filesystem` resource is killing unrelated processes when resource is stopped
Environment
- Red Hat Enterprise Linux Server 8, 9 (with the High Availability Add On)
Issue
- The pacemaker
Filesystemresource is killing unrelated processes when resource-agent is stopped.
Resolution
Red Hat Enterprise Linux 8
- This issue This content is not included.RHEL-69297 has been resolved with the errata RHBA-2024:11204 for RHEL 8.10 that provides the following package version: resource-agents-4.9.0-54.el8_10.6.
Red Hat Enterprise Linux 9
- This issue This content is not included.RHEL-40393 has been resolved with the errata RHBA-2024:9074 for RHEL 9.5 that provides the following package(s):
resource-agents-paf-4.10.0-64.el9_5,resource-agents-4.10.0-64.el9_5,resource-agents-cloud-4.10.0-64.el9_5.
Root Cause
The issue is addressed with the following fix: Content from github.com is not included.Merge pull request #1945 from gianlucapiccolo/fix-1944 · ClusterLabs/resource-agents@5a120c1. The issue can cause processes running on a different filesystem being killed when stopping a filesystem (managed by pacemaker resource-agent Filesystem) that is nested below.
Diagnostic Steps
Check to see if there are nested filesystems being managed by pacemaker or local filesystems.
For example if the following was managed by pacemaker:
/foo: Manged locally or managed by pacemaker with aFilesystemresource-agent./foo/bar: Managed bypacemakerwith aFilesystemresource-agent.
When the Filesystem resource /foo/bar is stopped, it also kills processes using the Filesystem resource /foo.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.