Mohan Baruwal Chhetri created JCLOUDS-218:
---------------------------------------------

             Summary: 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


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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to