Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
1.6.1
-
None
Description
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>
Attachments
Issue Links
- depends upon
-
JCLOUDS-220 Add project id to relevant CloudStack API options
- Resolved