]> xenbits.xensource.com Git - libvirt.git/commit
util: Remove disabling of autologin for iscsi-targets
authorFritz Elfert <fritz@fritz-elfert.de>
Fri, 13 May 2016 15:19:09 +0000 (11:19 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Wed, 18 May 2016 12:29:24 +0000 (08:29 -0400)
commit56057900dc53df490d953d56de1195ebfa025bdd
treea6c578b4ed807fb4334de54bcb3977a4c9ec02c0
parent8f54e0d6328eb593c2226459a03afed0da23043d
util: Remove disabling of autologin for iscsi-targets

https://bugzilla.redhat.com/show_bug.cgi?id=1331552

Instead of disabling auto-login of all scsi targets (even those
that do not "belong" to libvirt), use iscsiadm's "--op nonpersistent"
during discovery of iSCSI targets (e.g. "iscsiadm --mode discovery
--type sendtargets") in order to avoid the node database being altered
which led to the need for the "large hammer" approach taken by
commit id '3c12b654'.

This commit removes the virISCSITargetAutologin adjustment (eg. the setting
of node.startup to "manual"). The iscsiadm command has supported this mode
of operation as of commit id 'ad873767' to open-iscsi.
src/util/viriscsi.c
tests/viriscsitest.c