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

Need Cinder API to support openstack Cinder REST API os-quota-sets

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • None
    • None
    • jclouds-compute

    Description

      Looks like jclouds Cinder API is not a complete set, it does not support some openstack APIs.

      I can invoke following rest API for Nova and Cinder, or CLI command

      http://OS_IP:8776/v1/"projectIdXXX"/os-quota-sets/"projectIdXXX" cinder quota-show projectId

      http://OS_IP:8774/v2/"projectIdXXX"/os-quota-sets/"projectIdXXX" nova quota-show

      For NovaAPI, it only returning back:

      ----------------------------------+

      Property Value

      -------------------------------------+

      metadata_items 128
      injected_file_content_bytes 10240
      ram 51200
      floating_ips 10
      key_pairs 100
      instances 10
      security_group_rules 20
      injected_files 5
      cores 20
      fixed_ips -1
      injected_file_path_bytes 255
      security_groups 10

      ----------------------------------+

      For Cinder API, it returns back:

      ----------------+

      Property Value

      ----------------+

      gigabytes 1000
      snapshots 10
      volumes 10

      ----------------+

      The project Quota info returned by jclouds NovaApi.getQuotaExtensionForZone()

      modeled both nova and cinder Quota Info.

      but only returns back info reported by Nova,

      for Volumes and Gigabytes info, it set to default 0, never return back actual values.

      I'd like to know whether jcloudsAPI is going to add this support and is there any TBA?

      thanks

      Attachments

        Activity

          People

            Unassigned Unassigned
            sophieqian sophie qian
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: