<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">Hi-<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have got the following error in apache error logs while I try to bring up a new instance.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have followed Openstack Havana for Ubuntu 12.04 LTS installation manual from docs.openstack.org.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I’m going with single node (both controller and compute node on a single machine) installation.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] Problem instantiating action class.<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 376, in action<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 141, in __init__<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] self._populate_choices(request, context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 154, in _populate_choices<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] bound_field.choices = meth(request, context)<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] _('Unable to retrieve networks.'))<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] networks = api.neutron.network_list_for_tenant(request, tenant_id)<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] shared=False, **params)<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] networks = neutronclient(request).list_networks(**params).get('networks')<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] % (request.user.token.id, base.url_for(request, 'network')))<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] raise exceptions.ServiceCatalogException(service_type)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] ServiceCatalogException: Invalid service catalog service: network<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] Internal Server Error: /horizon/project/instances/launch<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] response = response.render()<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 105, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] self.content = self.rendered_content<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/response.py", line 82, in rendered_content<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] content = template.render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 140, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] return self._render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 134, in _render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] return self.nodelist.render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] bit = self.render_node(node, context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in render_node<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] return node.render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 485, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] output = self.nodelist.render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] bit = self.render_node(node, context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in render_node<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] return node.render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/loader_tags.py", line 54, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] result = self.nodelist.render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 830, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] bit = self.render_node(node, context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 844, in render_node<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] return node.render(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 196, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] nodelist.append(node.render(context))<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 278, in render<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] match = condition.eval(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/defaulttags.py", line 830, in eval<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] return self.value.resolve(context, ignore_failures=True)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 578, in resolve<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] obj = self.var.resolve(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 728, in resolve<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] value = self._resolve_lookup(context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/django/template/base.py", line 779, in _resolve_lookup<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] current = current()<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] field = self.action.fields.get(key, None)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 376, in action<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 141, in __init__<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] self._populate_choices(request, context)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] File "/usr/lib/python2.7/dist-packages/horizon/workflows/base.py", line 154, in _populate_choices<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] bound_field.choices = meth(request, context)<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] _('Unable to retrieve networks.'))<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] networks = api.neutron.network_list_for_tenant(request, tenant_id)<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] shared=False, **params)<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] networks = neutronclient(request).list_networks(**params).get('networks')<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] % (request.user.token.id, base.url_for(request, 'network')))<o:p></o:p></p>
<p class="MsoNormal">[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<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] raise exceptions.ServiceCatalogException(service_type)<o:p></o:p></p>
<p class="MsoNormal">[Tue Oct 29 11:17:20 2013] [error] ServiceCatalogException: Invalid service catalog service: network<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">When I query Keystone for service lists, I have the response below<o:p></o:p></p>
<p class="MsoNormal"><span style="font-family:Consolas">root@havana:~# keystone service-list<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">+----------------------------------+------------+------------------+------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| id | name | type | description |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">+----------------------------------+------------+------------------+------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 47c50821002042efab088e47f7d682d0 | ceilometer | metering | Ceilometer Metering Service |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 8c1601861fff43bf9f62f147437d564e | cinder | volume | Cinder Volume Service |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 3504407c50c44acf80b9fe922f401db1 | glance | image | Glance Image Service |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 0c689422d61e4972bc9143946bcf68ba | heat | orchestration | Heat Orchestration API |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 91ef5e1e7e4e4112b8fb211fbb8df8d3 | heat-cfn | cloudinformation | Heat CloudFormation API |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 448433c343194d5d97f063c8310376ed | keystone | identity | Keystone Identity Service |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 3e2b7390efe3470fb8f611fdd8508058 | neutron | network | Openstack Networking Service |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">| 37753779072d4e448e34d4d5f63de228 | nova | compute | Nova Compute Service |<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-family:Consolas">+----------------------------------+------------+------------------+------------------------------+<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Is there any thing I was missing in my installation and/or configuration.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Kindly help me resolve the issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">--<o:p></o:p></p>
<p class="MsoNormal">Trinath Somanchi - B39208<o:p></o:p></p>
<p class="MsoNormal"><span style="color:#548DD4"><a href="mailto:trinath.somanchi@freescale.com">trinath.somanchi@freescale.com</a></span> | extn: 4048<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>