Change in ovirt-engine[master]: core: avoid disconnecting from used connections

amureini at redhat.com amureini at redhat.com
Sun Aug 18 10:32:51 UTC 2013


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 at 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 at redhat.com>
Gerrit-Reviewer: Alissa Bonas <abonas at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Liron Ar <laravot at redhat.com>
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Sergey Gotliv <sgotliv at redhat.com>
Gerrit-Reviewer: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list