> @@ -81,14 +82,16 @@ public > AllocateAndAddFloatingIpToNode(@Named(TIMEOUT_NODE_RUNNING) Predicate<Ato > > Optional<FloatingIP> ip = allocateFloatingIPForNode(floatingIpApi, > poolNames, node.getId()); > if (!ip.isPresent()) { > - throw new InsufficientResourcesException("Failed to allocate a > FloatingIP for node(" + node.getId() + ")"); > + RegionAndId regionAndId = RegionAndId.fromSlashEncoded(node.getId()); > + > novaApi.getServerApi(regionAndId.getRegion()).delete(regionAndId.getId());
Should we do here the same security group and key pair cleanup? --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/860/files#r40178912