+" of Iaas : "+iaasInfo);
return null;
}
RestContext<NovaApi, NovaAsyncApi> nova = context.unwrap();
VolumeAttachmentApi api = nova.getApi().getVolumeAttachmentExtensionForZone(region).get();
VolumeAttachment attachment = api.attachVolumeToServerAsDevice(volumeId, instanceId, device);
if (attachment == null) {
log.fatal("Volume [id]: "+volumeId+" attachment for instance [id]: "+instanceId
+" was unsuccessful. [region] : " + region
+ " of Iaas : " + iaasInfo);