← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1244457] Re: ServiceCatalogException: Invalid service catalog service: compute

 

This grenade bug was last updated over 180 days ago, as grenade
is a fast moving project and we'd like to get the tracker down to
currently actionable bugs, this is getting marked as Invalid. If the
issue still exists, please feel free to reopen it.

** Changed in: grenade
       Status: Incomplete => 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/1244457

Title:
  ServiceCatalogException: Invalid service catalog service: compute

Status in grenade:
  Invalid
Status in OpenStack Dashboard (Horizon):
  Invalid

Bug description:
  On the following review - https://review.openstack.org/#/c/53712/

  We failed the tempest tests on the dashboard scenario tests for the pg version of the job: 
  2013-10-24 21:26:00.445 | ======================================================================
  2013-10-24 21:26:00.445 | FAIL: tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario[dashboard]
  2013-10-24 21:26:00.445 | tempest.scenario.test_dashboard_basic_ops.TestDashboardBasicOps.test_basic_scenario[dashboard]
  2013-10-24 21:26:00.445 | ----------------------------------------------------------------------
  2013-10-24 21:26:00.446 | _StringException: Empty attachments:
  2013-10-24 21:26:00.446 |   pythonlogging:''
  2013-10-24 21:26:00.446 |   stderr
  2013-10-24 21:26:00.446 |   stdout
  2013-10-24 21:26:00.446 | 
  2013-10-24 21:26:00.446 | Traceback (most recent call last):
  2013-10-24 21:26:00.446 |   File "tempest/scenario/test_dashboard_basic_ops.py", line 73, in test_basic_scenario
  2013-10-24 21:26:00.447 |     self.user_login()
  2013-10-24 21:26:00.447 |   File "tempest/scenario/test_dashboard_basic_ops.py", line 64, in user_login
  2013-10-24 21:26:00.447 |     self.opener.open(req, urllib.urlencode(params))
  2013-10-24 21:26:00.447 |   File "/usr/lib/python2.7/urllib2.py", line 406, in open
  2013-10-24 21:26:00.447 |     response = meth(req, response)
  2013-10-24 21:26:00.447 |   File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
  2013-10-24 21:26:00.447 |     'http', request, response, code, msg, hdrs)
  2013-10-24 21:26:00.448 |   File "/usr/lib/python2.7/urllib2.py", line 438, in error
  2013-10-24 21:26:00.448 |     result = self._call_chain(*args)
  2013-10-24 21:26:00.448 |   File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
  2013-10-24 21:26:00.448 |     result = func(*args)
  2013-10-24 21:26:00.448 |   File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
  2013-10-24 21:26:00.448 |     return self.parent.open(new, timeout=req.timeout)
  2013-10-24 21:26:00.448 |   File "/usr/lib/python2.7/urllib2.py", line 406, in open
  2013-10-24 21:26:00.449 |     response = meth(req, response)
  2013-10-24 21:26:00.449 |   File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
  2013-10-24 21:26:00.449 |     'http', request, response, code, msg, hdrs)
  2013-10-24 21:26:00.449 |   File "/usr/lib/python2.7/urllib2.py", line 438, in error
  2013-10-24 21:26:00.449 |     result = self._call_chain(*args)
  2013-10-24 21:26:00.449 |   File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
  2013-10-24 21:26:00.449 |     result = func(*args)
  2013-10-24 21:26:00.450 |   File "/usr/lib/python2.7/urllib2.py", line 625, in http_error_302
  2013-10-24 21:26:00.450 |     return self.parent.open(new, timeout=req.timeout)
  2013-10-24 21:26:00.450 |   File "/usr/lib/python2.7/urllib2.py", line 406, in open
  2013-10-24 21:26:00.450 |     response = meth(req, response)
  2013-10-24 21:26:00.450 |   File "/usr/lib/python2.7/urllib2.py", line 519, in http_response
  2013-10-24 21:26:00.450 |     'http', request, response, code, msg, hdrs)
  2013-10-24 21:26:00.450 |   File "/usr/lib/python2.7/urllib2.py", line 444, in error
  2013-10-24 21:26:00.451 |     return self._call_chain(*args)
  2013-10-24 21:26:00.451 |   File "/usr/lib/python2.7/urllib2.py", line 378, in _call_chain
  2013-10-24 21:26:00.451 |     result = func(*args)
  2013-10-24 21:26:00.451 |   File "/usr/lib/python2.7/urllib2.py", line 527, in http_error_default
  2013-10-24 21:26:00.451 |     raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  2013-10-24 21:26:00.451 | HTTPError: HTTP Error 500: INTERNAL SERVER ERROR

  The horizon logs have the following error info:

  [Thu Oct 24 21:18:43 2013] [error] Internal Server Error: /project/
  [Thu Oct 24 21:18:43 2013] [error] Traceback (most recent call last):
  [Thu Oct 24 21:18:43 2013] [error]   File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 115, in get_response
  [Thu Oct 24 21:18:43 2013] [error]     response = callback(request, *callback_args, **callback_kwargs)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 38, in dec
  [Thu Oct 24 21:18:43 2013] [error]     return view_func(request, *args, **kwargs)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 54, in dec
  [Thu Oct 24 21:18:43 2013] [error]     return view_func(request, *args, **kwargs)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/decorators.py", line 38, in dec
  [Thu Oct 24 21:18:43 2013] [error]     return view_func(request, *args, **kwargs)
  [Thu Oct 24 21:18:43 2013] [error]   File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 68, in view
  [Thu Oct 24 21:18:43 2013] [error]     return self.dispatch(request, *args, **kwargs)
  [Thu Oct 24 21:18:43 2013] [error]   File "/usr/local/lib/python2.7/dist-packages/django/views/generic/base.py", line 86, in dispatch
  [Thu Oct 24 21:18:43 2013] [error]     return handler(request, *args, **kwargs)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 155, in get
  [Thu Oct 24 21:18:43 2013] [error]     handled = self.construct_tables()
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 146, in construct_tables
  [Thu Oct 24 21:18:43 2013] [error]     handled = self.handle_table(table)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 118, in handle_table
  [Thu Oct 24 21:18:43 2013] [error]     data = self._get_data_dict()
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/tables/views.py", line 182, in _get_data_dict
  [Thu Oct 24 21:18:43 2013] [error]     self._data = {self.table_class._meta.name: self.get_data()}
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/overview/views.py", line 56, in get_data
  [Thu Oct 24 21:18:43 2013] [error]     super(ProjectOverview, self).get_data()
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/views.py", line 29, in get_data
  [Thu Oct 24 21:18:43 2013] [error]     self.usage.summarize(*self.usage.get_date_range())
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/usage/base.py", line 184, in summarize
  [Thu Oct 24 21:18:43 2013] [error]     if not api.nova.extension_supported('SimpleTenantUsage', self.request):
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 33, in __call__
  [Thu Oct 24 21:18:43 2013] [error]     value = self.func(*args)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 691, in extension_supported
  [Thu Oct 24 21:18:43 2013] [error]     extensions = list_extensions(request)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../horizon/utils/memoized.py", line 33, in __call__
  [Thu Oct 24 21:18:43 2013] [error]     value = self.func(*args)
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 681, in list_extensions
  [Thu Oct 24 21:18:43 2013] [error]     return nova_list_extensions.ListExtManager(novaclient(request)).show_all()
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/nova.py", line 361, in novaclient
  [Thu Oct 24 21:18:43 2013] [error]     (request.user.token.id, base.url_for(request, 'compute')))
  [Thu Oct 24 21:18:43 2013] [error]   File "/opt/stack/new/horizon/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 270, in url_for
  [Thu Oct 24 21:18:43 2013] [error]     raise exceptions.ServiceCatalogException(service_type)
  [Thu Oct 24 21:18:43 2013] [error] ServiceCatalogException: Invalid service catalog service: compute

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