The pacemaker `Filesystem` resource is killing unrelated processes when resource is stopped

Solution Verified - Updated

Environment

  • Red Hat Enterprise Linux Server 8, 9 (with the High Availability Add On)

Issue

  • The pacemaker Filesystem resource is killing unrelated processes when resource-agent is stopped.

Resolution

Red Hat Enterprise Linux 8

Red Hat Enterprise Linux 9

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 a Filesystem resource-agent.
  • /foo/bar: Managed by pacemaker with a Filesystem resource-agent.

When the Filesystem resource /foo/bar is stopped, it also kills processes using the Filesystem resource /foo.

SBR
Components
Category

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.