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

Zfs/Zpool properties not applied #92

Open
hb0nes opened this issue Dec 10, 2024 · 0 comments
Open

Zfs/Zpool properties not applied #92

hb0nes opened this issue Dec 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hb0nes
Copy link

hb0nes commented Dec 10, 2024

Describe the Bug

profile::base::zfs_management::pools:
  zpool:
    ensure: present
    mirror:
      - /dev/disk/by-path/pci-0000:50:00.0-nvme-1-part3 /dev/disk/by-path/pci-0000:51:00.0-nvme-1-part3
profile::base::zfs_management::datasets:
  zpool:
    ensure: present
    setuid: off
    devices: off
  zpool/home:
    ensure: present
    mountpoint: /home
    setuid: off
    devices: off
  zpool/srv:
    ensure: present
    mountpoint: /srv
    setuid: off
    devices: off

Using the above hiera config, I do not see setuid or devices being applied to zpool.
Furthermore, once the zfs datasets already exist, the properties are also not being set.

12:39:44|production|root@ld4-mon-02:~# zfs get devices zpool/srv
NAME       PROPERTY  VALUE    SOURCE
zpool/srv  devices   on       default
12:42:34|production|root@ld4-mon-02:~# zfs get setuid zpool/home
NAME        PROPERTY  VALUE   SOURCE
zpool/home  setuid    on      default

Expected Behavior

Set properties on a pool and datasets.

Steps to Reproduce

  • Configure pool, try to set properties on it.
  • Configure datasets.
    • Create datasets by running Puppet.
    • Edit dataset config to set properties.

Environment

  • Version mod 'puppetlabs-zfs_core', '1.6.1'
  • Platform Debian 12
@hb0nes hb0nes added the bug Something isn't working label Dec 10, 2024
@hb0nes hb0nes changed the title Zfs/Zpool properties nota pplied Zfs/Zpool properties not applied Dec 10, 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