[
https://issues.apache.org/jira/browse/LIBCLOUD-84?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Wiktor KoĆodziej updated LIBCLOUD-84:
-------------------------------------
Attachment: 0001-Fix-node-name-handling-in-ec2-driver-in-list_nodes-m.patch
Missing patch
> 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
> 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