>        if (!success) {
>           client.destroyDrive(drive.getUuid());
> +         throw new IllegalStateException("could not create drive in time!");
> +      }
> +
> +      logger.debug(">> imaging boot drive source(%s)", 
> template.getImage().getId());
> +      client.imageDrive(template.getImage().getId(), drive.getUuid(), 
> ImageConversionType.GUNZIP);
> +      boolean ready = driveNotClaimed.apply(drive);
> +      if (!ready) {
> +         client.destroyDrive(drive.getUuid());
>           throw new IllegalStateException("could not image drive in time!");

See above comment

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds/pull/362/files#r13033739

Reply via email to