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

Allow multiple nodes to be passed to _wait_until_running

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.11.2
    • Fix Version/s: 0.12.1
    • Component/s: Compute
    • Labels:
      None

      Description

      In compute/base.py, we have a _wait_until_running method that polls launched instances and waits for them to finish coming up and have valid ssh interfaces.

      This change does 2 things:

      1. Makes that method public. It is currently used by the deploy call but it is generally useful to clients as well. You may want to simply launch instances but have an easy way to tell when they are done launching.

      2. Allows multiple nodes to be passed to wait_until_running(). Since this method takes a polling approach, it retrieves the list of all instances each time it polls. From a client perspective, it makes sense to launch multiple nodes and then block until all of them are running.

        Attachments

          Activity

            People

            • Assignee:
              kami Tomaz Muraus
              Reporter:
              nickmbailey Nick Bailey
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: