log.warn(String.format("Volume %s is already in AVAILABLE state. Volume seems to be detached somehow", volumeId));
return;
}
}
blockStoreApi.detachVolumeInRegion(region, volumeId, true, DetachVolumeOptions.Builder.fromInstance(instanceId));
log.info("Detachment of Volume [id]: "+volumeId+" from instance [id]: "+instanceId
+" was successful. [region] : " + region
+ " of Iaas : " + iaasInfo);
}