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


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

Reply via email to