Attach volume to instance running on different compute node

asked 2013-10-17 05:45:02 -0600

vladber gravatar image

I'm running a cinder on each compute node locally .

Is it possible to attach volume which resides on one compute node to instance is running on another one ?

I have the following problem .On the compute node #1 where instance is running I got this error while tried to attach some volume from compute node #2 :

Oct 17 10:43:50 compute02 kernel: [848806.148673] scsi16 : iSCSI Initiator over TCP/IP Oct 17 10:43:50 compute02 kernel: [848806.152548] connection12:0: detected conn error (1020) Oct 17 10:43:50 compute02 tgtd: conn_close(101) connection closed, 0x1522808 1 Oct 17 10:43:51 compute02 iscsid: conn 0 login rejected: initiator error - target not found (02/03)

If both instance and volume are on the same node attach works just fine .

Manually I succeeded to login from compoute02 to discover and login to the target using iscsiadm tool :

root@compute02:~# iscsiadm -m discovery -t st -p,1,1,1

root@compute02:~# iscsiadm -m node -T -p -l Logging in to [iface: default, target:, portal:,3260] Login to [iface: default, target:, portal:,3260]: successful

If I migrate instance to the volume compute node attachment works .


edit retag flag offensive close merge delete