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

Expose force_ipv4 parameter (default True) in _wait_until_running() method.

    Details

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

      Description

      Rackspace has a private beta OpenStack implementation that is returning both the ipv4 and ipv6 addresses in a node's public_ips list. The current implementation just grabs the first address out of the list without testing that the current host can actually connect to it.

      This patch exposes a force_ipv4 parameter set to True by default, which will preserve the existing behavior when a node also has ipv4 addresses by filtering ipv6 addresses from the list.

        Activity

        Hide
        kami Tomaz Muraus added a comment -

        Merged into master using a less hacky way to determine if an IP is valid IPv4 address. Thanks.

        Show
        kami Tomaz Muraus added a comment - Merged into master using a less hacky way to determine if an IP is valid IPv4 address. Thanks.

          People

          • Assignee:
            Unassigned
            Reporter:
            jaydoane Jay Doane
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development