return null;
}
ComputeServiceContext context = iaasInfo.getComputeService().getContext();
RestContext<NovaApi, NovaAsyncApi> nova = context.unwrap();
VolumeApi api = nova.getApi().getVolumeExtensionForZone(region).get();
Volume volume = api.create(sizeGB, CreateVolumeOptions.Builder.availabilityZone(zone));
if (volume == null) {
log.fatal("Volume creation was unsuccessful. [region] : " + region+" [zone] : " + zone
+ " of Iaas : " + iaasInfo);
return null;
}