lionel-van-bemten opened a new issue #1670:
URL: https://github.com/apache/libcloud/issues/1670
There seems to be a regression between libcloud 3.4.1 and 3.5.0. Not sure
whether related to #1411.
> \>\>\> libcloud.__version__
> '3.5.0'
> \>\>\> from libcloud.compute.providers import get_driver
> \>\>\> from libcloud.compute.types import Provider
> \>\>\> dr = get_driver(Provider.OPENSTACK)("###", "###",
ex_force_auth_url="###", ex_tenant_name="###", api_version='2.0',
ex_force_auth_version='3.x_password')
> \>\>\> for ip in dr.ex_list_floating_ips():
> ... print(ip.node_id)
> ...
> None
> None
> None
> None
> None
> None
> None
> None
> None
> None
> \>\>\> print(nesc.ex_list_floating_ips()[0])
> <OpenStack_2_FloatingIpAddress: id=2e0ad6dd-c134-4434-bd1d-6409bbde6376,
ip_addr=###, pool=None,
driver=<libcloud.compute.drivers.openstack.OpenStack_2_NodeDriver object at
0x7f02c8cb7b80>>
> \>\>\> libcloud.__version__
> '3.4.1'
> \>\>\> dr = get_driver(Provider.OPENSTACK)("###", "###",
ex_force_auth_url="###", ex_tenant_name="###", api_version='2.0',
ex_force_auth_version='3.x_password')
> \>\>\> for ip in dr.ex_list_floating_ips():
> ... print(ip.node_id)
> ...
> f2e4a54e-6f85-48b7-a523-8548032dce32
> a92b9f8a-5f81-4f68-8331-a15ef99bf446
> None
> None
> None
> None
> None
> None
> None
> None
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]