Uploaded image for project: 'Libcloud'
  1. Libcloud
  2. LIBCLOUD-84

Fix the node name handling in the EC2 driver

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 0.5.2
    • Compute, Core

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              kami Tomaz Muraus
              kami Tomaz Muraus
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: