[Bug 2065848] Re: An ocf:heartbeat:nfsserver resource's stop operation succeeded despite the /var/lib/nfs filesystem failing to unmount.
Jacob Becker
2065848 at bugs.launchpad.net
Wed Aug 21 10:24:03 UTC 2024
Hi
yes, on the resource-agents side the commit is sufficient.
Steps to repoduce:
install ubuntu 22.04 with pacemaker, corosync, nfs-kernel-server and
resource-agents.
configure a ocf:heartbeat:nfsserver resource _with_ nfs_shared_infodir
parameter.
start an the try to stop the resource.
after a successful stop you will still se a mounted /var/lib/nfs. if your nfs_shared_infodir path is on a mounted resource itself, this resource cannot be stopped, since it is still mounted.
for testing purpose its sufficient to check is the mount still is there.
you most likely see a
pacemaker-execd[]: notice: nfs_daemon_stop_0[65992] error output [ umount: /var/lib/nfs: target is busy. ] line in the log although the resource is considered stopped without error.
Kind regards
Jacob
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/2065848
Title:
An ocf:heartbeat:nfsserver resource's stop operation succeeded despite
the /var/lib/nfs filesystem failing to unmount.
Status in nfs-utils package in Ubuntu:
New
Status in resource-agents package in Ubuntu:
Triaged
Bug description:
The resource "ocf:heartbeat:nfsserver" is considered stopped even the process returned an error:
pacemaker-execd[7831]: notice: nfs_daemon_stop_0[65992] error output [ umount: /var/lib/nfs: target is busy. ]
Beacause it is considered successfully stopped a later unmount of an LVM resource failed:
LVM-activate(LVM_nfs_infodir_LV)[69671]: ERROR: PARTIAL MODE. Incomplete logical volumes will be processed. Logical volume DCSS_VG/nfs_infodir contains a filesystem in use.
cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
resource-agents-base/jammy-updates,now 1:4.7.0-1ubuntu7.2 all [installed,automatic]
Cluster Resource Agents curated by Ubuntu
resource-agents-common/jammy-updates,now 1:4.7.0-1ubuntu7.2 amd64 [installed,automatic]
Common files used by the Cluster Resource Agents
resource-agents-extra/jammy-updates,now 1:4.7.0-1ubuntu7.2 amd64 [installed]
Cluster Resource Agents
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/2065848/+subscriptions
More information about the foundations-bugs
mailing list