Change in ovirt-engine[master]: core: Disallow moving SD to maintanance if there are async t...

tnisan at redhat.com tnisan at redhat.com
Tue May 21 12:34:32 UTC 2013


Tal Nisan has submitted this change and it was merged.

Change subject: core: Disallow moving SD to maintanance if there are async tasks
......................................................................


core: Disallow moving SD to maintanance if there are async tasks

Added a check whether there are running tasks on the storage domain
to the canDo section of the decativate storage domain command, before this
patch the test would have occur only for domains of type master/import and
not data domain

Change-Id: Iffb08a180be66ce74d70761ce75db96f72fe93e6
Bug-Url: https://bugzilla.redhat.com/953455
Signed-off-by: Tal Nisan <tnisan at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/RemoveImageCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/DeactivateStorageDomainCommand.java
2 files changed, 7 insertions(+), 7 deletions(-)

Approvals:
  Tal Nisan: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/14893
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iffb08a180be66ce74d70761ce75db96f72fe93e6
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tnisan 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: Vered Volansky <vvolansk at redhat.com>



More information about the Engine-commits mailing list