UPdating quotas no longer works.

Bug #913020 reported by Jake Dahn
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Fix Released
High
Jake Dahn

Bug Description

Actual:
1. Go to /syspanel/tenants/
2. Hover over 'Edit' and click 'Modify Quotas' from the dropdown Menu.
3. Make changes, and submit modal form.
4. Failure, get traceback with error "Value: get_object() got multiple values for keyword argument 'tenant_id'" (reprinted below)

Expected:

1. Go to /syspanel/tenants/
2. Hover over 'Edit' and click 'Modify Quotas' from the dropdown Menu.
3. Make changes, and submit modal form.
4. Success

Traceback:

Request Method: POST
Request URL: /syspanel/tenants/24/quotas/

Traceback:
File "/usr/lib/pymodules/python2.7/django/core/handlers/base.py" in get_response
  111. response = callback(request, *callback_args, **callback_kwargs)
File "/opt/stack/horizon/horizon/horizon/decorators.py" in dec
  41. return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/horizon/horizon/decorators.py" in dec
  73. return view_func(request, *args, **kwargs)
File "/opt/stack/horizon/horizon/horizon/decorators.py" in dec
  41. return view_func(request, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/django/views/generic/base.py" in view
  47. return self.dispatch(request, *args, **kwargs)
File "/usr/lib/pymodules/python2.7/django/views/generic/base.py" in dispatch
  68. return handler(request, *args, **kwargs)
File "/opt/stack/horizon/horizon/horizon/forms/views.py" in post
  75. return self.get(self, request, *args, **kwargs)
File "/opt/stack/horizon/horizon/horizon/forms/views.py" in get
  62. self.object = self.get_object(*args, **kwargs)

Exception Type: TypeError at /syspanel/tenants/24/quotas/
Exception Value: get_object() got multiple values for keyword argument 'tenant_id'

Changed in horizon:
assignee: nobody → Gabriel Hurley (gabriel-hurley)
status: New → In Progress
Devin Carlen (devcamcar)
Changed in horizon:
status: In Progress → Incomplete
status: Incomplete → Confirmed
importance: Undecided → High
assignee: Gabriel Hurley (gabriel-hurley) → Devin Carlen (devcamcar)
milestone: none → essex-3
Devin Carlen (devcamcar)
Changed in horizon:
assignee: Devin Carlen (devcamcar) → Jake Dahn (jakedahn)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to horizon (master)

Reviewed: https://review.openstack.org/2986
Committed: http://github.com/openstack/horizon/commit/2cfdbcf8fba803e9fd66af4c38fda406c5615826
Submitter: Jenkins
Branch: master

commit 2cfdbcf8fba803e9fd66af4c38fda406c5615826
Author: Gabriel Hurley <email address hidden>
Date: Wed Jan 11 17:25:56 2012 -0800

    Tenant quota API cleanup and tests. Fixed bug 913020.

    Change-Id: I6c3cbd0d806a94467c12c85e3f1335c30a475236

Changed in horizon:
status: Confirmed → Fix Committed
Revision history for this message
Adrian Moya (adrianmoya) wrote :

Bug persists for me:

TypeError at /syspanel/tenants/2/quotas/
get_object() got multiple values for keyword argument 'tenant_id'

I just pulled master in my devstack installation. Is there anything else I should do?

Thierry Carrez (ttx)
Changed in horizon:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in horizon:
milestone: essex-3 → 2012.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.