LINBIT / linstor-proxmox

Integration pluging bridging LINSTOR to Proxmox VE
31 stars 7 forks source link

Storage status is inactive #25

Closed SnelsSM closed 5 years ago

SnelsSM commented 5 years ago

Hi. Proxmox UI/pvesm doesn't show drbd-pool size, content... And marks storage as inactive. But storage works well! I can create/migrate/etc VMs. What's wrong?

Proxmox 5.4.11.

ii  linstor-client                       1.0.1-1                        all          Linstor client command line tool
ii  linstor-common                       1.1.0-1                        all          DRBD distributed resource management utility
ii  linstor-proxmox                      4.0.0-1                        all          DRBD distributed resource management utility
ii  linstor-satellite                    1.1.0-1                        all          DRBD distributed resource management utility
ii  python-linstor                       1.0.0-1                        all          Linstor python api library
pvesm status -storage drbdpool
Name            Type     Status           Total            Used       Available        %
drbdpool        drbd   inactive               0               0               0    0.00%

/etc/pve/storage.cfg

drbd: drbdpool
        content rootdir,images
        controller 192.168.243.147
        storagepool drbdpool

But

linstor storage-pool list
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ StoragePool ┊ Node              ┊ Driver   ┊ PoolName     ┊ FreeCapacity ┊ TotalCapacity ┊ SupportsSnapshots ┊ State ┊
╞══════════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
┊ drbdpool    ┊ linstor-storage01 ┊ LVM_THIN ┊ pve/drbdpool ┊   227.06 GiB ┊       240 GiB ┊ true              ┊ Ok    ┊
┊ drbdpool    ┊ linstor-storage02 ┊ LVM_THIN ┊ pve/drbdpool ┊   227.04 GiB ┊       240 GiB ┊ true              ┊ Ok    ┊
┊ drbdpool    ┊ linstor-storage03 ┊ LVM_THIN ┊ pve/drbdpool ┊   227.06 GiB ┊       240 GiB ┊ true              ┊ Ok    ┊
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
linstor resource list
╭──────────────────────────────────────────────────────────────╮
┊ ResourceName  ┊ Node              ┊ Port ┊ Usage  ┊    State ┊
╞══════════════════════════════════════════════════════════════╡
┊ vm-353-disk-1 ┊ linstor-storage01 ┊ 7002 ┊ Unused ┊ UpToDate ┊
┊ vm-353-disk-1 ┊ linstor-storage02 ┊ 7002 ┊ Unused ┊ UpToDate ┊
┊ vm-353-disk-1 ┊ linstor-storage03 ┊ 7002 ┊ Unused ┊ UpToDate ┊
┊ vm-353-disk-1 ┊ sd-blade2-4       ┊ 7002 ┊ InUse  ┊ Diskless ┊
╰──────────────────────────────────────────────────────────────╯
rck commented 5 years ago

Does not reproduce for me in PVE6. As the code is the same, I'd be surprised it would be a PVE5 vs. PVE6 problem. If you can reproduce it in PVE6, feel free to reopen. Closed for now.

nem0nxt commented 5 years ago

Hi I am having exactly the same issue here and I am on version 6. I used linstor ppa for proxmox.

velifico commented 3 years ago

I have a Proxmox cluster on blades with diskless Linstor resources and two separate storage servers also running Proxmox. Status is 'active' only on that storage servers. Proxmox 6.4.