← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1383614] [NEW] not using L3 network prevents a user from launching instances

 

Public bug reported:

In Icehouse, usign a setup, where neutron-l3-agent is not used at all, 
starting new instances works via cli, but not via Horizon. Error message is:

2014-09-24 05:46:43,533 13795 ERROR horizon.tables.base Error while checking action permissions.
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1136, in _filter_action
    return action._allowed(request, datum) and row_matched
  File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 132, in _allowed
    self.allowed(request, datum))
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 75, in allowed
    usages = quotas.tenant_quota_usages(request)
  File "/usr/lib/python2.7/site-packages/horizon/utils/memoized.py", line 90, in wrapped
    value = cache[key] = func(*args, **kwargs)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 203, in tenant_quota_usages
    floating_ips = network.tenant_floating_ip_list(request)
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py", line 50, in tenant_floating_ip_list
    return NetworkClient(request).floating_ips.list()
  File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 332, in list
    fips = self.client.list_floatingips(tenant_id=tenant_id, **search_opts)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 111, in with_params
    ret = self.function(instance, *args, **kwargs)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 437, in list_floatingips
    **_params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1250, in list
    for r in self._pagination(collection, path, **params):
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1263, in _pagination
    res = self.get(path, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1236, in get
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1221, in retry_request
    headers=headers, params=params)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1164, in do_request
    self._handle_fault_response(status_code, replybody)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1134, in _handle_fault_response
    exception_handler_v20(status_code, des_error_body)
  File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
    message=message)
NeutronClientException: 404 Not Found

The resource could not be found.


How to reproduce:
edit neutron.conf:
comment out the service plugins.
#service_plugins
=neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.firewall.fwaas_plugin.FirewallPlugin

restart neutron services.

This is fixed in Juno, and the issue exists in Icehouse only

** Affects: horizon
     Importance: Undecided
         Status: Invalid

** Affects: horizon/icehouse
     Importance: Undecided
         Status: New

** Also affects: horizon/icehouse
   Importance: Undecided
       Status: New

** Changed in: horizon
       Status: New => Invalid

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

Title:
  not using L3 network prevents a user from launching instances

Status in OpenStack Dashboard (Horizon):
  Invalid
Status in OpenStack Dashboard (Horizon) icehouse series:
  New

Bug description:
  In Icehouse, usign a setup, where neutron-l3-agent is not used at all, 
  starting new instances works via cli, but not via Horizon. Error message is:

  2014-09-24 05:46:43,533 13795 ERROR horizon.tables.base Error while checking action permissions.
  Traceback (most recent call last):
    File "/usr/lib/python2.7/site-packages/horizon/tables/base.py", line 1136, in _filter_action
      return action._allowed(request, datum) and row_matched
    File "/usr/lib/python2.7/site-packages/horizon/tables/actions.py", line 132, in _allowed
      self.allowed(request, datum))
    File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/volumes/volumes/tables.py", line 75, in allowed
      usages = quotas.tenant_quota_usages(request)
    File "/usr/lib/python2.7/site-packages/horizon/utils/memoized.py", line 90, in wrapped
      value = cache[key] = func(*args, **kwargs)
    File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py", line 203, in tenant_quota_usages
      floating_ips = network.tenant_floating_ip_list(request)
    File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py", line 50, in tenant_floating_ip_list
      return NetworkClient(request).floating_ips.list()
    File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 332, in list
      fips = self.client.list_floatingips(tenant_id=tenant_id, **search_opts)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 111, in with_params
      ret = self.function(instance, *args, **kwargs)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 437, in list_floatingips
      **_params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1250, in list
      for r in self._pagination(collection, path, **params):
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1263, in _pagination
      res = self.get(path, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1236, in get
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1221, in retry_request
      headers=headers, params=params)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1164, in do_request
      self._handle_fault_response(status_code, replybody)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 1134, in _handle_fault_response
      exception_handler_v20(status_code, des_error_body)
    File "/usr/lib/python2.7/site-packages/neutronclient/v2_0/client.py", line 91, in exception_handler_v20
      message=message)
  NeutronClientException: 404 Not Found

  The resource could not be found.

  
  How to reproduce:
  edit neutron.conf:
  comment out the service plugins.
  #service_plugins
  =neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,neutron.services.firewall.fwaas_plugin.FirewallPlugin

  restart neutron services.

  This is fixed in Juno, and the issue exists in Icehouse only

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


Follow ups

References