← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1491309] [NEW] Unhandled exception in quota code leads to missing buttons

 

Public bug reported:

2015-09-02 09:22:20.600587 Error while checking action permissions.
2015-09-02 09:22:20.600607 Traceback (most recent call last):
2015-09-02 09:22:20.600610   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 1270, in _filter_action
2015-09-02 09:22:20.600624     return action._allowed(request, datum) and row_matched
2015-09-02 09:22:20.600626   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/actions.py", line 135, in _allowed
2015-09-02 09:22:20.600628     self.allowed(request, datum))
2015-09-02 09:22:20.600642   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/networks/tables.py", line 94, in allowed
2015-09-02 09:22:20.600645     usages = quotas.tenant_quota_usages(request)
2015-09-02 09:22:20.600647   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 90, in wrapped
2015-09-02 09:22:20.600649     value = cache[key] = func(*args, **kwargs)
2015-09-02 09:22:20.600651   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 356, in tenant_quota_usages
2015-09-02 09:22:20.600654     tenant_id=tenant_id):
2015-09-02 09:22:20.600656   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 166, in get_tenant_quota_data
2015-09-02 09:22:20.600659     tenant_id=tenant_id)
2015-09-02 09:22:20.600661   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 148, in _get_quota_data
2015-09-02 09:22:20.600663     quotasets.append(getattr(cinder, method_name)(request, tenant_id))
2015-09-02 09:22:20.600666   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py", line 418, in tenant_quota_get
2015-09-02 09:22:20.600669     return base.QuotaSet(c_client.quotas.get(tenant_id))
2015-09-02 09:22:20.600671   File "/usr/local/lib/python2.7/dist-packages/cinderclient/v2/quotas.py", line 37, in get
2015-09-02 09:22:20.600673     "quota_set")
2015-09-02 09:22:20.600675   File "/usr/local/lib/python2.7/dist-packages/cinderclient/base.py", line 173, in _get
2015-09-02 09:22:20.600677     resp, body = self.api.client.get(url)
2015-09-02 09:22:20.600679   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 305, in get
2015-09-02 09:22:20.600681     return self._cs_request(url, 'GET', **kwargs)
2015-09-02 09:22:20.600683   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 268, in _cs_request
2015-09-02 09:22:20.600685     **kwargs)
2015-09-02 09:22:20.600687   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 251, in request
2015-09-02 09:22:20.600690     raise exceptions.from_response(resp, body)
2015-09-02 09:22:20.600692 ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-85e49670-ce04-4fcb-9d3c-3282c2889723)

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  Unhandled exception in quota code leads to missing buttons

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  2015-09-02 09:22:20.600587 Error while checking action permissions.
  2015-09-02 09:22:20.600607 Traceback (most recent call last):
  2015-09-02 09:22:20.600610   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/base.py", line 1270, in _filter_action
  2015-09-02 09:22:20.600624     return action._allowed(request, datum) and row_matched
  2015-09-02 09:22:20.600626   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/actions.py", line 135, in _allowed
  2015-09-02 09:22:20.600628     self.allowed(request, datum))
  2015-09-02 09:22:20.600642   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/networks/tables.py", line 94, in allowed
  2015-09-02 09:22:20.600645     usages = quotas.tenant_quota_usages(request)
  2015-09-02 09:22:20.600647   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 90, in wrapped
  2015-09-02 09:22:20.600649     value = cache[key] = func(*args, **kwargs)
  2015-09-02 09:22:20.600651   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 356, in tenant_quota_usages
  2015-09-02 09:22:20.600654     tenant_id=tenant_id):
  2015-09-02 09:22:20.600656   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 166, in get_tenant_quota_data
  2015-09-02 09:22:20.600659     tenant_id=tenant_id)
  2015-09-02 09:22:20.600661   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 148, in _get_quota_data
  2015-09-02 09:22:20.600663     quotasets.append(getattr(cinder, method_name)(request, tenant_id))
  2015-09-02 09:22:20.600666   File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/cinder.py", line 418, in tenant_quota_get
  2015-09-02 09:22:20.600669     return base.QuotaSet(c_client.quotas.get(tenant_id))
  2015-09-02 09:22:20.600671   File "/usr/local/lib/python2.7/dist-packages/cinderclient/v2/quotas.py", line 37, in get
  2015-09-02 09:22:20.600673     "quota_set")
  2015-09-02 09:22:20.600675   File "/usr/local/lib/python2.7/dist-packages/cinderclient/base.py", line 173, in _get
  2015-09-02 09:22:20.600677     resp, body = self.api.client.get(url)
  2015-09-02 09:22:20.600679   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 305, in get
  2015-09-02 09:22:20.600681     return self._cs_request(url, 'GET', **kwargs)
  2015-09-02 09:22:20.600683   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 268, in _cs_request
  2015-09-02 09:22:20.600685     **kwargs)
  2015-09-02 09:22:20.600687   File "/usr/local/lib/python2.7/dist-packages/cinderclient/client.py", line 251, in request
  2015-09-02 09:22:20.600690     raise exceptions.from_response(resp, body)
  2015-09-02 09:22:20.600692 ClientException: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-85e49670-ce04-4fcb-9d3c-3282c2889723)

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


Follow ups