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

Everett Toews updated JCLOUDS-494:
----------------------------------

    Assignee: Jasdeep Hundal

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

Reply via email to