@Override
 public void execute() {
   BlockStorageUtils.removeBlockResources(uris(volumeIds), deletionType);
   // form is always passing hostId, never clusterId - need to figure out which it is.
   String hostOrClusterId = BlockStorageUtils.getHostOrClusterId(hostId);
   if (hostOrClusterId != null) {
     ExecutionUtils.addAffectedResource(hostOrClusterId.toString());
   }
 }
 @Override
 public void execute() throws Exception {
   connectAndInitializeHost();
   datastore = vmware.getDatastore(datacenter.getLabel(), datastoreName);
   vmware.extendVmfsDatastore(host, cluster, hostId, volume, datastore);
   if (hostId != null) {
     ExecutionUtils.addAffectedResource(hostId.toString());
   }
   vmware.setMultipathPolicy(host, cluster, multipathPolicy, volume);
 }
  @Override
  public void precheck() {
    sourceVolume = BlockStorageUtils.getVolume(volumeId);
    targetVolume = BlockStorageUtils.getVolume(failoverTarget);
    type = BlockStorageUtils.getFailoverType(targetVolume);

    if (type == null) {
      ExecutionUtils.fail(
          "failTask.FailoverBlockVolumeService", args(stringId(targetVolume)), args());
    }

    logInfo("fail.over.block.volume.service", type.toUpperCase(), targetVolume.getName());
  }