Skip to content

ensure -> mounted does not work as documented #62

@jorhett

Description

@jorhett

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 '[email protected]=/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
[email protected]=/vendors on /vendors type ceph (rw,noatime,name=eda,secret=<hidden>,ms_mode=prefer-crc,acl)

Environment

  • Version: 8.4
  • Platform: EL9

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions