← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1851342] Re: Cannot create network via dashboard

 

[Expired for OpenStack Dashboard (Horizon) because there has been no
activity for 60 days.]

** Changed in: horizon
       Status: Incomplete => Expired

-- 
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/1851342

Title:
  Cannot create network via dashboard

Status in OpenStack Dashboard (Horizon):
  Expired

Bug description:
  Using stable/stein on ubuntu 18.04 with horizon 15.1.0. When users
  browse to networks section, create network button is missing due to
  error below. Policies are default, and setting enable_quotas for
  neutron to false fixes the issue.

  [Tue Nov 05 11:06:40.586234 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Error while checking action permissions.
  [Tue Nov 05 11:06:40.586313 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Traceback (most recent call last):
  [Tue Nov 05 11:06:40.586329 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/django/template/base.py", line 882, in _resolve_lookup
  [Tue Nov 05 11:06:40.586342 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     current = current[bit]
  [Tue Nov 05 11:06:40.586355 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] TypeError: 'NetworksTable' object is not subscriptable
  [Tue Nov 05 11:06:40.586368 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]
  [Tue Nov 05 11:06:40.586379 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] During handling of the above exception, another exception occurred:
  [Tue Nov 05 11:06:40.586390 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]
  [Tue Nov 05 11:06:40.586401 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Traceback (most recent call last):
  [Tue Nov 05 11:06:40.586413 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, in wrapped
  [Tue Nov 05 11:06:40.586424 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     value = cache[key] = cache.pop(key)
  [Tue Nov 05 11:06:40.586436 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] KeyError: ((<weakref at 0x7f2625e49278; to 'WSGIRequest' at 0x7f262f4ac2e8>,), (('targets', ('network',)),))
  [Tue Nov 05 11:06:40.586448 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]
  [Tue Nov 05 11:06:40.586459 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] During handling of the above exception, another exception occurred:
  [Tue Nov 05 11:06:40.586471 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]
  [Tue Nov 05 11:06:40.586482 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Traceback (most recent call last):
  [Tue Nov 05 11:06:40.586493 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/tables/base.py", line 1407, in _filter_action
  [Tue Nov 05 11:06:40.586505 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return action._allowed(request, datum) and row_matched
  [Tue Nov 05 11:06:40.586517 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/tables/actions.py", line 138, in _allowed
  [Tue Nov 05 11:06:40.586529 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     self.allowed(request, datum))
  [Tue Nov 05 11:06:40.586540 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/dashboards/project/networks/tables.py", line 91, in allowed
  [Tue Nov 05 11:06:40.586553 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     usages = quotas.tenant_quota_usages(request, targets=('network', ))
  [Tue Nov 05 11:06:40.586668 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 109, in wrapped
  [Tue Nov 05 11:06:40.586679 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     value = cache[key] = func(*args, **kwargs)
  [Tue Nov 05 11:06:40.586690 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/usage/quotas.py", line 433, in tenant_quota_usages
  [Tue Nov 05 11:06:40.586701 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     [request, usages, disabled_quotas, tenant_id]))
  [Tue Nov 05 11:06:40.586711 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/utils/futurist_utils.py", line 50, in call_functions_parallel
  [Tue Nov 05 11:06:40.586722 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return tuple(f.result() for f in futures)
  [Tue Nov 05 11:06:40.586733 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/utils/futurist_utils.py", line 50, in <genexpr>
  [Tue Nov 05 11:06:40.586744 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return tuple(f.result() for f in futures)
  [Tue Nov 05 11:06:40.586755 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3.6/concurrent/futures/_base.py", line 425, in result
  [Tue Nov 05 11:06:40.586765 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return self.__get_result()
  [Tue Nov 05 11:06:40.586776 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
  [Tue Nov 05 11:06:40.586787 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     raise self._exception
  [Tue Nov 05 11:06:40.586798 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/futurist/_utils.py", line 47, in run
  [Tue Nov 05 11:06:40.586809 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     result = self.fn(*self.args, **self.kwargs)
  [Tue Nov 05 11:06:40.586819 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/usage/quotas.py", line 340, in _get_tenant_network_usages
  [Tue Nov 05 11:06:40.586830 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     details = neutron.tenant_quota_detail_get(request, tenant_id)
  [Tue Nov 05 11:06:40.586841 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/api/neutron.py", line 1536, in tenant_quota_detail_get
  [Tue Nov 05 11:06:40.586851 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     response = neutronclient(request).get('/quotas/%s/details' % tenant_id)
  [Tue Nov 05 11:06:40.586862 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 354, in get
  [Tue Nov 05 11:06:40.586872 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     headers=headers, params=params)
  [Tue Nov 05 11:06:40.586883 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 331, in retry_request
  [Tue Nov 05 11:06:40.586893 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     headers=headers, params=params)
  [Tue Nov 05 11:06:40.586904 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 294, in do_request
  [Tue Nov 05 11:06:40.586922 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     self._handle_fault_response(status_code, replybody, resp)
  [Tue Nov 05 11:06:40.586933 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
  [Tue Nov 05 11:06:40.586944 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     exception_handler_v20(status_code, error_body)
  [Tue Nov 05 11:06:40.586954 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
  [Tue Nov 05 11:06:40.586965 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     request_ids=request_ids)
  [Tue Nov 05 11:06:40.586975 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] neutronclient.common.exceptions.Forbidden: b'{"debuginfo": null, "faultcode": "Client", "faultstring": "Policy does not allow this request to be performed."}'
  [Tue Nov 05 11:06:40.586990 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Neutron server returns request_ids: ['req-c37eaec7-5e85-4035-823b-f8ec76faee62']
  [Tue Nov 05 11:06:40.587009 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]
  [Tue Nov 05 11:06:40.762205 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Error while checking action permissions.
  [Tue Nov 05 11:06:40.762270 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Traceback (most recent call last):
  [Tue Nov 05 11:06:40.762284 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 107, in wrapped
  [Tue Nov 05 11:06:40.762295 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     value = cache[key] = cache.pop(key)
  [Tue Nov 05 11:06:40.762308 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] KeyError: ((<weakref at 0x7f2624371818; to 'WSGIRequest' at 0x7f262f4ac2e8>,), (('targets', ('network',)),))
  [Tue Nov 05 11:06:40.762318 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]
  [Tue Nov 05 11:06:40.762329 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] During handling of the above exception, another exception occurred:
  [Tue Nov 05 11:06:40.762340 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]
  [Tue Nov 05 11:06:40.762350 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Traceback (most recent call last):
  [Tue Nov 05 11:06:40.762361 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/tables/base.py", line 1407, in _filter_action
  [Tue Nov 05 11:06:40.762372 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return action._allowed(request, datum) and row_matched
  [Tue Nov 05 11:06:40.762383 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/tables/actions.py", line 138, in _allowed
  [Tue Nov 05 11:06:40.762393 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     self.allowed(request, datum))
  [Tue Nov 05 11:06:40.762404 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/dashboards/project/networks/tables.py", line 91, in allowed
  [Tue Nov 05 11:06:40.762415 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     usages = quotas.tenant_quota_usages(request, targets=('network', ))
  [Tue Nov 05 11:06:40.762425 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/horizon/utils/memoized.py", line 109, in wrapped
  [Tue Nov 05 11:06:40.762451 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     value = cache[key] = func(*args, **kwargs)
  [Tue Nov 05 11:06:40.762462 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/usage/quotas.py", line 433, in tenant_quota_usages
  [Tue Nov 05 11:06:40.762473 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     [request, usages, disabled_quotas, tenant_id]))
  [Tue Nov 05 11:06:40.762484 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/utils/futurist_utils.py", line 50, in call_functions_parallel
  [Tue Nov 05 11:06:40.762494 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return tuple(f.result() for f in futures)
  [Tue Nov 05 11:06:40.762505 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/utils/futurist_utils.py", line 50, in <genexpr>
  [Tue Nov 05 11:06:40.762515 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return tuple(f.result() for f in futures)
  [Tue Nov 05 11:06:40.762526 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3.6/concurrent/futures/_base.py", line 425, in result
  [Tue Nov 05 11:06:40.762536 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     return self.__get_result()
  [Tue Nov 05 11:06:40.762547 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3.6/concurrent/futures/_base.py", line 384, in __get_result
  [Tue Nov 05 11:06:40.762557 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     raise self._exception
  [Tue Nov 05 11:06:40.762567 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/futurist/_utils.py", line 47, in run
  [Tue Nov 05 11:06:40.762578 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     result = self.fn(*self.args, **self.kwargs)
  [Tue Nov 05 11:06:40.762589 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/usage/quotas.py", line 340, in _get_tenant_network_usages
  [Tue Nov 05 11:06:40.762600 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     details = neutron.tenant_quota_detail_get(request, tenant_id)
  [Tue Nov 05 11:06:40.762610 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/openstack_dashboard/api/neutron.py", line 1536, in tenant_quota_detail_get
  [Tue Nov 05 11:06:40.762621 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     response = neutronclient(request).get('/quotas/%s/details' % tenant_id)
  [Tue Nov 05 11:06:40.762631 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 354, in get
  [Tue Nov 05 11:06:40.762642 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     headers=headers, params=params)
  [Tue Nov 05 11:06:40.762652 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 331, in retry_request
  [Tue Nov 05 11:06:40.762662 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     headers=headers, params=params)
  [Tue Nov 05 11:06:40.762673 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 294, in do_request
  [Tue Nov 05 11:06:40.762684 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     self._handle_fault_response(status_code, replybody, resp)
  [Tue Nov 05 11:06:40.762709 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
  [Tue Nov 05 11:06:40.762720 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     exception_handler_v20(status_code, error_body)
  [Tue Nov 05 11:06:40.762731 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]   File "/usr/lib/python3/dist-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
  [Tue Nov 05 11:06:40.762741 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962]     request_ids=request_ids)
  [Tue Nov 05 11:06:40.762752 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] neutronclient.common.exceptions.Forbidden: b'{"debuginfo": null, "faultcode": "Client", "faultstring": "Policy does not allow this request to be performed."}'
  [Tue Nov 05 11:06:40.762766 2019] [wsgi:error] [pid 34:tid 139802247345920] [remote 10.250.127.13:49962] Neutron server returns request_ids: ['req-58388141-2d60-4444-bc9f-5769ce4b4276']

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


References