[Openstack-operators] Can you restrict a user or tenant to a Cinder volume type?

Stuart Fox stuart at demonware.net
Thu Jan 8 19:40:59 UTC 2015


Perfect! Thanks tim

On Thu, Jan 8, 2015 at 11:39 AM, Tim Bell <Tim.Bell at cern.ch> wrote:

>  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: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?
>
>
>
> 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 <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
>
>
>
> Tim
>
>
>
> *From:* Walter Bentley [mailto:walter.bentley at RACKSPACE.COM]
> *Sent:* 08 January 2015 17:28
> *To:* openstack-operators at lists.openstack.org
> *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
>
> Email: walter.bentley at rackspace.com
>
> Learner | Achiever | Relator | Restorative | Individualization
>
>
>
>
> _______________________________________________
> OpenStack-operators mailing list
> OpenStack-operators at lists.openstack.org
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators
>
>
>
>
>
> --
>
> BR,
>
> Stuart
>



-- 
BR,
Stuart
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-operators/attachments/20150108/0d38989a/attachment.html>


More information about the OpenStack-operators mailing list