mirror of
https://github.com/apache/jclouds.git
synced 2025-02-28 21:39:09 +00:00
JCLOUDS-1249: Fix OpenStack server rollback
This commit is contained in:
parent
049fe5c6e4
commit
459d437af2
@ -149,7 +149,7 @@ public class NovaComputeServiceAdapter implements
|
||||
}, 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");
|
||||
logger.warn(message);
|
||||
destroyNode(lightweightServer.getId());
|
||||
destroyNode(RegionAndId.fromRegionAndId(regionId, lightweightServer.getId()).slashEncode());
|
||||
throw new IllegalStateException(message);
|
||||
}
|
||||
logger.trace("<< server(%s)", lightweightServer.getId());
|
||||
|
Loading…
x
Reference in New Issue
Block a user