Umount fails to recognize NFS mount point is already unmounted

I am on:
Red Hat Enterprise Linux Server release 6.7 (Santiago)
Chef 11.16.0

When executing: chef-client | tee chef3.out &
With recipe:
#umount to clean up after the install
#Even if unmounted, Chef doesn’t recognize this
mount “/mnt/software” do
fstype "nfs"
action :umount
retries 16
retry_delay 15
end

I get the following where Chef has no clue that the NFS mount point is gone:

mount | grep software

[2016-02-04T12:47:20-08:00] INFO: Retrying execution of
mount[/mnt/software], 14 attempt(s) left

umount /mnt/software

umount: /mnt/software: not mounted

[2016-02-04T12:47:36-08:00] INFO: Retrying execution of

mount[/mnt/software], 13 attempt(s) left

umount /mnt/software

umount: /mnt/software: not mounted

[2016-02-04T12:47:51-08:00] INFO: Retrying execution of

mount[/mnt/software], 12 attempt(s) left

Similarly lsof and mount/df show there is no mount point.

Can someone point me to the RTFM on how to get Chef to recognize the mount
point no longer exists or how to trace/debug the issue outside of strace?

Thanks!!
DANIEL L. NEEDLES
Principal Consultant
NMSGuru, Inc. http://www.nmsguru.com/
512.233.1000
guru@nmsguru.com

Try running chef-client with the *-l debug *option (that’s a lower case L)
to see if you get any better logging.