Allon Mureinik has posted comments on this change. Change subject: core: Force detach a storage domain ......................................................................
Patch Set 3: (1 comment) http://gerrit.ovirt.org/#/c/29021/3/backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AddExistingFileStorageDomainCommand.java File backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/storage/AddExistingFileStorageDomainCommand.java: Line 49: // Storage pool id can be empty Line 50: DetachStorageDomainVDSCommandParameters detachParams = Line 51: new DetachStorageDomainVDSCommandParameters(getVds().getStoragePoolId(), Line 52: getParameters().getStorageDomainId(), Line 53: Guid.Empty, > isn't it relevant only for the import storage domain flow and not for all e Up until now, AFAIK, it could only be called on an empty SD. What's the harm in sending a detach call? Line 54: 0); Line 55: detachParams.setForce(true); Line 56: VDSReturnValue returnValue = runVdsCommand(VDSCommandType.DetachStorageDomain, detachParams); Line 57: if (!returnValue.getSucceeded()) { -- To view, visit http://gerrit.ovirt.org/29021 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: Ie75293678ab08616208128ac157426d3d98c1b77 Gerrit-PatchSet: 3 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Federico Simoncelli <fsimo...@redhat.com> Gerrit-Reviewer: Liron Aravot <lara...@redhat.com> Gerrit-Reviewer: automat...@ovirt.org Gerrit-Reviewer: oVirt Jenkins CI Server Gerrit-HasComments: Yes _______________________________________________ Engine-patches mailing list Engine-patches@ovirt.org http://lists.ovirt.org/mailman/listinfo/engine-patches