You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Tomaz Muraus (JIRA)" <ji...@apache.org> on 2011/06/26 17:35:48 UTC

[dev] [jira] [Commented] (LIBCLOUD-84) Fix the node name handling in the EC2 driver

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

Tomaz Muraus commented on LIBCLOUD-84:
--------------------------------------

Thanks, committed into trunk.

> Fix the node name handling in the EC2 driver
> --------------------------------------------
>
>                 Key: LIBCLOUD-84
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-84
>             Project: Libcloud
>          Issue Type: Improvement
>          Components: Compute, Core
>            Reporter: Tomaz Muraus
>            Assignee: Tomaz Muraus
>            Priority: Minor
>              Labels: driver, ec2, names, node
>             Fix For: 0.5.2
>
>         Attachments: 0001-Added-extra-tags-to-the-node-dictionary-fixes-LIBCL.patch, 0001-Fix-node-name-handling-in-ec2-driver-in-list_nodes-m.patch, 0002-pep8-compatibility.patch
>
>
> Currently when you call a create_node() method in the EC2 driver we perform two API calls:
> 1. create a node
> 2. add a "Name" tag for this node where the value is the name argument which user has provided
> The problem is that we don't request a list of Node tags when a user calls list_nodes() which means that the node name is not reported properly in this case.
> Every time a user calls list_nodes() we need to make another call to the EC2 API to retrieve "Name" tag values for all the Nodes and replace Node .name attribute with the value of the "Name" tag for all the nodes which have a "Name" tag.

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