[
https://issues.apache.org/jira/browse/WHIRR-315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andrei Savu updated WHIRR-315:
------------------------------
Description: Provider#withIds is expecting a provider specific ID. This
problem is fixed in jclouds-beta-10. This issue adds a temporary override.
computerService.destroyNode works as expected. (was: 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?
)
Summary: Temporary override Providers#withIds until jclouds beta-10 is
out (was: Use AWSUtils to handle instance IDs )
Updated issue title and description to match the patch.
> Temporary override Providers#withIds until jclouds beta-10 is out
> -----------------------------------------------------------------
>
> 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, WHIRR-315.patch
>
>
> Provider#withIds is expecting a provider specific ID. This problem is fixed
> in jclouds-beta-10. This issue adds a temporary override.
> computerService.destroyNode works as expected.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira