[openstack-dev] [neutron][horizon][l2gw] Unable to create a floating IP

Cory Hawkless Cory at Hawkless.id.au
Fri Apr 20 06:00:01 UTC 2018


I’m also seeing this issue, but with Routers and networks as well.
The apache server running horizon logs the following

ERROR horizon.tables.base Error while checking action permissions.
Traceback (most recent call last):
  File "/usr/share/openstack-dashboard/horizon/tables/base.py", line 1389, in _filter_action
    return action._allowed(request, datum) and row_matched
  File "/usr/share/openstack-dashboard/horizon/tables/actions.py", line 139, in _allowed
    self.allowed(request, datum))
  File "/usr/share/openstack-dashboard/openstack_dashboard/dashboards/project/networks/tables.py", line 85, in allowed
    usages = quotas.tenant_quota_usages(request, targets=('network', ))
  File "/usr/share/openstack-dashboard/horizon/utils/memoized.py", line 95, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/usr/share/openstack-dashboard/openstack_dashboard/usage/quotas.py", line 419, in tenant_quota_usages
    _get_tenant_network_usages(request, usages, disabled_quotas, tenant_id)
  File "/usr/share/openstack-dashboard/openstack_dashboard/usage/quotas.py", line 320, in _get_tenant_network_usages
    details = neutron.tenant_quota_detail_get(request, tenant_id)
  File "/usr/share/openstack-dashboard/openstack_dashboard/api/neutron.py", line 1457, in tenant_quota_detail_get
    response = neutronclient(request).get('/quotas/%s/details' % tenant_id)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 354, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 331, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 294, in do_request
    self._handle_fault_response(status_code, replybody, resp)
  File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 269, in _handle_fault_response
    exception_handler_v20(status_code, error_body)
 File "/usr/lib/python2.7/dist-packages/neutronclient/v2_0/client.py", line 93, in exception_handler_v20
    request_ids=request_ids)
Forbidden: User does not have admin privileges: Cannot GET resource for non admin tenant.
Neutron server returns request_ids: ['req-3db6924c-1937-4c34-b5fa-bd3ae52f0c10']

From: Gary Kotton [mailto:gkotton at vmware.com]
Sent: Monday, 9 April 2018 10:03 PM
To: OpenStack List <openstack-dev at lists.openstack.org>
Subject: [openstack-dev] [neutron][horizon][l2gw] Unable to create a floating IP

Hi,
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
This worked in Ocata and not sure what has changed since then ☹. Maybe in the past the Ocata quota’s were not checking L2gw.
Any ideas?
Thanks
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20180420/59e9e5fc/attachment.html>


More information about the OpenStack-dev mailing list