[Openstack-operators] Can you restrict a user or tenant to a Cinder volume type?
Tim.Bell at cern.ch
Thu Jan 8 19:39:57 UTC 2015
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>]
Update the quotas for a tenant.
<tenant_id> UUID of tenant to set the quotas for.
--volumes <volumes> New value for the "volumes" quota.
New value for the "snapshots" quota.
New value for the "gigabytes" quota.
Volume type (Optional, Default=None)
From: Stuart Fox [mailto:stuart at demonware.net]
Sent: 08 January 2015 20:28
To: openstack-operators at lists.openstack.org
Subject: Re: [Openstack-operators] Can you restrict a user or tenant to a Cinder volume type?
Could you tell us how to do per volume_type quota with an example?
I can't seem to figure out the commands ....
On Thu, Jan 8, 2015 at 10:48 AM, Tim Bell <Tim.Bell at cern.ch<mailto:Tim.Bell at cern.ch>> 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
From: Walter Bentley [mailto:walter.bentley at RACKSPACE.COM<mailto:walter.bentley at RACKSPACE.COM>]
Sent: 08 January 2015 17:28
To: openstack-operators at lists.openstack.org<mailto:openstack-operators at lists.openstack.org>
Subject: [Openstack-operators] Can you restrict a user or tenant to a Cinder volume type?
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!
Cloud Solutions Architect – RPC
Rackspace – the #1 Managed Cloud Company
Email: walter.bentley at rackspace.com<mailto:walter.bentley at rackspace.com>
Learner | Achiever | Relator | Restorative | Individualization
OpenStack-operators mailing list
OpenStack-operators at lists.openstack.org<mailto:OpenStack-operators at lists.openstack.org>
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the OpenStack-operators