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 <[email protected]>
---
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 <[email protected]>
Gerrit-Reviewer: Alissa Bonas <[email protected]>
Gerrit-Reviewer: Allon Mureinik <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Liron Ar <[email protected]>
Gerrit-Reviewer: Maor Lipchuk <[email protected]>
Gerrit-Reviewer: Sergey Gotliv <[email protected]>
Gerrit-Reviewer: Tal Nisan <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to