Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-218

Issue using jclouds with Ninefold

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.6.1
    • 1.7.0
    • jclouds-compute
    • 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

          Activity

            People

              abayer Andrew Bayer
              mchhetri Mohan Baruwal Chhetri
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: