Liron Ar has posted comments on this change. Change subject: core: add the domain detaching state ......................................................................
Patch Set 8: (1 comment) http://gerrit.ovirt.org/#/c/23556/8/backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcActionUtils.java File backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/VdcActionUtils.java: Line 302: StorageDomainStatus.PreparingForMaintenance, Line 303: EnumSet.of(VdcActionType.DetachStorageDomainFromPool, VdcActionType.DeactivateStorageDomain)); Line 304: storageDomainMatrix.put( Line 305: StorageDomainStatus.Detaching, Line 306: EnumSet.of(VdcActionType.DeactivateStorageDomain, VdcActionType.ActivateStorageDomain)); > You don't want to remove a domain while it's detaching. Allon, iirc that's the operations that you block on that status. Line 307: _matrix.put(StorageDomain.class, storageDomainMatrix); Line 308: } Line 309: Line 310: public static boolean canExecute(List<? extends BusinessEntityWithStatus<?, ?>> entities, -- To view, visit http://gerrit.ovirt.org/23556 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I5732ef00a67ef1381ee0b6f29d08ab39cf63a1bf Gerrit-PatchSet: 8 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Allon Mureinik <[email protected]> Gerrit-Reviewer: Ayal Baron <[email protected]> Gerrit-Reviewer: Daniel Erez <[email protected]> Gerrit-Reviewer: Federico Simoncelli <[email protected]> Gerrit-Reviewer: Liron Ar <[email protected]> Gerrit-Reviewer: Sergey Gotliv <[email protected]> Gerrit-Reviewer: [email protected] Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list [email protected] http://lists.ovirt.org/mailman/listinfo/engine-patches
