You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Andrei Savu (JIRA)" <ji...@apache.org> on 2011/06/01 16:05:47 UTC

[jira] [Commented] (WHIRR-315) Use AWSUtils to handle instance IDs

    [ https://issues.apache.org/jira/browse/WHIRR-315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13042182#comment-13042182 ] 

Andrei Savu commented on WHIRR-315:
-----------------------------------

Should we open an issue to jclouds to discuss NodePredicates.withIds or this is the expected behavior and we can move forward with this patch? 

> Use AWSUtils to handle instance IDs 
> ------------------------------------
>
>                 Key: WHIRR-315
>                 URL: https://issues.apache.org/jira/browse/WHIRR-315
>             Project: Whirr
>          Issue Type: Bug
>            Reporter: Andrei Savu
>            Assignee: Andrei Savu
>             Fix For: 0.6.0
>
>         Attachments: WHIRR-315.patch, WHIRR-315.patch
>
>
> I realized that I have to use AWSUtills in order to handle instances IDs correctly. It looks like inconsistent behavior in jclouds. 
> From the documentation I would expect to be able to call:
> {code}
> computeService.destroyNode(metadata.getId())
> {code}
> but I have to do the following call in order to get the expected behavior:
> {code}
> computeService.destroyNode(AWSUtils.parseHandle(metadata.getId())[1]);
> {code}
> Adrian, am I missing something about how jclouds handles instance IDs?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira