← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1286099] Re: UpdateProjectQuotas doesn't pay attention on disabled_quotas

 

With the above fix in Nova, the Dashboard doesn't produce errors when
modifying data of a project with Nova quota driver set to
NoopQoutaDriver, still the Dashboard makes user to think that he can
change some quota values while actually he can't. Unfortunately,
currently there is no way to query Nova about the type of quota driver
it uses, so it cannot be fixed in Horizon alone. Adding Nova to this
bug.

** Changed in: horizon
   Importance: Undecided => Low

** Changed in: horizon
     Assignee: Timur Sufiev (tsufiev-x) => (unassigned)

** Also affects: nova
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1286099

Title:
  UpdateProjectQuotas doesn't pay attention on disabled_quotas

Status in OpenStack Dashboard (Horizon):
  Confirmed
Status in OpenStack Compute (Nova):
  New

Bug description:
  Environment:
  - OpenStack Havana release (2013.2.1)
  - Neutron

  Steps to reproduce:
  - Go to admin -> projects
  - Try to update project quotas
  - Update fails with "Error: Modified project information and members, but unable to modify project quotas."

  Workaround:
  Comment out "security_group", "security_group_rule" in NEUTRON_QUOTA_FIELDS (openstack_dashboard/usage/quotas.py)

  In neutron/server.log:

  2014-02-28 11:45:03.145 34093 ERROR neutron.api.v2.resource [-] update failed
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource Traceback (most recent call last):
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/resource.py", line 84, in resource
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource     result = method(request=request, **args)
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/extensions/quotasv2.py", line 107, in update
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource     EXTENDED_ATTRIBUTES_2_0[RESOURCE_COLLECTION])
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 555, in prepare_request_body
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource     Controller._verify_attributes(res_dict, attr_info)
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource   File "/usr/lib/python2.6/site-packages/neutron/api/v2/base.py", line 602, in _verify_attributes
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource     raise webob.exc.HTTPBadRequest(msg)
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource HTTPBadRequest: Unrecognized attribute(s) 'security_group_rule, security_group'
  2014-02-28 11:45:03.145 34093 TRACE neutron.api.v2.resource

To manage notifications about this bug go to:
https://bugs.launchpad.net/horizon/+bug/1286099/+subscriptions


References