[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 14:26:45 UTC 2015
Hi Jan,
For 1) try `openstack limits show --absolute`.
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.
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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150330/e96dbe52/attachment.html>
More information about the Openstack
mailing list