Bug 1288654
Summary: | Horizon - Launch an instance on admin project return Internal Server Error | ||
---|---|---|---|
Product: | Red Hat OpenStack | Reporter: | Eric Harney <eharney> |
Component: | python-django-horizon | Assignee: | Matthias Runge <mrunge> |
Status: | CLOSED ERRATA | QA Contact: | Ido Ovadia <iovadia> |
Severity: | urgent | Docs Contact: | |
Priority: | high | ||
Version: | 6.0 (Juno) | CC: | aortega, athomas, brault, eharney, geguileo, iovadia, jmelvin, jraju, mcornea, mrunge, mschuppe, nlevinki, srevivo |
Target Milestone: | async | Keywords: | Regression, Triaged, ZStream |
Target Release: | 6.0 (Juno) | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | python-django-horizon-2014.2.3-8.el7ost | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | 1288652 | Environment: | |
Last Closed: | 2016-06-08 12:19:06 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 1287621, 1288652 | ||
Bug Blocks: | 743661 |
Description
Eric Harney
2015-12-04 21:39:38 UTC
This is not a regression, as Horizon did not broke something here due to backports. I agree, if cinder had a stack trace, but tolerated it, we should fix this in horizon. But in current juno version, this just works. The diff for a mini-patch should be something like this: diff --git a/openstack_dashboard/usage/quotas.py b/openstack_dashboard/usage/quotas.py index c51aed0..c060ebb 100644 --- a/openstack_dashboard/usage/quotas.py +++ b/openstack_dashboard/usage/quotas.py @@ -257,7 +257,7 @@ def tenant_quota_usages(request, tenant_id=None): if 'volumes' not in disabled_quotas: if tenant_id: - opts = {'alltenants': 1, 'tenant_id': tenant_id} + opts = {'all_tenants': 1, 'project_id': tenant_id} volumes = cinder.volume_list(request, opts) snapshots = cinder.volume_snapshot_list(request, opts) else: Unfortunately, the tests don't apply cleanly any more, code has been refactored since juno. *** Bug 1302834 has been marked as a duplicate of this bug. *** Verified ======== python-django-horizon-2014.2.3-8.el7ost.noarch Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1215 |