devcsrj commented on this pull request.
> + logger.trace(">> provisioning complete for server. returned
> id='%s'", serverId);
+
+ } catch (Exception ex) {
+ logger.error(ex, ">> failed to provision server. rollbacking..");
+ destroyVolumes(volumeIds, dataCenterId);
+ throw Throwables.propagate(ex);
+ }
+
+ waitServerUntilAvailable.apply(ServerRef.create(dataCenterId, serverId));
+ waitDcUntilAvailable.apply(dataCenterId);
+
+ //attach bootVolume to Server
+ api.serverApi().attachVolume(Server.Request.attachVolumeBuilder()
+ .dataCenterId(dataCenterId)
+ .serverId(serverId)
+ .volumeId(bootVolume.id())
You didn't make changes in here... I assume this is intentional?
--
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