I believe you use the volume type parameter on the cinder update quota. I 
couldn’t find the doc examples but here is help text.

cinder help quota-update
usage: cinder quota-update [--volumes <volumes>] [--snapshots <snapshots>]
                           [--gigabytes <gigabytes>]
                           [--volume-type <volume_type_name>]
                           <tenant_id>

Update the quotas for a tenant.

Positional arguments:
  <tenant_id>           UUID of tenant to set the quotas for.

Optional arguments:
  --volumes <volumes>   New value for the "volumes" quota.
  --snapshots <snapshots>
                        New value for the "snapshots" quota.
  --gigabytes <gigabytes>
                        New value for the "gigabytes" quota.
  --volume-type <volume_type_name>
                        Volume type (Optional, Default=None)

From: Stuart Fox [mailto:[email protected]]
Sent: 08 January 2015 20:28
To: [email protected]
Subject: Re: [Openstack-operators] Can you restrict a user or tenant to a 
Cinder volume type?

Hi Tim

Could you tell us how to do per volume_type quota with an example?
I can't seem to figure out the commands ....

Stuart

On Thu, Jan 8, 2015 at 10:48 AM, Tim Bell 
<[email protected]<mailto:[email protected]>> wrote:
You can set a quota for the different cinder types. However, they would still 
be listed on the horizon panel and with the CLIs.

There is a blueprint for private cinder types. At CERN, we do not wish to make 
public all of the different volume types we have since some are dedicated for 
particular projects. Details at 
https://blueprints.launchpad.net/cinder/+spec/private-volume-types

Tim

From: Walter Bentley 
[mailto:[email protected]<mailto:[email protected]>]
Sent: 08 January 2015 17:28
To: 
[email protected]<mailto:[email protected]>
Subject: [Openstack-operators] Can you restrict a user or tenant to a Cinder 
volume type?

Hello all,

I have a need to restrict a user or tenant to only be able to use a set defined 
Cinder volume type. That volume type is tied to separate backends defined in 
Cinder. I only want a certain user or tenant to see a defined volume type in 
Horizon. Is that possible? I sorted thru the Cinder RBAC settings and unable to 
figure out which one would do this, if at all.

Any assistance on this matter would be great!


Thanks,

Walter Bentley
Cloud Solutions Architect – RPC
Rackspace – the #1 Managed Cloud Company

Mobile: 347-233-0562<tel:347-233-0562>
Email: [email protected]<mailto:[email protected]>
Learner | Achiever | Relator | Restorative | Individualization


_______________________________________________
OpenStack-operators mailing list
[email protected]<mailto:[email protected]>
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators



--
BR,
Stuart
_______________________________________________
OpenStack-operators mailing list
[email protected]
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators

Reply via email to