Version 6.10.0.1 about how to use iSCSI to connect to SAN

System:debain12
Environment: OpenNebula 6.10.0.1 version
Node: Manger (1) Node (2)

The cloud platform has been successfully deployed, but I encountered some problems when connecting to the SAN storage. SYSTEM DS uses iSCSI, and IMAGE DS uses ssh or shared, iSCSI, and errors are reported. I want to know whether the combination relationship between 6.10.0.1 can be used in this way. I refer to the official website and this combination is possible (ssh and iSCSI | shared and iSCSI)

virsh Docking Ignore(virsh secret-list)

IMAGE DS

root@manager:/opt/templates/storage# cat iscsi-san_ds.ds 
NAME        = "iscsi_san_ds"
TYPE        = "IMAGE_DS"
DS_MAD      = "iscsi_libvirt"
TM_MAD      = "iscsi_libvirt"
DISK_TYPE   = "ISCSI"
BRIDGE_LIST = "node1 node2"
ISCSI_HOST  = "SAN:Port SAN1:Port"
ISCSI_USER  = "oneadmin"
ISCSI_USAGE = "810cca8e-b7d0-5842-b92f-1cdpdb9dc30e"
SAFE_DIRS = "/var/tmp /var/lib/one"

SYSTEM DS ssh

root@manager:/opt/templates/storage# cat local_system.ds 
NAME        = "local_system"
TYPE        = "SYSTEM_DS"
TM_MAD      = "ssh"
DISK_TYPE   = "FILE"
SAFE_DIRS   = "/var/tmp /var/lib/one"

ssh error message
Wed Jul  9 15:43:05 2025 [Z0][ReM][E]: Req:5360 UID:0 one.vm.deploy result FAILURE [one.vm.deploy] Image Datastore does not support transfer mode: ssh

SYSTEM DS shared

root@manager:/opt/templates/storage# cat new_nfs_system_ds.ds 
NAME        = "nfs_system"
TYPE        = "SYSTEM_DS"
TM_MAD      = "shared"
DISK_TYPE   = "FILE"
SAFE_DIRS   = "/var/tmp /var/lib/one"
SHARED      = "YES"
DS_MIGRATE  = "YES"
shared error message
Wed Jul  9 15:43:05 2025 [Z0][ReM][E]: Req:7008 UID:0 one.vm.deploy result FAILURE [one.vm.deploy] Image Datastore does not support transfer mode: shared

SYSTEM DS iSCSI

root@manager:/opt/templates/storage# cat new_iscsi_system.ds 
NAME        = "new_iscsi_system_ds"
TYPE        = "SYSTEM_DS"
TM_MAD      = "iscsi_libvirt"
BRIDGE_LIST = "node1 node2"
ISCSI_HOST  = "SAN:Port SAN1:Port"
ISCSI_USER  = "oneadmin"
ISCSI_USAGE = "810cca8e-b7d0-5842-b92f-1cdpdb9dc30e"
SAFE_DIRS   = "/var/tmp /var/lib/one"
SHARED      = "YES"
DS_MIGRATE  = "NO"
iscsi error message
Scheduler ErrorWed Jul 9 15:50:55 2025: Cannot dispatch VM: No system datastore with enough capacity for the VM

root@manager:/opt/templates# oneimage show 19
IMAGE 19 INFORMATION
ID : 19
NAME : ubuntu22
USER : oneadmin
GROUP : oneadmin
LOCK : None
DATASTORE : iscsi_san_ds
TYPE : OS
REGISTER TIME : 07/09 14:08:56
PERSISTENT : Yes
SOURCE : iqn.2012-08.cn.abc.oos:one.7/1
PATH : iqn.2012-08.cn.abc.oos:one.7/1
FORMAT : raw
SIZE : 0M
STATE : used
RUNNING_VMS : 1

PERMISSIONS
OWNER : um-
GROUP : —
OTHER : —

IMAGE TEMPLATE
DEV_PREFIX=“sd”

VIRTUAL MACHINES

Greetings,

First of all, IMAGE DS should be available on Frontend Node and Compute Nodes (case when you don’t need to copy images), while SYSTEM DS can be available only on Compute Nodes (this is possible with the BRIDGE_LIST attribute).
And finally, I would recommend you to use iscsi+lvm for SYSTEM DS, and even for IMAGE DS which has recently received many new functionality. You can learn more here: SAN Datastore — OpenNebula 6.10.4 documentation

Thank you for your answers. I have switched to version 7.0.0 and it can be used completely normally now.