fuel-dev team mailing list archive
-
fuel-dev team
-
Mailing list archive
-
Message #00768
Re: error when updating quotas
Hello,
Had problems with quotas as well.
Turned out to be because of a setting in Fuel.
With https://bugs.launchpad.net/fuel/+bug/1275987 there is a deployment setting to enable/disable quotas, and it is set to disabled by default.
Check if you are in this situation...
Regards,
KV
Le 2 avr. 2014 à 11:33, samuel.bartel@xxxxxxxxxx a écrit :
> Hello,
>
> After deployment of a HA environment in ubuntu 12.04 the quota affected to the created tenant don't match to the default quota defined in nova.conf. These are the quotas set :
> Metadata Items -1
> VCPUs -1
> Instances -1
> Injected Files -1
> Injected File Content Bytes -1
> Volumes : 10
> Snapshots 10
> Gigabytes : 1000
> RAM (MB) : -1
> Security Groups : -1
> Security Group Rules : -1
> Floating IPs : 250
> Networks :50
> Ports : 250
> Routers : 50
> Subnets :50
>
> when we try to modify a quota (from horizon or from the api) we got errors:
> -horizon : Error: Modified project information and members, but unable to modify project quotas.
> -api : ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-0c804ba1-47ed-4269-9371-66ca840c039e)
> and the following errors in the logs :
> <179>Apr 2 09:13:33 node-3 nova-nova.api.openstack ERROR: Caught error: 'metadata_items'
> Traceback (most recent call last):
> File "/usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py", line 119, in __call__
> return req.get_response(self.application)
> File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1296, in send
> application, catch_exc_info=False)
> File "/usr/lib/python2.7/dist-packages/webob/request.py", line 1260, in call_application
> app_iter = application(self.environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/keystoneclient/middleware/auth_token.py", line 545, in __call__
> return self.app(env, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/routes/middleware.py", line 131, in __call__
> response = self.app(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 144, in __call__
> return resp(environ, start_response)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 130, in __call__
> resp = self.call_func(req, *args, **self.kwargs)
> File "/usr/lib/python2.7/dist-packages/webob/dec.py", line 195, in call_func
> return self.func(req, *args, **kwargs)
> File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 938, in __call__
> content_type, body, accept)
> File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 997, in _process_stack
> action_result = self.dispatch(meth, request, action_args)
> File "/usr/lib/python2.7/dist-packages/nova/api/openstack/wsgi.py", line 1078, in dispatch
> return method(req=request, **action_args)
> File "/usr/lib/python2.7/dist-packages/nova/api/openstack/compute/contrib/quotas.py", line 136, in update
> user_id=user_id)
> File "/usr/lib/python2.7/dist-packages/nova/quota.py", line 1180, in get_settable_quotas
> user_id=user_id)
> File "/usr/lib/python2.7/dist-packages/nova/quota.py", line 741, in get_settable_quotas
> quotas[resource.name].update(minimum=0, maximum=-1)
> KeyError: 'metadata_items'
>
> is it a known issue? is there configuration work arounds?
>
> regards
>
> Samuel
>
> _________________________________________________________________________________________________________________________
>
> Ce message et ses pieces jointes peuvent contenir des informations confidentielles ou privilegiees et ne doivent donc
> pas etre diffuses, exploites ou copies sans autorisation. Si vous avez recu ce message par erreur, veuillez le signaler
> a l'expediteur et le detruire ainsi que les pieces jointes. Les messages electroniques etant susceptibles d'alteration,
> Orange decline toute responsabilite si ce message a ete altere, deforme ou falsifie. Merci.
>
> This message and its attachments may contain confidential or privileged information that may be protected by law;
> they should not be distributed, used or copied without authorisation.
> If you have received this email in error, please notify the sender and delete this message and its attachments.
> As emails may be altered, Orange is not liable for messages that have been modified, changed or falsified.
> Thank you.
> --
> Mailing list: https://launchpad.net/~fuel-dev
> Post to : fuel-dev@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~fuel-dev
> More help : https://help.launchpad.net/ListHelp
Follow ups
References