Sasikiran Vaddi created LIBCLOUD-557:
----------------------------------------
Summary: list_nodes for openstack is not filtering the fixed and
floating ips correctly
Key: LIBCLOUD-557
URL: https://issues.apache.org/jira/browse/LIBCLOUD-557
Project: Libcloud
Issue Type: Bug
Components: Libcloud REST
Environment: Ubuntu
Reporter: Sasikiran Vaddi
Priority: Minor
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
--
This message was sent by Atlassian JIRA
(v6.2#6252)