Unable to create a FIP when L2GW is enabled

Bug #1762414 reported by Gary Kotton
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Critical
Unassigned

Bug Description

  File "/usr/share/openstack-dashboard/horizon/tables/base.py", line 1389, in _filter_action
[Thu Mar 29 09:11:07.992793 2018] [wsgi:error] [pid 22987:tid 140314318284544] return action._allowed(request, datum) and row_matched
[Thu Mar 29 09:11:07.992800 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/share/openstack-dashboard/horizon/tables/actions.py", line 140, in _allowed
[Thu Mar 29 09:11:07.992806 2018] [wsgi:error] [pid 22987:tid 140314318284544] return self.allowed(request, datum)
[Thu Mar 29 09:11:07.992813 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/floating_ips/tables.py", line 51, in allowed
[Thu Mar 29 09:11:07.992820 2018] [wsgi:error] [pid 22987:tid 140314318284544] targets=('floatingip', ))
[Thu Mar 29 09:11:07.992826 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/share/openstack-dashboard/horizon/utils/memoized.py", line 95, in wrapped
[Thu Mar 29 09:11:07.992833 2018] [wsgi:error] [pid 22987:tid 140314318284544] value = cache[key] = func(*args, **kwargs)
[Thu Mar 29 09:11:07.992840 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/share/openstack-dashboard/openstack_dashboard/usage/quotas.py", line 419, in tenant_quota_usages
[Thu Mar 29 09:11:07.992846 2018] [wsgi:error] [pid 22987:tid 140314318284544] _get_tenant_network_usages(request, usages, disabled_quotas, tenant_id)
[Thu Mar 29 09:11:07.992853 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/share/openstack-dashboard/openstack_dashboard/usage/quotas.py", line 320, in _get_tenant_network_usages
[Thu Mar 29 09:11:07.992866 2018] [wsgi:error] [pid 22987:tid 140314318284544] details = neutron.tenant_quota_detail_get(request, tenant_id)
[Thu Mar 29 09:11:07.992873 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py", line 1477, in tenant_quota_detail_get
[Thu Mar 29 09:11:07.992880 2018] [wsgi:error] [pid 22987:tid 140314318284544] response = neutronclient(request).get('/quotas/%s/details' % tenant_id)
[Thu Mar 29 09:11:07.992886 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 354, in get
[Thu Mar 29 09:11:07.992893 2018] [wsgi:error] [pid 22987:tid 140314318284544] headers=headers, params=params)
[Thu Mar 29 09:11:07.992899 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 331, in retry_request
[Thu Mar 29 09:11:07.992906 2018] [wsgi:error] [pid 22987:tid 140314318284544] headers=headers, params=params)
[Thu Mar 29 09:11:07.992912 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 294, in do_request
[Thu Mar 29 09:11:07.992918 2018] [wsgi:error] [pid 22987:tid 140314318284544] self._handle_fault_response(status_code, replybody, resp)
[Thu Mar 29 09:11:07.992925 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
[Thu Mar 29 09:11:07.992932 2018] [wsgi:error] [pid 22987:tid 140314318284544] exception_handler_v20(status_code, error_body)
[Thu Mar 29 09:11:07.992938 2018] [wsgi:error] [pid 22987:tid 140314318284544] File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
[Thu Mar 29 09:11:07.992944 2018] [wsgi:error] [pid 22987:tid 140314318284544] request_ids=request_ids)
[Thu Mar 29 09:11:07.992951 2018] [wsgi:error] [pid 22987:tid 140314318284544] Forbidden: User does not have admin privileges: Cannot GET resource for non admin tenant.

This is due to:
From Queens onwards we have a issue with horizon and L2GW. We are unable to create a floating IP. This does not occur when using the CLI only via horizon. The error received is
‘Error: User does not have admin privileges: Cannot GET resource for non admin tenant. Neutron server returns request_ids: ['req-f07a3aac-0994-4d3a-8409-1e55b374af9d']’
This is due to: https://github.com/openstack/networking-l2gw/blob/master/networking_l2gw/db/l2gateway/l2gateway_db.py#L316

Gary Kotton (garyk)
Changed in neutron:
status: New → In Progress
importance: Undecided → Critical
assignee: nobody → Gary Kotton (garyk)
Changed in neutron:
assignee: Gary Kotton (garyk) → Kumari Paluru (kumariopenstack)
assignee: Kumari Paluru (kumariopenstack) → nobody
Revision history for this message
wang (yunhua) wrote :

stay tuned

Elod Illes (elod-illes)
information type: Public → Public Security
information type: Public Security → Public
Revision history for this message
Lajos Katona (lajos-katona) wrote :

As l2gw was removed from under stadium umbrella, and was moved under x/ namespaces, we can close this as won't fix

Changed in neutron:
status: In Progress → Won't Fix
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.