Return-Path: X-Original-To: apmail-libcloud-dev-archive@www.apache.org Delivered-To: apmail-libcloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 899B66D04 for ; Sun, 26 Jun 2011 15:36:10 +0000 (UTC) Received: (qmail 17136 invoked by uid 500); 26 Jun 2011 15:36:10 -0000 Delivered-To: apmail-libcloud-dev-archive@libcloud.apache.org Received: (qmail 17066 invoked by uid 500); 26 Jun 2011 15:36:09 -0000 Mailing-List: contact dev-help@libcloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@libcloud.apache.org Delivered-To: mailing list dev@libcloud.apache.org Received: (qmail 17044 invoked by uid 99); 26 Jun 2011 15:36:09 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 15:36:09 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 26 Jun 2011 15:36:08 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 93F29431468 for ; Sun, 26 Jun 2011 15:35:48 +0000 (UTC) Date: Sun, 26 Jun 2011 15:35:48 +0000 (UTC) From: "Tomaz Muraus (JIRA)" To: dev@libcloud.apache.org Message-ID: <1232364466.41552.1309102548603.JavaMail.tomcat@hel.zones.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Subject: [dev] [jira] [Resolved] (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:all-tabpanel ] Tomaz Muraus resolved LIBCLOUD-84. ---------------------------------- Resolution: Fixed Fix Version/s: 0.5.2 > 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