Gateway failure to create iscsi target

I have been trying to set up a 3 node SDS using linstor-satellite, linstor-controller and linstor-client in containers. This seemed harder to achieve than it should have been, but that may just have been me! Then I came to try and create an iscsi target and got the following errors (ips and nodenames changed); exit code 32 means the devices do not exist. Any suggestions about what is causing this :

node003:~ # linstor-gateway iscsi create iqn.2010-10.x.y.z:main-target 192.168.a.b/24 100M --implementation โ€œlio-tโ€ --resource-group โ€œgateway-grpโ€

ERRO[0009] failed to create iscsi resource: failed to create linstor resource: failed to autoplace resources:

Message: โ€˜Successfully set property key(s): StorPoolNameโ€™ next error:
Message: โ€˜Successfully set property key(s): StorPoolNameโ€™ next error:
Message: โ€˜Successfully set property key(s): StorPoolNameโ€™ next error:
Message: โ€˜Resource โ€˜main-targetโ€™ successfully autoplaced on 3 nodesโ€™; Details: โ€˜Used nodes (storage pool name): โ€˜node001 (gateway_pool)โ€™, โ€˜node002 (gateway_pool)โ€™, โ€˜node003 (gateway_pool)โ€™โ€™ next error:
Message: โ€˜Updated main-target DRBD auto verify algorithm to โ€˜crc32cโ€™โ€™ next error:
Message: โ€˜(node003) Volume number 0 of resource โ€˜main-targetโ€™ [LVM-Thin] createdโ€™ next error:
Message: โ€˜(node003) Volume number 1 of resource โ€˜main-targetโ€™ [LVM-Thin] createdโ€™ next error:
Message: โ€˜(node003) Resource โ€˜main-targetโ€™ [DRBD] adjusted.โ€™ next error:
Message: โ€˜Created resource โ€˜main-targetโ€™ on โ€˜node003โ€™โ€™ next error:
Message: โ€˜(node002) Volume number 0 of resource โ€˜main-targetโ€™ [LVM-Thin] createdโ€™ next error:
Message: โ€˜(node002) Volume number 1 of resource โ€˜main-targetโ€™ [LVM-Thin] createdโ€™ next error:
Message: โ€˜(node002) Resource โ€˜main-targetโ€™ [DRBD] adjusted.โ€™ next error:
Message: โ€˜Created resource โ€˜main-targetโ€™ on โ€˜node002โ€™โ€™ next error:
Message: โ€˜(node001) Volume number 0 of resource โ€˜main-targetโ€™ [LVM-Thin] createdโ€™ next error:
Message: โ€˜(node001) Volume number 1 of resource โ€˜main-targetโ€™ [LVM-Thin] createdโ€™ next error:
Message: โ€˜(node001) Resource โ€˜main-targetโ€™ [DRBD] adjusted.โ€™ next error:
Message: โ€˜Created resource โ€˜main-targetโ€™ on โ€˜node001โ€™โ€™ next error:
Message: โ€˜Resource โ€˜main-targetโ€™ on โ€˜node003โ€™ readyโ€™; Details: โ€˜Auto-placing resource: main-targetโ€™ next error:
Message: โ€˜Resource โ€˜main-targetโ€™ on โ€˜node002โ€™ readyโ€™; Details: โ€˜Auto-placing resource: main-targetโ€™ next error:
Message: โ€˜Resource โ€˜main-targetโ€™ on โ€˜node001โ€™ readyโ€™; Details: โ€˜Auto-placing resource: main-targetโ€™ next error:

Message: โ€˜(Node: โ€˜node003โ€™) Failed execute lsblkโ€™; Details: 'Command โ€˜lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1001โ€™ returned with exitcode 32.

Standard out:

Error message:
lsblk: /dev/drbd1001: not a block device

'; Reports: โ€˜[669E8925-10C50-000152]โ€™ next error: Message: โ€˜(Node: โ€˜node002โ€™) Failed execute lsblkโ€™; Details: 'Command โ€˜lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1001โ€™ returned with exitcode 32.*

Standard out:

Error message:
lsblk: /dev/drbd1001: not a block device

'; Reports: โ€˜[669E89A1-4CFFD-000127]โ€™ next error: Message: โ€˜(Node: โ€˜node001โ€™) Failed execute lsblkโ€™; Details: 'Command โ€˜lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1001โ€™ returned with exitcode 32.

Standard out:

Error message:
lsblk: /dev/drbd1001: not a block device

'; Reports: โ€˜[669E8A5A-09CA1-000167]โ€™ next error: Message: โ€˜Modification of resource definitions for resource definition โ€˜main-targetโ€™ failed due to an unknown exception.โ€™; Details: โ€˜Resource definitions for Resource definition: main-targetโ€™; Reports: โ€˜[669E9D80-00000-000004]โ€™

Other information:
linstor-client-1.23.0
linstor-server-1.28.0
linstor-gateway-1.5.0

Are you able to create resources successfully using the LINSTOR client?

linstor resource-group spawn-resources gateway-grp test-res-0 1G

Excellent suggestion and interestingly, no. I get the same error messages and also same result using the default group, so this rules out linstor-gateway as the issue. I was able previously to create resources but have changed some of the container mounts since then. Iโ€™ll investigate further.

Thanks for the pointer; sometimes after hours of looking a fresh perspective is invaluable. I need to do some more tests anyway as Iโ€™m having issues getting the mounts right in container. I want to have an HA setup for linstor-controller but the linstor_db resource is created in /var/lib/linstor inside the container. I have tried mounting a DRBD replicated volume on /var/lib/linstor and making this available inside the container but Iโ€™ve not got this right yet.

So I built everything again from scratch. Everything is fine until I tried to spawn resources and then got the same error messages. However, doing this manually (rather than when I was using linstor-gateway) I can see that the resources were actually created and the DRBD LVM is working correctly.

I then promoted node 3 to primary, formatted it, and mounted it successfully, showing that the resource is correctly built from a DRBD point of view.

Frankly I have spent too much time for this already and Iโ€™m going to build things manually; the point of tools after all is too speed things up!

Data below if you are interested:

LINSTOR ==> resource-group spawn-resources linstor-db-grp linstor-db 200M
INFO:
Resource-group doesnโ€™t have any volume-groups, automatically assume partial mode.
SUCCESS:
Volume definition with number โ€˜0โ€™ successfully created in resource definition โ€˜linstor-dbโ€™.
SUCCESS:
Description:
New resource definition โ€˜linstor-dbโ€™ created.
Details:
Resource definition โ€˜linstor-dbโ€™ UUID is: bda67ca0-f1b7-4517-a6f1-3ad238a7f867
SUCCESS:
Successfully set property key(s): StorPoolName
SUCCESS:
Successfully set property key(s): StorPoolName
SUCCESS:
Successfully set property key(s): StorPoolName
SUCCESS:
Description:
Resource โ€˜linstor-dbโ€™ successfully autoplaced on 3 nodes
Details:
Used nodes (storage pool name): โ€˜node001 (acl_pool)โ€™, โ€˜node002 (acl_pool)โ€™, โ€˜node003 (acl_pool)โ€™
INFO:
Updated linstor-db DRBD auto verify algorithm to โ€˜crc32cโ€™
INFO:
Resource-definition property โ€˜DrbdOptions/Resource/quorumโ€™ updated from undefined to โ€˜majorityโ€™ by auto-quorum
INFO:
Resource-definition property โ€˜DrbdOptions/Resource/on-no-quorumโ€™ updated from undefined to โ€˜io-errorโ€™ by auto-quorum
SUCCESS:
(node003) Volume number 0 of resource โ€˜linstor-dbโ€™ [LVM-Thin] created
SUCCESS:
(node003) Resource โ€˜linstor-dbโ€™ [DRBD] adjusted.
SUCCESS:
Created resource โ€˜linstor-dbโ€™ on โ€˜node003โ€™
SUCCESS:
(node002) Volume number 0 of resource โ€˜linstor-dbโ€™ [LVM-Thin] created
SUCCESS:
(node002) Resource โ€˜linstor-dbโ€™ [DRBD] adjusted.
SUCCESS:
Created resource โ€˜linstor-dbโ€™ on โ€˜node002โ€™
SUCCESS:
(node001) Volume number 0 of resource โ€˜linstor-dbโ€™ [LVM-Thin] created
SUCCESS:
(node001) Resource โ€˜linstor-dbโ€™ [DRBD] adjusted.
SUCCESS:
Created resource โ€˜linstor-dbโ€™ on โ€˜node001โ€™
SUCCESS:
Description:
Resource โ€˜linstor-dbโ€™ on โ€˜node001โ€™ ready
Details:
Resource group: linstor-db-grp
SUCCESS:
Description:
Resource โ€˜linstor-dbโ€™ on โ€˜node002โ€™ ready
Details:
Resource group: linstor-db-grp
SUCCESS:
Description:
Resource โ€˜linstor-dbโ€™ on โ€˜node003โ€™ ready
Details:
Resource group: linstor-db-grp
ERROR:
Description:
(Node: โ€˜node003โ€™) Failed execute lsblk
Details:
Command โ€˜lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1000โ€™ returned with exitcode 32.

Standard out:


Error message:
lsblk: /dev/drbd1000: not a block device

Show reports:
linstor error-reports show 66A0FCF3-10C50-000001
ERROR:
Description:
(Node: โ€˜node002โ€™) Failed execute lsblk
Details:
Command โ€˜lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1000โ€™ returned with exitcode 32.

Standard out:


Error message:
lsblk: /dev/drbd1000: not a block device

Show reports:
linstor error-reports show 66A0F82B-4CFFD-000011
ERROR:
Description:
(Node: โ€˜node001โ€™) Failed execute lsblk
Details:
Command โ€˜lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1000โ€™ returned with exitcode 32.

Standard out:


Error message:
lsblk: /dev/drbd1000: not a block device

Show reports:
linstor error-reports show 66A0FCC3-09CA1-000003
ERROR:
Description:
Modification of resource definitions for resource definition โ€˜linstor-dbโ€™ failed due to an unknown exception.
Details:
Resource definitions for Resource definition: linstor-db
Show reports:
linstor error-reports show 66A1015C-00000-000001

LINSTOR ==> resource list
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”Š ResourceName โ”Š Node โ”Š Port โ”Š Usage โ”Š Conns โ”Š State โ”Š CreatedOn โ”Š
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”Š linstor-db โ”Š node001 โ”Š 7000 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-24 13:41:04 โ”Š
โ”Š linstor-db โ”Š node002 โ”Š 7000 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-24 13:41:04 โ”Š
โ”Š linstor-db โ”Š node003 โ”Š 7000 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-24 13:41:04 โ”Š
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

node003:~ # drbdsetup status
linstor-db role:Secondary
disk:UpToDate
node001 role:Secondary
peer-disk:UpToDate
node002 role:Secondary
peer-disk:UpToDate

How are you running the LINSTOR satellite containers? Are you running them with the --privileged flag?

The containers need privilege to access the hostโ€™s block devices:

[root@swarm-0 ~]# docker run --rm -it --name test ubuntu sh -c "lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/vdb"
lsblk: /dev/vdb: not a block device

[root@swarm-0 ~]# docker run --privileged --rm -it --name test ubuntu sh -c "lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/vdb"
NAME="/dev/vdb" SIZE="8589934592" PKNAME="" KNAME="/dev/vdb" ROTA="1" TYPE="disk" FSTYPE="" MAJ:MIN="253:16" MODEL="" SERIAL="" WWN="" STATE="" DISC-GRAN="512"

Well that was fascinating. The short answer is yes I run the container in privileged mode:

podman run -d --name=linstor-satellite --net=host --privileged -v=/var/lib/linstor.d:/var/lib/linstor.d -v=/etc/linstor:/etc/linstor localhost/linstor-satellite

HOWEVERโ€ฆ

I did some tests on the first 2 nodes which were very confusing and here is the clean output from the third node:

Last login: Thu Jul 25 10:22:43 2024 from 192.168.2.91
node001:~ # podman ps
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
c62517d2aad5 localhost/linstor-satellite:latest startSatellite 21 hours ago Up 21 hours linstor-satellite
node001:~ # podman exec linstor-satellite bash -c โ€œlsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1000โ€
lsblk: /dev/drbd1000: not a block device
node001:~ # podman restart linstor-satellite
linstor-satellite
node001:~ # podman exec linstor-satellite bash -c โ€œlsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1000โ€
NAME=โ€œ/dev/drbd1000โ€ SIZE=โ€œ213823488โ€ PKNAME=โ€œโ€ KNAME=โ€œ/dev/drbd1000โ€ ROTA=โ€œ1โ€ TYPE=โ€œdiskโ€ FSTYPE=โ€œโ€ MAJ:MIN=โ€œ147:1000โ€ MODEL=โ€œโ€ SERIAL=โ€œโ€ WWN=โ€œโ€ STATE=โ€œโ€ DISC-GRAN=โ€œ512โ€
node001:~ #

Do you have any explanation because I donโ€™t? The command failed then a simple restart and it works. It is the same container just restarted. Linstor-controller auto-evicted all the nodes but a restart of linstor-controller fixed that.

The problem is that I still get the same error message even though the resources are created correctly; the command:

LINSTOR ==> resource-group spawn-resources test-grp test-res 10M

still eventually comes up with e.g.:

ERROR:
Description:
(Node: โ€˜node003โ€™) Failed execute lsblk
Details:
Command โ€˜lsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1001โ€™ returned with exitcode 32.

Standard out:


Error message:
lsblk: /dev/drbd1001: not a block device

Show reports:
linstor error-reports show 66A2225A-10C50-000006

LINSTOR ==> node list
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”Š Node โ”Š NodeType โ”Š Addresses โ”Š State โ”Š
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”Š acl001 โ”Š COMBINED โ”Š 10.10.0.100:3366 (PLAIN) โ”Š Online โ”Š
โ”Š acl002 โ”Š COMBINED โ”Š 10.10.0.200:3366 (PLAIN) โ”Š Online โ”Š
โ”Š acl003 โ”Š COMBINED โ”Š 10.10.0.150:3366 (PLAIN) โ”Š Online โ”Š
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

LINSTOR ==> resource list
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”Š ResourceName โ”Š Node โ”Š Port โ”Š Usage โ”Š Conns โ”Š State โ”Š CreatedOn โ”Š
โ•žโ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•โ•ก
โ”Š linstor-db โ”Š acl001 โ”Š 7000 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-24 13:41:04 โ”Š
โ”Š linstor-db โ”Š acl002 โ”Š 7000 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-24 13:41:04 โ”Š
โ”Š linstor-db โ”Š acl003 โ”Š 7000 โ”Š InUse โ”Š Ok โ”Š UpToDate โ”Š 2024-07-24 13:41:04 โ”Š
โ”Š test-res โ”Š acl001 โ”Š 7001 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-25 10:10:17 โ”Š
โ”Š test-res โ”Š acl002 โ”Š 7001 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-25 10:10:17 โ”Š
โ”Š test-res โ”Š acl003 โ”Š 7001 โ”Š Unused โ”Š Ok โ”Š UpToDate โ”Š 2024-07-25 10:10:17 โ”Š
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

I immediately re-ran the test:

LINSTOR ==> exit
node003:~ # podman exec linstor-satellite bash -c โ€œlsblk -P -b --paths -o NAME,SIZE,PKNAME,KNAME,ROTA,TYPE,FSTYPE,MAJ:MIN,MODEL,SERIAL,WWN,STATE,DISC-GRAN /dev/drbd1000โ€
NAME=โ€œ/dev/drbd1000โ€ SIZE=โ€œ213823488โ€ PKNAME=โ€œโ€ KNAME=โ€œ/dev/drbd1000โ€ ROTA=โ€œ1โ€ TYPE=โ€œdiskโ€ FSTYPE=โ€œโ€ MAJ:MIN=โ€œ147:1000โ€ MODEL=โ€œโ€ SERIAL=โ€œโ€ WWN=โ€œโ€ STATE=โ€œโ€ DISC-GRAN=โ€œ512โ€
node003:~ #

Unfortunately, I donโ€™t have an explanation for the intermittent success/fails. Perhaps try binding -v /dev:/dev to the satellite containers?

If LINSTOR satellites are getting evicted from the cluster, that means they lost connectivity to the controller for >=60 minutes. Are you publishing the LINSTOR controllerโ€™s port -p 3370:3370 on the controller container?

Yes Iโ€™m publishing the port:

podman run -d --name=linstor-controller -p 3370:3370 -v=/var/lib/linstor:/var/lib/linstor -v=/etc/linstor:/etc/linstor -v=/var/lib/linstor.d:/var/lib/linstor.d localhost/linstor-controller

Thanks for all your help but Iโ€™ve given up on this. Itโ€™s taken far too much time. I got things working by ignoring the errors and then after running an update on my servers I started getting a different error message which prevented creating the containers. Running the above command now gives this error:

Error: runc: runc create failed: unable to start container process: exec: โ€œ/bin/bashโ€: stat /bin/bash: permission denied: OCI permission denied

I donโ€™t have time to spend on this so will go back to my old scripts/templates to create resources.

1 Like