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

list_nodes for openstack is not filtering the floating ips correctly

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Libcloud REST
    • Labels:
      None
    • Environment:

      Ubuntu

      Description

      When we try to retrieve list_nodes using Openstack provider the floating and is not correctly categorized.

      FloatingIp and FixedIPs are added under private_ip's section and public_ip's remains empty.

      Stepst to reproduce
      --------------------------
      from libcloud.compute.types import Provider
      from libcloud.compute.providers import get_driver

      import libcloud.security
      libcloud.security.VERIFY_SSL_CERT = False

      OpenStack = get_driver(Provider.OPENSTACK)

      driver = OpenStack('your_username', 'your_password',
      ex_force_auth_url='your_endpoint_url',
      ex_force_auth_version='2.0_password',
      ex_tenant_name='your_tenant_name')
      nodes = driver.list_nodes()
      print nodes

      VM's in openstack env# which you are working should associate with floating_ips. Then you will observe the nodes list contains floating_ips will be associated with private_ips instead of public_ips

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              sasikiran_vaddi Sasikiran Vaddi
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: