[Openstack] control user quota

Kuo Hugo tonytkdk at gmail.com
Thu Apr 12 16:23:03 UTC 2012


nova-manage
http://nova.openstack.org/runnova/nova.manage.html

nova-manage project quota <projectname>

example :
#list xin-project 's quota
$>nova-manage project quota xin-project
Will return several key/value

#modify a key with new value

$>nova-manage project quota xin-project --key=???  --value=???

https://github.com/openstack/nova/blob/master/nova/quota.py

For configuration flags please refer to the above link of quota.py


Xin Zhao <xzhao at bnl.gov> 於 2012年4月13日上午12:15 寫道:

>  Hi Kuo,
>
> Could you give more details, like the commands used, and settings in the
> config file ? I can't find a good example for them.
>
> Thanks,
> Xin
>
>
> On 4/12/2012 12:04 PM, Kuo Hugo wrote:
>
> I did a quick test in Essex .
> The process almost same as before(Cactus/Diablo)
>
>  1. Manage Quota for a specified "Tenant" from nova-manage .
> 2. Manage Default Quota parameters from nova.conf with several flags
> 3. Hacking Nova source code quota.py for default values.
>
>
>
>  Hope it helps.
>
>
>
> Xin Zhao <xzhao at bnl.gov> 於 2012年4月12日下午10:27 寫道:
>
>> Hello,
>>
>> I try to assign quota to individual users, to control how many instances
>> each user can run concurrently. But I don't see a doc describing how to do
>> that. I use diablo release.
>> Any help or doc pointer will be greatly appreciated.
>>
>> Xin
>>
>>
>> _______________________________________________
>> Mailing list: https://launchpad.net/~openstack
>> Post to     : openstack at lists.launchpad.net
>> Unsubscribe : https://launchpad.net/~openstack
>> More help   : https://help.launchpad.net/ListHelp
>>
>
>
>
>  --
> +Hugo Kuo+
> tonytkdk at gmail.com
>  + <tonytkdk at gmail.com>886 935004793
>
>
>


-- 
+Hugo Kuo+
tonytkdk at gmail.com
+ <tonytkdk at gmail.com>886 935004793
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120413/22993a0d/attachment.html>


More information about the Openstack mailing list