[Openstack] openstack cli: how to get "absolute limits", and to set Cinder quota for non-default volume type?

Steve Martinelli stevemar at ca.ibm.com
Mon Mar 30 19:38:40 UTC 2015


Looks like we're missing the option to pass in a specific project. Open up 
a bug and we'll fix it quickly, looks pretty easy.

Thanks,

Steve Martinelli
OpenStack Keystone Core

Jan van Eldik <Jan.van.Eldik at cern.ch> wrote on 03/30/2015 03:18:51 PM:

> From: Jan van Eldik <Jan.van.Eldik at cern.ch>
> To: 
> Cc: openstack <openstack at lists.openstack.org>
> Date: 03/30/2015 03:28 PM
> Subject: Re: [Openstack] openstack cli: how to get "absolute 
> limits", and to set Cinder quota for non-default volume type?
> 
> Thanks Steve,
> 
> > For 1) try `openstack limits show --absolute`.
> 
> But can I specify the tenant for which I want to see the limits?
> (I am using admin credentials)
> 
> > and for 2) try `openstack quota set --volumes 2 $PROJECTID`.
> >
> > Looks like volume-type isn't supported for quota set, file a bug if 
it's
> > needed.
> 
> Will do, thanks!
> 
>                cheers, Jan
> 
> 
> > We tried to map everything out here:
> > https://wiki.openstack.org/wiki/OpenStackClient/Commands
> > Official docs are:
> > 
http://docs.openstack.org/developer/python-openstackclient/command-list.html

> >
> > With limits here:
> > http://docs.openstack.org/developer/python-openstackclient/
> command-objects/limits.html#limits-show
> >
> > Quota here:
> > http://docs.openstack.org/developer/python-openstackclient/
> command-objects/quota.html#quota-set
> >
> >
> > Also, feel free to report a bug to our bug tracker:
> > https://bugs.launchpad.net/python-openstackclient
> >
> > Thanks,
> >
> > Steve Martinelli
> > OpenStack Keystone Core
> >
> > Jan van Eldik <Jan.van.Eldik at cern.ch> wrote on 03/30/2015 06:30:46 AM:
> >
> >  > From: Jan van Eldik <Jan.van.Eldik at cern.ch>
> >  > To: openstack <openstack at lists.openstack.org>
> >  > Date: 03/30/2015 06:36 AM
> >  > Subject: [Openstack] openstack cli: how to get "absolute limits",
> >  > and to set Cinder quota for non-default volume type?
> >  >
> >  > Hi,
> >  >
> >  > Sorry to ask 2 questions in one mail, but I hope they are 
sufficiently
> >  > trivial :)
> >  >
> >  > We are using the openstack cli more and more, but from time to time 
we
> >  > come across smallish issues. Here are 2 of them:
> >  >
> >  > 1/ as admin, how to run the equivalent of "nova absolute-limits" 
for an
> >  >     arbitrary project?
> >  >
> >  > 2/ as admin, how to change Cinder quota for a particular volume 
type:
> >  >
> >  >        cinder quota-update --volume-type my-type --volumes 2 
$PROJECTID
> >  >
> >  > We are using python-openstackclient-1.0.1-1.el6.noarch
> >  >
> >  > Thanks, cheers, Luis & Jan
> >  >
> >  >
> >  > _______________________________________________
> >  > Mailing list:
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >  > Post to     : openstack at lists.openstack.org
> >  > Unsubscribe :
> > http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> >  >
> 
> _______________________________________________
> Mailing list: 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150330/ba6c6d5c/attachment.html>


More information about the Openstack mailing list