You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@libcloud.apache.org by "Michal Galet (JIRA)" <ji...@apache.org> on 2012/07/11 15:50:34 UTC

[dev] [jira] [Updated] (LIBCLOUD-222) Doubled URLs in vCloud compute requests

     [ https://issues.apache.org/jira/browse/LIBCLOUD-222?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michal Galet updated LIBCLOUD-222:
----------------------------------

    Attachment: LIBCLOUD-222.patch

Attaching patch that fixes the problem.
                
> Doubled URLs in vCloud compute requests
> ---------------------------------------
>
>                 Key: LIBCLOUD-222
>                 URL: https://issues.apache.org/jira/browse/LIBCLOUD-222
>             Project: Libcloud
>          Issue Type: Bug
>          Components: Compute
>    Affects Versions: 0.10.1
>            Reporter: Michal Galet
>              Labels: vCloud
>         Attachments: LIBCLOUD-222.patch
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Some HTTP requests contain doubled URL of the vCloud service causing failures for Terremark users. 
> Example:
> nodes = driver.list_nodes()
>   File "/root/my_new_env/lib/python2.6/site-packages/libcloud/compute/drivers/vcloud.py", line 480, in list_nodes
>     res = self.connection.request(vdc.id)
>   File "/root/my_new_env/lib/python2.6/site-packages/libcloud/compute/drivers/vcloud.py", line 255, in request
>     return super(VCloudConnection, self).request(*args, **kwargs)
>   File "/root/my_new_env/lib/python2.6/site-packages/libcloud/common/base.py", line 581, in request
>     connection=self)
>   File "/root/my_new_env/lib/python2.6/site-packages/libcloud/common/base.py", line 76, in __init__
>     raise Exception(self.parse_error())
> # -------- begin 14362312 request ---------- curl -i -X GET -H 'Host: acloud.attenda.net' -H 'Accept-Encoding: gzip,deflate' -H 'x-vcloud-authorization =' -H 'X-LC-Request-ID: 14362312' -H 'Content-Length: 0' -H 'Accept: application/*+xml;version=1.5' -H 'User-Agent: libcloud/0.10.1 (vCloud)' --compress https://acloud.attenda.net:443https://acloud.attenda.net/api/vdc/dec855c4-dd8d-49cf-8ff5-b5ab7106acf3<https://acloud.attenda.net:443https:/acloud.attenda.net/api/vdc/dec855c4-dd8d-49cf-8ff5-b5ab7106acf3>
> # -------- begin 14362312:12028312 response ----------
> HTTP/1.1 302 Found
> Connection: close
> Location: https://acloud.attenda.net/cloud/org/

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira