
Allon Mureinik has submitted this change and it was merged. Change subject: core: avoid disconnecting from used connections ...................................................................... core: avoid disconnecting from used connections When attempting to extend a LUN based storage domain, the engine attempts to connect all the hosts to the lun. If one or more hosts fail to see the chosen luns for the extension - the engine attempts to disconnect all the hosts from the target. In that scenario the connection isn't loaded from the DB, therefore it's id will be always null - which can cause to disconnection from targets that are used by other luns that are in use. Change-Id: I7008e64ebce57fbbdb350810a5ffca6e0a7800cc Bug-Url: https://bugzilla.redhat.com/982707 Signed-off-by: Liron Aravot <laravot@redhat.com> --- M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/ISCSIStorageHelper.java 1 file changed, 24 insertions(+), 10 deletions(-) Approvals: Allon Mureinik: Verified; Looks good to me, approved -- To view, visit http://gerrit.ovirt.org/17983 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: merged Gerrit-Change-Id: I7008e64ebce57fbbdb350810a5ffca6e0a7800cc Gerrit-PatchSet: 7 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Liron Ar <laravot@redhat.com> Gerrit-Reviewer: Alissa Bonas <abonas@redhat.com> Gerrit-Reviewer: Allon Mureinik <amureini@redhat.com> Gerrit-Reviewer: Daniel Erez <derez@redhat.com> Gerrit-Reviewer: Liron Ar <laravot@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipchuk@redhat.com> Gerrit-Reviewer: Sergey Gotliv <sgotliv@redhat.com> Gerrit-Reviewer: Tal Nisan <tnisan@redhat.com> Gerrit-Reviewer: oVirt Jenkins CI Server