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

Allow multiple nodes to be passed to _wait_until_running

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.11.2
    • 0.12.1
    • Compute
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: