Pacemaker Filesytem resource monitor fails after Vormetric encryption is started
Issue
-
When the
Vormetricencryption software is started on apacemakerclusterFilesystemresource, the monitor operations fails with:warning: Unexpected result (not configured: Another device (/dev/mapper/clustervg-clusterlv) was recorded for monitor of clusterfs on nodea at Jun 16 12:00:00 2025 | exit-status=6 id=clusterfs_last_failure_0 -
When trying to
debug-monitorthe resource, the/proc/mountsshows the filesystem mounted twice, one by the cluster and the other by the encryption which causes the failure on newerresource-agentsversions:# pcs resource debug-monitor clusterfs --full Operation force-check for clusterfs (ocf:heartbeat:Filesystem) returned 7 (not running) -------------------------------------- ++ 12:00:00: list_mounts:354: mount_list='proc /proc proc /dev/mapper/clustervg-clusterlv /clusterfs xfs /clusterfs /clusterfs secfs2' -------------------------------------- + 12:00:00: Filesystem_status:815: local 'mounted_device=/dev/mapper/clustervg-clusterlv /clusterfs' + 12:00:00: Filesystem_status:817: '[' -n '/dev/mapper/clustervg-clusterlv /clusterfs' ']' + 12:00:00: Filesystem_status:818: '[' Xyes = Xyes ']' + 12:00:00: Filesystem_status:819: '[' -e /dev/clustervg/clusterlv ']' ++ 12:00:00: Filesystem_status:820: readlink -f /dev/clustervg/clusterlv + 12:00:00: Filesystem_status:820: local canonicalized_device=/dev/dm-2 + 12:00:00: Filesystem_status:821: '[' 0 -ne 0 ']' + 12:00:00: Filesystem_status:828: '[' -e '/dev/mapper/clustervg-clusterlv /clusterfs' ']' + 12:00:00: Filesystem_status:835: local 'canonicalized_mounted_device=/dev/mapper/clustervg-clusterlv /clusterfs' + 12:00:00: Filesystem_status:837: '[' /dev/dm-2 '!=' '/dev/mapper/clustervg-clusterlv /clusterfs' ']' + 12:00:00: Filesystem_status:838: ocf_is_probe + 12:00:00: ocf_is_probe:555: '[' monitor = monitor -a 0 = 0 ']' + 12:00:00: Filesystem_status:839: ocf_log debug 'Another device (/dev/mapper/clustervg-clusterlv /clusterfs) is already mounted on /clusterfs'
Environment
- Red Hat Enterprise Linux (RHEL) Server 9, 10 with the High Availability Add On
resource-agents-4.10.0-64.el9_5and later
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.