jclouds-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Reijhanniel Jearl Campos <notificati...@github.com>
Subject Re: [jclouds-labs] JCLOUDS-702: JClouds ProfitBricks provider - ComputeServiceAdapter (#145)
Date Thu, 16 Apr 2015 00:15:52 GMT
> +                    Storage.Request.connectingBuilder()
> +                    .storageId(storageId)
> +                    .serverId(serverId)
> +                    .build());
> +
> +            waitDcUntilAvailable.apply(dataCenterId);
> +            logger.trace(">> storage connected.");
> +         } catch (Exception ex) {
> +            // delete unconnected storage
> +            logger.warn(ex, ">> failed to connect storage '%s'. deleting..", storageId);
> +            waitDcUntilAvailable.apply(dataCenterId);
> +            destroyStorage(storageId, dataCenterId);
> +         }
> +      }
> +
> +      waitDcUntilAvailable.apply(dataCenterId);

Hmm. Yeah it's no longer needed. I was too paranoid of the datacenter not being ready I guess.
Haha

---
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/145/files#r28475366
Mime
View raw message