Details
-
Bug
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
None
-
None
-
None
-
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