Skip to content

linstor storage pool creation fail #74

@alcoralcor

Description

@alcoralcor

I can't find any similar issue.
This happened on incus 6.0 and 6.14
I use :

  • OpenTofu 1.10.3
  • ansible-core 2.18.1
  • latest incus-deploy (b2bf217)
  • python 1.13.1 (pyenv)

I follow the exact procedure but each time, I get the following error : "The satellite does not support the device provider LVM_THIN" on server01

TASK [lxc.incus.linstor : Create storage pool] *******************************************************************************************************************************
skipping: [server05] => (item=server01)
skipping: [server05] => (item=server02)
skipping: [server02] => (item=server01)
skipping: [server05] => (item=server03)
skipping: [server02] => (item=server02)
skipping: [server04] => (item=server01)
skipping: [server05] => (item=server04)
skipping: [server04] => (item=server02)
skipping: [server02] => (item=server03)
skipping: [server05] => (item=server05)
skipping: [server05]
skipping: [server02] => (item=server04)
skipping: [server04] => (item=server03)
skipping: [server03] => (item=server01)
skipping: [server02] => (item=server05)
skipping: [server02]
skipping: [server03] => (item=server02)
skipping: [server04] => (item=server04)
skipping: [server03] => (item=server03)
skipping: [server04] => (item=server05)
skipping: [server04]
skipping: [server03] => (item=server04)
skipping: [server03] => (item=server05)
skipping: [server03]
failed: [server01] (item=server01) => {"ansible_loop_var": "item", "changed": false, "cmd": ["linstor", "physical-storage", "create-device-pool", "--storage-pool", "incus", "--pool-name", "linstor-incus", "lvmthin", "server01", "/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_incus_disk5"], "delta": "0:00:00.098983", "end": "2025-07-28 19:35:31.310855", "item": "server01", "msg": "non-zero return code", "rc": 10, "start": "2025-07-28 19:35:31.211872", "stderr": "", "stderr_lines": [], "stdout": "\u001b[1;31mERROR:\n\u001b[0m    The satellite does not support the device provider LVM_THIN", "stdout_lines": ["\u001b[1;31mERROR:", "\u001b[0m    The satellite does not support the device provider LVM_THIN"]}
changed: [server01] => (item=server02)
changed: [server01] => (item=server03)
changed: [server01] => (item=server04)
changed: [server01] => (item=server05)

PLAY RECAP *******************************************************************************************************************************************************************
server01                   : ok=74   changed=52   unreachable=0    failed=1    skipped=25   rescued=0    ignored=0
server02                   : ok=47   changed=34   unreachable=0    failed=0    skipped=47   rescued=0    ignored=0
server03                   : ok=47   changed=34   unreachable=0    failed=0    skipped=47   rescued=0    ignored=0
server04                   : ok=34   changed=22   unreachable=0    failed=0    skipped=58   rescued=0    ignored=0
server05                   : ok=34   changed=22   unreachable=0    failed=0    skipped=58   rescued=0    ignored=0

$ linstor storage-pool list
... does not list pool on server01

But :

$ incus project switch dev-incus-deploy
$ incus exec server01 bash
# linstor physical-storage create-device-pool --storage-pool incus --pool-name linstor-incus lvmthin server01 /dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_incus_disk5
SUCCESS:
    (server01) PV for device '/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_incus_disk5' created.
SUCCESS:
    (server01) VG for devices [/dev/disk/by-id/nvme-QEMU_NVMe_Ctrl_incus_disk5] with name 'linstor_linstor-incus' created.
SUCCESS:
    (server01) Thin-pool 'linstor-incus' in LVM-pool 'linstor_linstor-incus' created.
SUCCESS:
    Successfully set property key(s): StorDriver/StorPoolName
SUCCESS:
Description:
    New storage pool 'incus' on node 'server01' registered.
Details:
    Storage pool 'incus' on node 'server01' UUID is: 5f206d53-5705-49f9-bc9b-e3db32ea59cc
SUCCESS:
    (server01) Changes applied to storage pool 'incus'
$ linstor storage-pool list
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ StoragePool          ┊ Node     ┊ Driver   ┊ PoolName                            ┊ FreeCapacity ┊ TotalCapacity ┊ CanSnapshots ┊ State ┊ SharedName                    ┊
╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
┊ DfltDisklessStorPool ┊ server01 ┊ DISKLESS ┊                                     ┊              ┊               ┊ False        ┊ Ok    ┊ server01;DfltDisklessStorPool ┊
┊ DfltDisklessStorPool ┊ server02 ┊ DISKLESS ┊                                     ┊              ┊               ┊ False        ┊ Ok    ┊ server02;DfltDisklessStorPool ┊
┊ DfltDisklessStorPool ┊ server03 ┊ DISKLESS ┊                                     ┊              ┊               ┊ False        ┊ Ok    ┊ server03;DfltDisklessStorPool ┊
┊ DfltDisklessStorPool ┊ server04 ┊ DISKLESS ┊                                     ┊              ┊               ┊ False        ┊ Ok    ┊ server04;DfltDisklessStorPool ┊
┊ DfltDisklessStorPool ┊ server05 ┊ DISKLESS ┊                                     ┊              ┊               ┊ False        ┊ Ok    ┊ server05;DfltDisklessStorPool ┊
┊ incus                ┊ server01 ┊ LVM_THIN ┊ linstor_linstor-incus/linstor-incus ┊    49.89 GiB ┊     49.89 GiB ┊ True         ┊ Ok    ┊ server01;incus                ┊
┊ incus                ┊ server02 ┊ LVM_THIN ┊ linstor_linstor-incus/linstor-incus ┊    49.89 GiB ┊     49.89 GiB ┊ True         ┊ Ok    ┊ server02;incus                ┊
┊ incus                ┊ server03 ┊ LVM_THIN ┊ linstor_linstor-incus/linstor-incus ┊    49.89 GiB ┊     49.89 GiB ┊ True         ┊ Ok    ┊ server03;incus                ┊
┊ incus                ┊ server04 ┊ LVM_THIN ┊ linstor_linstor-incus/linstor-incus ┊    49.89 GiB ┊     49.89 GiB ┊ True         ┊ Ok    ┊ server04;incus                ┊
┊ incus                ┊ server05 ┊ LVM_THIN ┊ linstor_linstor-incus/linstor-incus ┊    49.89 GiB ┊     49.89 GiB ┊ True         ┊ Ok    ┊ server05;incus                ┊
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions