← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1368599] [NEW] instance create failed due to the deffirence services between regions

 

Public bug reported:

region 1 deploys nova(includes nova-network) and glance service.  
region 2 deploys nova, neutron and glance service.
keystone is shared by region 1 and region 2

However, instance creation failed when switches to region 1 in the dashboard.
[Fri Sep 12 03:35:10 2014] [error] Internal Server Error: /dashboard/project/instances/launch
[Fri Sep 12 03:35:10 2014] [error] Traceback (most recent call last):
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 134, in get_response
[Fri Sep 12 03:35:10 2014] [error]     response = response.render()
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/response.py", line 104, in render
[Fri Sep 12 03:35:10 2014] [error]     self._set_content(self.rendered_content)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/response.py", line 81, in rendered_content
[Fri Sep 12 03:35:10 2014] [error]     content = template.render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in render
[Fri Sep 12 03:35:10 2014] [error]     return self._render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
[Fri Sep 12 03:35:10 2014] [error]     return self.nodelist.render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
[Fri Sep 12 03:35:10 2014] [error]     bit = self.render_node(node, context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 74, in render_node
[Fri Sep 12 03:35:10 2014] [error]     return node.render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 478, in render
[Fri Sep 12 03:35:10 2014] [error]     output = self.nodelist.render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
[Fri Sep 12 03:35:10 2014] [error]     bit = self.render_node(node, context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 74, in render_node
[Fri Sep 12 03:35:10 2014] [error]     return node.render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 53, in render
[Fri Sep 12 03:35:10 2014] [error]     result = self.nodelist.render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 74, in render_node
[Fri Sep 12 03:35:10 2014] [error]     return node.render(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 186, in render
[Fri Sep 12 03:35:10 2014] [error]     nodelist.append(node.render(context))
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 275, in render
[Fri Sep 12 03:35:10 2014] [error]     match = condition.eval(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 825, in eval
[Fri Sep 12 03:35:10 2014] [error]     return self.value.resolve(context, ignore_failures=True)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 571, in resolve
[Fri Sep 12 03:35:10 2014] [error]     obj = self.var.resolve(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 721, in resolve
[Fri Sep 12 03:35:10 2014] [error]     value = self._resolve_lookup(context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 772, in _resolve_lookup
[Fri Sep 12 03:35:10 2014] [error]     current = current()
[Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 454, in has_required_fields
[Fri Sep 12 03:35:10 2014] [error]     field = self.action.fields.get(key, None)
[Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 376, in action
[Fri Sep 12 03:35:10 2014] [error]     context)
[Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 141, in __init__
[Fri Sep 12 03:35:10 2014] [error]     self._populate_choices(request, context)
[Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 154, in _populate_choices
[Fri Sep 12 03:35:10 2014] [error]     bound_field.choices = meth(request, context)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py", line 510, in populate_network_choices
[Fri Sep 12 03:35:10 2014] [error]     _('Unable to retrieve networks.'))
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py", line 503, in populate_network_choices
[Fri Sep 12 03:35:10 2014] [error]     networks = api.neutron.network_list_for_tenant(request, tenant_id)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 456, in network_list_for_tenant
[Fri Sep 12 03:35:10 2014] [error]     shared=False, **params)
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 434, in network_list
[Fri Sep 12 03:35:10 2014] [error]     networks = neutronclient(request).list_networks(**params).get('networks')
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 423, in neutronclient
[Fri Sep 12 03:35:10 2014] [error]     % (request.user.token.id, base.url_for(request, 'network')))
[Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 268, in url_for
[Fri Sep 12 03:35:10 2014] [error]     raise exceptions.ServiceCatalogException(service_type)
[Fri Sep 12 03:35:10 2014] [error] ServiceCatalogException: Invalid service catalog service: network

** Affects: horizon
     Importance: Undecided
         Status: New

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

Title:
  instance create failed due to the deffirence services between regions

Status in OpenStack Dashboard (Horizon):
  New

Bug description:
  region 1 deploys nova(includes nova-network) and glance service.  
  region 2 deploys nova, neutron and glance service.
  keystone is shared by region 1 and region 2

  However, instance creation failed when switches to region 1 in the dashboard.
  [Fri Sep 12 03:35:10 2014] [error] Internal Server Error: /dashboard/project/instances/launch
  [Fri Sep 12 03:35:10 2014] [error] Traceback (most recent call last):
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/core/handlers/base.py", line 134, in get_response
  [Fri Sep 12 03:35:10 2014] [error]     response = response.render()
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/response.py", line 104, in render
  [Fri Sep 12 03:35:10 2014] [error]     self._set_content(self.rendered_content)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/response.py", line 81, in rendered_content
  [Fri Sep 12 03:35:10 2014] [error]     content = template.render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 140, in render
  [Fri Sep 12 03:35:10 2014] [error]     return self._render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 134, in _render
  [Fri Sep 12 03:35:10 2014] [error]     return self.nodelist.render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
  [Fri Sep 12 03:35:10 2014] [error]     bit = self.render_node(node, context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 74, in render_node
  [Fri Sep 12 03:35:10 2014] [error]     return node.render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 478, in render
  [Fri Sep 12 03:35:10 2014] [error]     output = self.nodelist.render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 823, in render
  [Fri Sep 12 03:35:10 2014] [error]     bit = self.render_node(node, context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 74, in render_node
  [Fri Sep 12 03:35:10 2014] [error]     return node.render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/loader_tags.py", line 53, in render
  [Fri Sep 12 03:35:10 2014] [error]     result = self.nodelist.render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/debug.py", line 74, in render_node
  [Fri Sep 12 03:35:10 2014] [error]     return node.render(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 186, in render
  [Fri Sep 12 03:35:10 2014] [error]     nodelist.append(node.render(context))
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 275, in render
  [Fri Sep 12 03:35:10 2014] [error]     match = condition.eval(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/defaulttags.py", line 825, in eval
  [Fri Sep 12 03:35:10 2014] [error]     return self.value.resolve(context, ignore_failures=True)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 571, in resolve
  [Fri Sep 12 03:35:10 2014] [error]     obj = self.var.resolve(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 721, in resolve
  [Fri Sep 12 03:35:10 2014] [error]     value = self._resolve_lookup(context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/lib/python2.6/site-packages/django/template/base.py", line 772, in _resolve_lookup
  [Fri Sep 12 03:35:10 2014] [error]     current = current()
  [Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 454, in has_required_fields
  [Fri Sep 12 03:35:10 2014] [error]     field = self.action.fields.get(key, None)
  [Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 376, in action
  [Fri Sep 12 03:35:10 2014] [error]     context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 141, in __init__
  [Fri Sep 12 03:35:10 2014] [error]     self._populate_choices(request, context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/opt/stack/horizon/horizon/workflows/base.py", line 154, in _populate_choices
  [Fri Sep 12 03:35:10 2014] [error]     bound_field.choices = meth(request, context)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py", line 510, in populate_network_choices
  [Fri Sep 12 03:35:10 2014] [error]     _('Unable to retrieve networks.'))
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py", line 503, in populate_network_choices
  [Fri Sep 12 03:35:10 2014] [error]     networks = api.neutron.network_list_for_tenant(request, tenant_id)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 456, in network_list_for_tenant
  [Fri Sep 12 03:35:10 2014] [error]     shared=False, **params)
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 434, in network_list
  [Fri Sep 12 03:35:10 2014] [error]     networks = neutronclient(request).list_networks(**params).get('networks')
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py", line 423, in neutronclient
  [Fri Sep 12 03:35:10 2014] [error]     % (request.user.token.id, base.url_for(request, 'network')))
  [Fri Sep 12 03:35:10 2014] [error]   File "/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py", line 268, in url_for
  [Fri Sep 12 03:35:10 2014] [error]     raise exceptions.ServiceCatalogException(service_type)
  [Fri Sep 12 03:35:10 2014] [error] ServiceCatalogException: Invalid service catalog service: network

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


Follow ups

References