Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mount resource tries to umount all filesystems with nfs handler #64

Open
jorhett opened this issue Jan 8, 2025 · 0 comments
Open

mount resource tries to umount all filesystems with nfs handler #64

jorhett opened this issue Jan 8, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@jorhett
Copy link

jorhett commented Jan 8, 2025

Describe the Bug

It tries to use umount.nfs to umount filesystems of all types.

Expected Behavior

It should check the filesystem, or use the declared type to umount it.

Steps to Reproduce

  1. Mount a ceph (or likely any other) filesystem
  2. Run puppet resource mount /mnt/test (or whatever) and direct to a file
  3. Change 'mounted' to 'absent'
  4. Run puppet apply filename.pp
Error: Execution of '/bin/umount /mnt/test' returned 1: umount.nfs: /mnt/test: is not an NFS filesystem
Error: /Stage[main]/Mount[/mnt/test]/ensure: change from 'mounted' to 'unmounted' failed: Execution of '/bin/umount /mnt/test' returned 1: umount.nfs: /mnt/test: is not an NFS filesystem

Environment

  • Version [e.g. 1.27.0] 8.10.1
  • Platform [e.g. Ubuntu 18.04] AlmaLinux 8.10

Additional Context

Add any other context about the problem here.

@jorhett jorhett added the bug Something isn't working label Jan 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant