An nfsserver resource stops successfully even though /var/lib/nfs fails to unmount in a Pacemaker cluster
Issue
- An
ocf:heartbeat:nfsserver
resource's stop operation succeeded despite the/var/lib/nfs
filesystem failing to unmount. - An
LVM-activate
resource failed to stop due to a filesystem in use by NFS, even though thenfsserver
andFilesystem
resources already stopped.
Jan 27 15:08:23 node1 pacemaker-controld[1208]: notice: Initiating stop operation nfs-daemon_stop_0 locally on node1
Jan 27 15:08:23 node1 nfsserver(nfs-daemon)[3481342]: INFO: Stopping NFS server ...
Jan 27 15:08:25 node1 nfsserver(nfs-daemon)[3481342]: INFO: NFS server stopped
Jan 27 15:08:25 node1 pacemaker-execd[1205]: notice: nfs-daemon_stop_0[3481342] error output [ umount: /var/lib/nfs: target is busy. ]
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Result of stop operation for nfs-daemon on node1: ok
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Initiating stop operation nfsshare_stop_0 locally on node1
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Result of stop operation for nfsshare on node1: ok
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Initiating stop operation lvm_ha_stop_0 locally on node1
Jan 27 15:08:25 node1 LVM-activate(lvm_ha)[3481596]: INFO: Deactivating vg_nfs
Jan 27 15:08:25 node1 LVM-activate(lvm_ha)[3481596]: ERROR: Logical volume vg_nfs/lv_nfs contains a filesystem in use.
Jan 27 15:08:25 node1 LVM-activate(lvm_ha)[3481596]: ERROR: vg_nfs: failed to deactivate.
Jan 27 15:08:25 node1 pacemaker-execd[1205]: notice: lvm_ha_stop_0[3481596] error output [ ocf-exit-reason:vg_nfs: failed to deactivate. ]
Jan 27 15:08:25 node1 pacemaker-controld[1208]: notice: Result of stop operation for lvm_ha on node1: error
Environment
- Red Hat Enterprise Linux 8 (with the High Availability Add-on)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.