Markos Gogoulos created LIBCLOUD-582:
----------------------------------------
Summary: network issues with HP Helion cloud compute driver
Key: LIBCLOUD-582
URL: https://issues.apache.org/jira/browse/LIBCLOUD-582
Project: Libcloud
Issue Type: Bug
Components: Compute
Reporter: Markos Gogoulos
hpcloud.py compute driver uses openstack.py driver, but fails in network tasks.
Example, ex_list_networks does not work, also create_node won't work as well
since it needs network object to be specified (if more than one networks exist)
To reproduce:
from libcloud.compute.types import Provider
from libcloud.compute.providers import get_driver
driver = get_driver('hpcloud')
conn = driver('user', 'password', 'tenant-name')
conn.ex_list_networks()
Exception: 404 Not Found 404 Not Found
The resource could not be found.
node = conn.create_node(name=name, image=image, size=size, location=location)
Exception: 400 Bad Request Multiple possible networks found, use a Network ID
to be more specific.
It is clear that the network prefix is not '/os-networks' for HP Helion
(which is defined in OpenStack_1_1_NodeDriver class)
--
This message was sent by Atlassian JIRA
(v6.2#6252)