← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1160580] Re: Horizon overview page is not displayed when quantum plugin w/o router ext support is used

 

Reviewed:  https://review.openstack.org/25648
Committed: http://github.com/openstack/horizon/commit/14ac6a90f469097647b0e5425b0ecbe244432c06
Submitter: Jenkins
Branch:    milestone-proposed

commit 14ac6a90f469097647b0e5425b0ecbe244432c06
Author: Gabriel Hurley <gabriel@xxxxxxxxxxxxx>
Date:   Wed Mar 27 18:57:44 2013 -0700

    Release notes on Quantum Brocade plugin incompatibility.
    
    Fixes bug 1160580.
    
    Change-Id: Ib9b56e8b452b040c483a93adb5ff6c16894d5eb1


** Changed in: horizon
       Status: Fix Committed => Fix Released

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

Title:
  Horizon overview page is not displayed when quantum plugin w/o router
  ext support is used

Status in OpenStack Dashboard (Horizon):
  Fix Released

Bug description:
  Extensions like agent, agent-scheduler and router already implemented
  in Quantum are not turned on in the Brocade plugin.

  Some recent changes in Horizon seems to make this a requirement and ends up showing page below at login.
  QuantumClientException at /project/
  404 Not Found

  The resource could not be found.

     
  Request Method:	GET
  Request URL:	http://10.24.88.5/project/
  Django Version:	1.4.2
  Exception Type:	QuantumClientException
  Exception Value:	
  404 Not Found

  The resource could not be found.

     
  Exception Location:	/opt/stack/python-quantumclient/quantumclient/v2_0/client.py in exception_handler_v20, line 88
  Python Executable:	/usr/bin/python
  Python Version:	2.7.3
  Python Path:	
  ['/opt/stack/horizon/openstack_dashboard/wsgi/../..',
   '/opt/stack/python-openstackclient',
   '/opt/stack/keystone',
   '/opt/stack/glance',
   '/opt/stack/nova',
   '/opt/stack/horizon',
   '/opt/stack/cinder',
   '/opt/stack/python-cinderclient',
   '/opt/stack/python-novaclient/setuptools_git-1.0b1-py2.7.egg',
   '/opt/stack/python-novaclient',
   '/opt/stack/python-keystoneclient',
   '/opt/stack/quantum',
   '/usr/local/lib/python2.7/dist-packages/pyasn1-0.1.6-py2.7.egg',
   '/opt/stack/python-quantumclient',
   '/opt/stack/python-glanceclient',
   '/opt/stack/tempest',
   '/usr/local/lib/python2.7/dist-packages',
   '/usr/lib/python2.7',
   '/usr/lib/python2.7/plat-linux2',
   '/usr/lib/python2.7/lib-tk',
   '/usr/lib/python2.7/lib-old',
   '/usr/lib/python2.7/lib-dynload',
   '/usr/lib/python2.7/dist-packages',
   '/usr/lib/python2.7/dist-packages/PIL',
   '/usr/lib/python2.7/dist-packages/gtk-2.0',
   '/usr/lib/pymodules/python2.7',
   '/opt/stack/horizon/openstack_dashboard']
  Server time:	Tue, 26 Mar 2013 20:29:59 +0000

  Environment:

  
  Request Method: GET
  Request URL: http://10.24.88.5/project/

  Django Version: 1.4.2
  Python Version: 2.7.3
  Installed Applications:
  ['openstack_dashboard',
   'django.contrib.contenttypes',
   'django.contrib.auth',
   'django.contrib.sessions',
   'django.contrib.messages',
   'django.contrib.staticfiles',
   'django.contrib.humanize',
   'compressor',
   'horizon',
   'openstack_dashboard.dashboards.project',
   'openstack_dashboard.dashboards.admin',
   'openstack_dashboard.dashboards.settings',
   'openstack_auth']
  Installed Middleware:
  ('django.middleware.common.CommonMiddleware',
   'django.middleware.csrf.CsrfViewMiddleware',
   'django.contrib.sessions.middleware.SessionMiddleware',
   'django.contrib.auth.middleware.AuthenticationMiddleware',
   'django.contrib.messages.middleware.MessageMiddleware',
   'horizon.middleware.HorizonMiddleware',
   'django.middleware.doc.XViewMiddleware',
   'django.middleware.locale.LocaleMiddleware',
   'django.middleware.clickjacking.XFrameOptionsMiddleware')

  
  Traceback:
  File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py" in get_response
    111.                         response = callback(request, *callback_args, **callback_kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
    38.         return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
    54.             return view_func(request, *args, **kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py" in dec
    38.         return view_func(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in view
    48.             return self.dispatch(request, *args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py" in dispatch
    69.         return handler(request, *args, **kwargs)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in get
    155.         handled = self.construct_tables()
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in construct_tables
    146.             handled = self.handle_table(table)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in handle_table
    118.         data = self._get_data_dict()
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py" in _get_data_dict
    182.             self._data = {self.table_class._meta.name: self.get_data()}
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/overview/views.py" in get_data
    32.         super(ProjectOverview, self).get_data()
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py" in get_data
    34.         self.usage.get_quotas()
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" in get_quotas
    115.                               _("Unable to retrieve quota information."))
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py" in get_quotas
    112.             self.quotas = quotas.tenant_quota_usages(self.request)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py" in __call__
    33.             value = self.func(*args)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/quotas.py" in tenant_quota_usages
    119.     floating_ips = network.tenant_floating_ip_list(request)
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/network.py" in tenant_floating_ip_list
    141.     return NetworkClient(request).floating_ips.list()
  File "/opt/stack/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/quantum.py" in list
    125.         fips = self.client.list_floatingips().get('floatingips')
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in with_params
    108.             ret = self.function(instance, *args, **kwargs)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in list_floatingips
    435.                          **_params)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in list
    997.             for r in self._pagination(collection, path, **params):
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in _pagination
    1010.             res = self.get(path, params=params)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in get
    983.                                   headers=headers, params=params)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in retry_request
    968.                                        headers=headers, params=params)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in do_request
    913.             self._handle_fault_response(status_code, replybody)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in _handle_fault_response
    894.         exception_handler_v20(status_code, des_error_body)
  File "/opt/stack/python-quantumclient/quantumclient/v2_0/client.py" in exception_handler_v20
    88.                                                     message=message)

  Exception Type: QuantumClientException at /project/
  Exception Value: 404 Not Found

  The resource could not be found.

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