[
https://issues.apache.org/jira/browse/LIBCLOUD-447?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13833816#comment-13833816
]
ASF subversion and git services commented on LIBCLOUD-447:
----------------------------------------------------------
Commit 345856f2020091c33ff07f208263338ac22cc3fa in branch refs/heads/trunk from
[~kami]
[ https://git-wip-us.apache.org/repos/asf?p=libcloud.git;h=345856f ]
Fix a bug in Abiquo driver which caused the driver to fail if the endpoint
URL didn't start with "/api".
Reported by Igor Ajdisek, part of LIBCLOUD-447.
> Abique driver fails if endpoint URI differs from /api
> -----------------------------------------------------
>
> Key: LIBCLOUD-447
> URL: https://issues.apache.org/jira/browse/LIBCLOUD-447
> Project: Libcloud
> Issue Type: Bug
> Components: Compute
> Affects Versions: 0.13.2
> Reporter: Igor Ajdisek
> Labels: abiquo
>
> Service provider Interoute uses Abiquo 2.0 API but their endpoint URI does
> not begin with /api. Current driver implementation has hardcoded '/api' in
> line 88:common/abiquo.py which results in wrong parsing of hrefs returned by
> API.
> API endpoint: http://vdcbridge.interoute.com:80/jclouds/api
> After successful login API returns:
> <link rel="enterprise" type="application/vnd.abiquo.enterprise+xml"
> href="http://vdcbridge.interoute.com/jclouds/api/admin/enterprises/1234"/>
> and href then gets parsed to:
> http://vdcbridge.interoute.com:80/jclouds/apiouds/api/admin/enterprises/1234
> which results in 404.
> get_href should use defined endpoint instead of hardcoded value.
--
This message was sent by Atlassian JIRA
(v6.1#6144)