Addresses possible returned null value from 'FloatingIPApi.create()'. If upon check we find null then throw InsufficientResourcesException. This in turn will make a second check at IP allocation by iterating through 'FloatingIPApi.list()' and grabbing an available IP. If this subsequent call fails then re-throw InsufficientResourcesException. You can merge this Pull Request by running:
git pull https://github.com/cdancy/jclouds JCLOUDS-607 Or you can view, comment on it, or merge it online at: https://github.com/jclouds/jclouds/pull/425 -- Commit Summary -- * JCLOUDS-607: ComputeService.createNodesInGroup throws NPE on FloatingIPApi.create() -- File Changes -- M apis/openstack-nova/src/main/java/org/jclouds/openstack/nova/v2_0/compute/functions/AllocateAndAddFloatingIpToNode.java (13) -- Patch Links -- https://github.com/jclouds/jclouds/pull/425.patch https://github.com/jclouds/jclouds/pull/425.diff --- Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds/pull/425
