← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1762414] [NEW] Unable to create a FIP when L2GW is enabled

 

Public bug reported:

  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

** Affects: neutron
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1762414

Title:
  Unable to create a FIP when L2GW is enabled

Status in neutron:
  New

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

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


Follow ups