[Pkg-iscsi-maintainers] Bug#838540: open-iscsi logout-all.sh script fails to log out iscsi target

Christian Seiler christian at iwakd.de
Thu Sep 22 14:46:29 UTC 2016


On 09/22/2016 04:09 PM, Colby Ross wrote:
> Sorry I didn't mention this before. I thought I had. [virt-manager]

You probably did, I just didn't know virt-manager supported configuring
guests for iSCSI now, so it didn't register when you said something
about virt-manager. Sorry.

But then there's also at least a minor bug in libvirt, because libvirt
will be the one doing the target discovery, and it doesn't seem to pass
the target portal group properly to the guest. I'll also take a look at
that.

> It's also strange it's detecting portal group 257. It may be an issue with
> freenas but I have the portal group ID set as 1 for my iscsi  share in Free
> NAS.

Well, you can do a sendtargets discovery to see what open-iscsi thinks:

iscsiadm -m discovery -t sendtargets -p $PORTAL_IP

The portal group is after a comma in the first column.

I never used FreeNAS to export iSCSI though, so I can't really comment
on that part. Maybe the ID in FreeNAS is internal only and the public
ID (sometimes also referred to as "portal group tag") is allocated when
the portal group is created? (Just speculating.)

Regards,
Christian



More information about the Pkg-iscsi-maintainers mailing list