]> git.ipfire.org Git - thirdparty/libvirt.git/commit
iscsi: Establish connection to target via static target login
authorJohn Ferlan <jferlan@redhat.com>
Sat, 16 Jul 2016 12:15:03 +0000 (08:15 -0400)
committerJohn Ferlan <jferlan@redhat.com>
Thu, 28 Jul 2016 12:27:13 +0000 (08:27 -0400)
commit5d8c31c6b202aa5ce4329042225bb40fec16baf9
tree42d9fa1a10f7850ce7d29f88e620edf5f04562d1
parentae65c908b7a8a951e0049ff7cd57f03644e1d5b8
iscsi: Establish connection to target via static target login

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

Commit id '56057900' altered the discovery of iSCSI node targets by
using the "--op nonpersistent". This caused issues for clean environments
or if by chance a "-m node -o delete" was executed.

Since each iSCSI Storage Pool has the required iSCSI target path, use
that and the virISCSINodeNew API in order to generate the iSCSI node record.
src/storage/storage_backend_iscsi.c