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

Andrew Bayer resolved JCLOUDS-218.
----------------------------------

       Resolution: Fixed
    Fix Version/s:     (was: 1.6.4)

Fixed in 1.7.0 - we're now polling against every project the user has access 
to, as well as the normal public templates. This is done for all CloudStack 
setups, since I've run into this sort of project-specific template thing 
elsewhere as well.

> Issue using jclouds with Ninefold
> ---------------------------------
>
>                 Key: JCLOUDS-218
>                 URL: https://issues.apache.org/jira/browse/JCLOUDS-218
>             Project: jclouds
>          Issue Type: Bug
>          Components: jclouds-compute
>    Affects Versions: 1.6.1
>            Reporter: Mohan Baruwal Chhetri
>            Assignee: Andrew Bayer
>             Fix For: 1.7.0
>
>
> Issue when retrieving templates from Ninefold.
> Using ComputService.listImages() returns only the public images (templates) 
> because of the way in which the query is constructed. The query param 
> 'projectid' is not used.
> Ninefold API v 2.0 uses CloudStack 3.0 
> (http://download.cloud.com/releases/3.0.6/api_3.0.6/TOC_User.html) and when 
> using the Ninefold API, a "project" (use command=listProjects to identify) 
> must be specified - this includes listTemplates 
> (https://help.ninefold.com/entries/21478609-Using-the-Ninefold-API-v2-).
> However using JClouds, the constructed query to retrieve templates does not 
> include the projectid. The query constructed looks like this:
> https://api.ninefold.com/compute/v2.0?command=listTemplates&listall=true&templatefilter=executable&apiKey=<key>&signature=<signature>
> whereas it should look like
> https://api.ninefold.com/compute/v2.0?command=listTemplates&listall=true&templatefilter=self&projectid=<projectid>&apiKey=<apiKey>&signature=<signature>



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to