Forwarding to user@...
Hi Rajaratnam
In some situations I am getting node id null. I want to terminate that
instance at that point.
Could you give us some more details about which APIs/providers you're
using? It would be interesting to know where the null IDs are coming
from...that doesn't sound right...
Thanks
ap
Quoting Rajaratnam Rajkumar <[email protected]>:
Hi,
Is there any way to destroy a node without node id?
Here is what I am trying to do.
String group = uniqueString();
ComputeService computeService = iaasProvider
.getComputeService();
Template template = // some template
// create and start a node
Set<? extends NodeMetadata> nodes = computeService
.createNodesInGroup(group, 1, template);
node = nodes.iterator().next();
if (null == node.getId()) {
// destroy the node
}
In some situations I am getting node id null. I want to terminate that
instance at that point.
Please let me know how can do it?
Thanks.
--
Andrew Phillips
Apache jclouds