Hi
So think i found the core issue:

ocf:heartbeat:nfsserver checks the EXEC_Mode by checking some scripts and if 
none of them works switches to systemd.
the nfs-kernel-server package in ubuntu however offers 
/etc/init.d/nfs-kernel-server as a way to interact with the service.
Therefore the EXEC-Mode will always be 1 (the "script" mode).
This is perfectly fine at the start of the resource, creates an issue at the 
stopping however.
Sicne EXEC_mode is 1 in function "nfsserver_stop () the "case $EXEC_MODE" 
structure is omitted.
so the  "nfs_exec stop nfsdcld" command will never be executed.

Without stopping nfsdcld however /var/lib/nfs is busy an causes the
resource to exit with error.

I'll try to mask my /etc/init.d/nfs-kernel-server script and will report
back (next week)

Best wishes
Jacob

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to 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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/resource-agents/+bug/2065848/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to