Hi-

I have got the following error in apache error logs while I try to bring up a 
new instance.

I have followed Openstack Havana for Ubuntu 12.04 LTS installation manual from 
docs.openstack.org.

I'm going with single node (both controller and compute node on a single 
machine) installation.


[Tue Oct 29 11:17:20 2013] [error] Problem instantiating action class.
[Tue Oct 29 11:17:20 2013] [error] Traceback (most recent call last):
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 376, in 
action
[Tue Oct 29 11:17:20 2013] [error]     context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 141, in 
__init__
[Tue Oct 29 11:17:20 2013] [error]     self._populate_choices(request, context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 154, in 
_populate_choices
[Tue Oct 29 11:17:20 2013] [error]     bound_field.choices = meth(request, 
context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py",
 line 510, in populate_network_choices
[Tue Oct 29 11:17:20 2013] [error]     _('Unable to retrieve networks.'))
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py",
 line 503, in populate_network_choices
[Tue Oct 29 11:17:20 2013] [error]     networks = 
api.neutron.network_list_for_tenant(request, tenant_id)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py",
 line 456, in network_list_for_tenant
[Tue Oct 29 11:17:20 2013] [error]     shared=False, **params)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py",
 line 434, in network_list
[Tue Oct 29 11:17:20 2013] [error]     networks = 
neutronclient(request).list_networks(**params).get('networks')
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py",
 line 423, in neutronclient
[Tue Oct 29 11:17:20 2013] [error]     % (request.user.token.id, 
base.url_for(request, 'network')))
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py",
 line 268, in url_for
[Tue Oct 29 11:17:20 2013] [error]     raise 
exceptions.ServiceCatalogException(service_type)
[Tue Oct 29 11:17:20 2013] [error] ServiceCatalogException: Invalid service 
catalog service: network
[Tue Oct 29 11:17:20 2013] [error] Internal Server Error: 
/horizon/project/instances/launch
[Tue Oct 29 11:17:20 2013] [error] Traceback (most recent call last):
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/core/handlers/base.py", line 140, in 
get_response
[Tue Oct 29 11:17:20 2013] [error]     response = response.render()
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/response.py", line 105, in 
render
[Tue Oct 29 11:17:20 2013] [error]     self.content = self.rendered_content
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/response.py", line 82, in 
rendered_content
[Tue Oct 29 11:17:20 2013] [error]     content = template.render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render
[Tue Oct 29 11:17:20 2013] [error]     return self._render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render
[Tue Oct 29 11:17:20 2013] [error]     return self.nodelist.render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render
[Tue Oct 29 11:17:20 2013] [error]     bit = self.render_node(node, context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in 
render_node
[Tue Oct 29 11:17:20 2013] [error]     return node.render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 485, in 
render
[Tue Oct 29 11:17:20 2013] [error]     output = self.nodelist.render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render
[Tue Oct 29 11:17:20 2013] [error]     bit = self.render_node(node, context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in 
render_node
[Tue Oct 29 11:17:20 2013] [error]     return node.render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 54, in 
render
[Tue Oct 29 11:17:20 2013] [error]     result = self.nodelist.render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render
[Tue Oct 29 11:17:20 2013] [error]     bit = self.render_node(node, context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in 
render_node
[Tue Oct 29 11:17:20 2013] [error]     return node.render(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 196, in 
render
[Tue Oct 29 11:17:20 2013] [error]     nodelist.append(node.render(context))
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 278, in 
render
[Tue Oct 29 11:17:20 2013] [error]     match = condition.eval(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 830, in 
eval
[Tue Oct 29 11:17:20 2013] [error]     return self.value.resolve(context, 
ignore_failures=True)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 578, in resolve
[Tue Oct 29 11:17:20 2013] [error]     obj = self.var.resolve(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 728, in resolve
[Tue Oct 29 11:17:20 2013] [error]     value = self._resolve_lookup(context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/django/template/base.py", line 779, in 
_resolve_lookup
[Tue Oct 29 11:17:20 2013] [error]     current = current()
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 454, in 
has_required_fields
[Tue Oct 29 11:17:20 2013] [error]     field = self.action.fields.get(key, None)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 376, in 
action
[Tue Oct 29 11:17:20 2013] [error]     context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 141, in 
__init__
[Tue Oct 29 11:17:20 2013] [error]     self._populate_choices(request, context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 154, in 
_populate_choices
[Tue Oct 29 11:17:20 2013] [error]     bound_field.choices = meth(request, 
context)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py",
 line 510, in populate_network_choices
[Tue Oct 29 11:17:20 2013] [error]     _('Unable to retrieve networks.'))
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/dashboards/project/instances/workflows/create_instance.py",
 line 503, in populate_network_choices
[Tue Oct 29 11:17:20 2013] [error]     networks = 
api.neutron.network_list_for_tenant(request, tenant_id)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py",
 line 456, in network_list_for_tenant
[Tue Oct 29 11:17:20 2013] [error]     shared=False, **params)
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py",
 line 434, in network_list
[Tue Oct 29 11:17:20 2013] [error]     networks = 
neutronclient(request).list_networks(**params).get('networks')
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/neutron.py",
 line 423, in neutronclient
[Tue Oct 29 11:17:20 2013] [error]     % (request.user.token.id, 
base.url_for(request, 'network')))
[Tue Oct 29 11:17:20 2013] [error]   File 
"/usr/share/openstack-dashboard/openstack_dashboard/wsgi/../../openstack_dashboard/api/base.py",
 line 268, in url_for
[Tue Oct 29 11:17:20 2013] [error]     raise 
exceptions.ServiceCatalogException(service_type)
[Tue Oct 29 11:17:20 2013] [error] ServiceCatalogException: Invalid service 
catalog service: network


When I query Keystone for service lists, I have the response below

root@havana:~# keystone service-list
+----------------------------------+------------+------------------+------------------------------+
|                id                |    name    |       type       |         
description          |
+----------------------------------+------------+------------------+------------------------------+
| 47c50821002042efab088e47f7d682d0 | ceilometer |     metering     | Ceilometer 
Metering Service  |
| 8c1601861fff43bf9f62f147437d564e |   cinder   |      volume      |    Cinder 
Volume Service     |
| 3504407c50c44acf80b9fe922f401db1 |   glance   |      image       |     Glance 
Image Service     |
| 0c689422d61e4972bc9143946bcf68ba |    heat    |  orchestration   |    Heat 
Orchestration API    |
| 91ef5e1e7e4e4112b8fb211fbb8df8d3 |  heat-cfn  | cloudinformation |   Heat 
CloudFormation API    |
| 448433c343194d5d97f063c8310376ed |  keystone  |     identity     |  Keystone 
Identity Service   |
| 3e2b7390efe3470fb8f611fdd8508058 |  neutron   |     network      | Openstack 
Networking Service |
| 37753779072d4e448e34d4d5f63de228 |    nova    |     compute      |     Nova 
Compute Service     |
+----------------------------------+------------+------------------+------------------------------+

Is there any thing I was missing in my installation and/or configuration.

Kindly help me resolve the issue.



--
Trinath Somanchi - B39208
trinath.soman...@freescale.com | extn: 4048

_______________________________________________
Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
Post to     : openstack@lists.openstack.org
Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack

Reply via email to