[xcat-user] iscsi integration "problem"?

Luis Miguel Silva luismiguelferreirasilva at gmail.com
Wed Aug 12 09:20:09 MDT 2009


Dear all,

I'm having some trouble setting up a new iscsi target for a VM (like i
mentioned in a previous email, i'm working on integrating hyperV with xCAT).

I tried creating a new iscsi disk for a new node (hypernode01) but...it
just doesn't work:
[root at xcat-gw iscsi]# setupiscsidev hypernode01
hypernode01: Error: tgtadm --mode target --op new --tid 0 -T
iqn.2009-7.hyperv.clusterresources.com:hypernode01 returned 5632
[root at xcat-gw iscsi]#

[root at xcat-gw iscsi]# tabdump iscsi
#node,server,target,lun,iname,file,userid,passwd,kernel,kcmdline,initrd,comments,disable
"node02","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node02","1",,"/iscsi/node02",,,,,,,
"node03","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node03","1",,"/iscsi/node03",,,,,,,
"node04","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node04","1",,"/iscsi/node04",,,,,,,
"node05","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node05","1",,"/iscsi/node05",,,,,,,
"node06","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node06","1",,"/iscsi/node06",,,,,,,
"node07","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node07","1",,"/iscsi/node07",,,,,,,
"node08","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node08","1",,"/iscsi/node08",,,,,,,
"node09","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node09","1",,"/iscsi/node09",,,,,,,
"node10","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:node10","1",,"/iscsi/node10",,,,,,,
"hypernode01","10.10.10.254","iqn.2009-7.hyperv.clusterresources.com:hypernode01","1",,"/iscsi/hypernode01",,,,,,,
[root at xcat-gw iscsi]#

The strange thing is that every other target seems to be working:
[root at xcat-gw iscsi]# setupiscsidev node02
node02: iSCSI LUN configured
[root at xcat-gw iscsi]#

I've set this node *exactly* like all the other nodes. The only
difference is that i added it through an entry in the "vm" table:
[root at xcat-gw iscsi]# tabdump vm
#node,host,migrationdest,storage,memory,cpus,nics,bootorder,clockoffset,virtflags,vncport,textconsole,beacon,comments,disable
"hypernode01","hyperhead",,"/iscsi/hypernode01",,,,,,,,,,,
[root at xcat-gw iscsi]#

I'm not completely sure if i need to specify the storage field in the vm
table so i tried with and without it.

PS: i've restarted the tgtd daemon lots of times so this doesn't seem to
be a problem with the tgtd daemon itself.

This isn't the first time i experience the same error in tgtd but i'm
not sure how i solved it in the past?

PS2: removing the entry from the "vm" table doesn't seem to help...

Any thoughts?

Thank you,
Luis


More information about the xcat-user mailing list