Hi, in a openstack cloud with LINSTOR, i want to create a volume type with the linstor property “DrbdOptions/Disk/al-extents” set to 6007. This is what shows in openstack volume type section:
volume_backend_name linstor-drbd
linstor:redundancy 2
linstor:storage_pool cinder-pool
linstor:property:DrbdOptions:Disk:al-extents 6007
This is the actual /etc/cinder/cinder.conf file:
[linstor-drbd]
volume_driver = cinder.volume.drivers.linstordrv.LinstorDrbdDriver
volume_backend_name = linstor-drbd
max_over_subscription_ratio = 1.5
thin_provisioning_support = True
linstor_uris = linstor://10.0.10.10,linstor://10.0.10.11,linstor://10.0.10.12
When i create a volume from this volume type, i see that the corresponding resource group gets created with property set:
~$ linstor resource-group l
╭──────────────────────────────────────────────────────────────────────────────
┊ ResourceGroup ┊ SelectFilter ┊ VlmNrs ┊ Properties ┊ Description ┊
╞═════════════════
┊ DfltRscGrp ┊ PlaceCount: 2 ┊ ┊ ┊ ┊
╞┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄┄
┊ cinder-79ab6d3a-114e-46a4-9764-2deb3f40dc36 ┊ PlaceCount: 2 ┊ 0 ┊ DrbdOptions/Disk/al-extents=6007 ┊ For volume type "linstor-2-repl-tuned" ┊
But the resource-definition for the volume created does not have the property set:
(kolla-venv) nodo1:~$ linstor resource-definition lp volume-f45d9962-d1c2-4b52-ab63-56ac267514e5
╭─────────────────────────────────────────────────╮
┊ Key ┊ Value ┊
╞═════════════════════════════════════════════════╡
┊ DrbdOptions/Net/allow-two-primaries ┊ yes ┊
┊ DrbdOptions/Resource/quorum ┊ off ┊
┊ DrbdOptions/auto-verify-alg ┊ crct10dif ┊
$(kolla-venv) nodo1:~$ linstor resource-definition l
╭──────────────────────────────────────────────────────────────────────────────────────────────────────────────────╮
┊ ResourceName ┊ ResourceGroup ┊ Layers ┊ State ┊
════════════════╡
┊ volume-f45d9962-d1c2-4b52-ab63-56ac267514e5 ┊ cinder-79ab6d3a-114e-46a4-9764-2deb3f40dc36 ┊ DRBD,STORAGE ┊ ok ┊
╰──────────────────────────────────────────────────────────────────────────────
(kolla-venv) @nodo1:~$ openstack volume list
+--------------------------------------+------+--------+------+--------------------------------+
| ID | Name | Status | Size | Attached to |
+--------------------------------------+------+--------+------+--------------------------------+
| f45d9962-d1c2-4b52-ab63-56ac267514e5 | | in-use | 2 | Attached to test5 on /dev/vda |
+--------------------------------------+------+--------+------+--------------------------------+
Why is that happening? Is a problem from the driver? I’m using 2.0.0 version of Linstor driver.