zdnscloud / singlecloud

4 stars 2 forks source link

创建iscsi存储时, 有时会报错(iSCSI driver not found). #414

Closed tanxu-zdns closed 4 years ago

tanxu-zdns commented 4 years ago

[01:40 03/23/20] [WARN] Create failed:iscsi discovery failed. rpc error: code = Unknown desc = discover failed. command out: , err: Failed to execute: iscsiadm [-m discovery -t sendtargets -p 10.0.0.149:3260], output , stderr, iscsiadm: iSCSI driver tcp is not loaded. Load the module then retry the command.

iscsiadm: Could not perform SendTargets discovery: iSCSI driver not found. Please make sure it is loaded, and retry the operation , error exit status 12

yuchunyun commented 4 years ago

已经在咱们的自制OS镜像中加入了内核模块iscsi_tcp的开机自动加载 同时,OS镜像增加iscsi和multipath软件包的安装和启动