sophie qian created JCLOUDS-293:
-----------------------------------

             Summary: Need Cinder API to support openstack Cinder REST API 
os-quota-sets
                 Key: JCLOUDS-293
                 URL: https://issues.apache.org/jira/browse/JCLOUDS-293
             Project: jclouds
          Issue Type: Bug
            Reporter: sophie qian


 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





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