[ 
https://issues.apache.org/jira/browse/LIBCLOUD-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14042235#comment-14042235
 ] 

Markos Gogoulos commented on LIBCLOUD-582:
------------------------------------------

The network prefix seems to be correct, but the request is not made on the 
network endpoint (eg  https://region-b.geo-1.network.hpcloudsvc.com) but on the 
compute one. 

> 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)

Reply via email to