[DRBD-user] PROXMOX 5.4 - DRBD 9 - Error when creating VM on drbd

Sebastien CHATEAU-DUTIER sebastien at chateau-dutier.com
Thu Dec 5 12:46:34 CET 2019


Dear all,

I have make fresh and up to date install of Proxmox 5, 3 nodes cluster 
with DRBD 9, everything same to be good, but when I create VM on 
drbdstorage I have this error :

TASK ERROR: unable to create VM 100 - error with cfs lock 
'storage-drbdstorage': Could not set allow-two-primaries on resource 
definition vm-100-disk-1, because: 
[{"ret_code":37224451,"message":"Resource definition 'vm-100-disk-1' 
modified.","details":"Resource definition 'vm-100-disk-1' UUID is: 
39f520d1-2ac6-47da-...........

The proxmox cluster same to be good :

Quorum information
------------------
Date:             Thu Dec  5 12:43:17 2019
Quorum provider:  corosync_votequorum
Nodes:            3
Node ID:          0x00000001
Ring ID:          1/56
Quorate:          Yes

Votequorum information
----------------------
Expected votes:   3
Highest expected: 3
Total votes:      3
Quorum:           2
Flags:            Quorate

Membership information
----------------------
     Nodeid      Votes Name
0x00000001          1 192.168.253.1 (local)
0x00000002          1 192.168.253.2
0x00000003          1 192.168.253.3

Linstor/DRBD same to be good :

LINSTOR ==> node list
╭────────────────────────────────────────────────────────────╮
┊ Node     ┊ NodeType  ┊ Addresses                  ┊ State  ┊
╞════════════════════════════════════════════════════════════╡
┊ dps10534 ┊ SATELLITE ┊ 192.168.253.2:3366 (PLAIN) ┊ Online ┊
┊ dps59370 ┊ COMBINED  ┊ 192.168.253.1:3366 (PLAIN) ┊ Online ┊
┊ dps99085 ┊ SATELLITE ┊ 192.168.253.3:3366 (PLAIN) ┊ Online ┊
╰────────────────────────────────────────────────────────────╯
LINSTOR ==> storage-pool list
╭────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ StoragePool ┊ Node     ┊ Driver   ┊ PoolName        ┊ FreeCapacity ┊ 
TotalCapacity ┊ SupportsSnapshots ┊ State ┊
╞════════════════════════════════════════════════════════════════════════════════════════════════════════════════╡
┊ drbdpool    ┊ dps10534 ┊ LVM_THIN ┊ vg_drbd/lv_drbd ┊        3 TiB 
┊         3 TiB ┊ True              ┊ Ok    ┊
┊ drbdpool    ┊ dps59370 ┊ LVM_THIN ┊ vg_drbd/lv_drbd ┊        3 TiB 
┊         3 TiB ┊ True              ┊ Ok    ┊
┊ drbdpool    ┊ dps99085 ┊ LVM_THIN ┊ vg_drbd/lv_drbd ┊        3 TiB 
┊         3 TiB ┊ True              ┊ Ok    ┊
╰────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯

If create resource manualy on linstor all same to be OK :

LINSTOR ==> resource list
╭────────────────────────────────────────────────────╮
┊ ResourceName ┊ Node     ┊ Port ┊ Usage  ┊    State ┊
╞════════════════════════════════════════════════════╡
┊ hd-test      ┊ dps10534 ┊ 7000 ┊ Unused ┊ UpToDate ┊
┊ hd-test      ┊ dps59370 ┊ 7000 ┊ Unused ┊ UpToDate ┊
┊ hd-test      ┊ dps99085 ┊ 7000 ┊ Unused ┊ UpToDate ┊
╰────────────────────────────────────────────────────╯

I Use :

Proxmox 5.4.13

DRBD 9.0.21-1

Linstor 1.0.8

Drbdadm 9.11.0


Have you any idea for solving this issue ?

Thanks for your help and best regards.

Sebastien



More information about the drbd-user mailing list