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

ensure -> mounted does not work as documented #62

Open
jorhett opened this issue Nov 3, 2024 · 0 comments
Open

ensure -> mounted does not work as documented #62

jorhett opened this issue Nov 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jorhett
Copy link

jorhett commented Nov 3, 2024

Describe the Bug

The docs say of ensure => mounted

Set to mounted to add it to the fstab and mount it.

Expected Behavior

When an entry is changed in the fstab, the new entry will be added and the new filesystem will be mounted.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Create a mounted filesystem resource, apply it.
  2. Change the mount point, then apply the change
  3. Observe that the resources are changed and a remount is scheduled
Notice: /Stage[main]/Stdlib::Manage/Mount[/vendors]/device: device changed 'eda@8709a2de-1fc2-11ef-9d65-18b04d8742ae.eda-fs=/vendors' to 'pure-nfs:/vendors'
Notice: /Stage[main]/Stdlib::Manage/Mount[/vendors]/fstype: fstype changed 'ceph' to 'nfs4'
Info: /Stage[main]/Stdlib::Manage/Mount[/vendors]: Scheduling refresh of Mount[/vendors]
Info: Mount[/vendors](provider=parsed): Remounting
Notice: /Stage[main]/Stdlib::Manage/Mount[/vendors]: Triggered 'refresh' from 3 events
Info: /Stage[main]/Stdlib::Manage/Mount[/vendors]: Scheduling refresh of Mount[/vendors]
  1. Find out afterwards that the remount did not occur
# mount |grep -i vendors
eda@8709a2de-1fc2-11ef-9d65-18b04d8742ae.eda-fs=/vendors on /vendors type ceph (rw,noatime,name=eda,secret=<hidden>,ms_mode=prefer-crc,acl)

Environment

  • Version: 8.4
  • Platform: EL9
@jorhett jorhett added the bug Something isn't working label Nov 3, 2024
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