You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@jclouds.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2014/04/02 18:33:17 UTC

[jira] [Commented] (JCLOUDS-494) Glance version negotiation is not performed

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

ASF subversion and git services commented on JCLOUDS-494:
---------------------------------------------------------

Commit 7c1b681b6699025aa56e6b64c7da9c0136349b00 in jclouds-labs-openstack's branch refs/heads/master from jasdeep-hundal
[ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs-openstack.git;h=7c1b681 ]

JCLOUDS-494: Change Glance EndpointParam parser to negotiate endpoint version


> Glance version negotiation is not performed
> -------------------------------------------
>
>                 Key: JCLOUDS-494
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-494
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-core, jclouds-labs-openstack
>    Affects Versions: 1.8.0
>            Reporter: Jasdeep Hundal
>            Assignee: Jasdeep Hundal
>
> Glance is currently broken in jclouds-labs-openstack because it attempts to performs operations at the base URL returned in the Keystone catalog. Glance is built to run multiple versions of its API at different endpoints, which can be discovered by querying the base URL returned by Keystone. JClouds needs to perform this version negotiation in order to make Glance work.
> In 99% of cases, this last part of the url will be either "/v1" for versions 1.0 and 1.1 of the API or "/v2" for version 2.0, so one possible fix could be to simply apply a Path annotation on top of the org.jclouds.openstack.glance.v1_0.features.ImageApi specification. However, according to Mark Washenberger, the current Glance PTL, the most correct operation is to actually query for the appropriate URL for the requested version. (I'll try to pull up docs that confirm this and link them when I can to avoid this "documentation by dictator").



--
This message was sent by Atlassian JIRA
(v6.2#6252)