mirror of https://github.com/apache/jclouds.git
JCLOUDS-1249: Fix OpenStack server rollback
This commit is contained in:
parent
f210283cac
commit
9575929246
|
@ -149,7 +149,7 @@ public class NovaComputeServiceAdapter implements
|
||||||
}, 30 * 60, 1, SECONDS).apply(lightweightServer.getId())) {
|
}, 30 * 60, 1, SECONDS).apply(lightweightServer.getId())) {
|
||||||
final String message = format("Server %s was not created within %sms so it will be destroyed.", name, "30 * 60");
|
final String message = format("Server %s was not created within %sms so it will be destroyed.", name, "30 * 60");
|
||||||
logger.warn(message);
|
logger.warn(message);
|
||||||
destroyNode(lightweightServer.getId());
|
destroyNode(RegionAndId.fromRegionAndId(regionId, lightweightServer.getId()).slashEncode());
|
||||||
throw new IllegalStateException(message);
|
throw new IllegalStateException(message);
|
||||||
}
|
}
|
||||||
logger.trace("<< server(%s)", lightweightServer.getId());
|
logger.trace("<< server(%s)", lightweightServer.getId());
|
||||||
|
|
Loading…
Reference in New Issue