> +                destroyVolume(volumeId, dataCenterId);
> +            }
> +        }
> +        // Last paranoid check
> +        waitDcUntilAvailable.apply(dataCenterId);
> +
> +        LoginCredentials serverCredentials = LoginCredentials.builder()
> +                .user(loginUser)
> +                .password(password)
> +                .build();
> +        String serverInDataCenterId = 
> DataCenterAndId.fromDataCenterAndId(dataCenterId, serverId).slashEncode();
> +        rebootNode(serverInDataCenterId);
> +        waitServerUntilAvailable.apply(ServerRef.create(dataCenterId, 
> serverId));
> +
> +        try {
> +            Thread.sleep(90000);

Also, why the need for 90-second sleep here? If the provisioning process still 
not done here (*sigh*), adjust instead the default values of the 
`waitServerUntilAvailable` predicate or datacenter, whichever applicable.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/jclouds/jclouds-labs/pull/292/files/1533bf29a80f2c87834f501abd91ea399debd688#r77745128

Reply via email to