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 <[email protected]> wrote on 03/30/2015 06:30:46 AM:

> From: Jan van Eldik <[email protected]>
> To: openstack <[email protected]>
> 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     : [email protected]
> Unsubscribe : 
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> 
_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : [email protected]
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to