<div dir="ltr">Check your filters_path in your nova.conf file. Refer to <div><a href="http://docs.openstack.org/admin-guide-cloud/content/root-wrap-reference.html">http://docs.openstack.org/admin-guide-cloud/content/root-wrap-reference.html</a><br></div><div>for more information about rootwrap -- something in that configuration seems to be preventing the nova-api service from being noticed by the controller.</div><div><br></div><div>Anne</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Oct 10, 2014 at 6:38 AM, Abdul Rauf <span dir="ltr"><<a href="mailto:rauf.malik@gmail.com" target="_blank">rauf.malik@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi All;<br><br>I have installed keystone, glance and nova compute services on controller node as instructed in OpenStack Installation Guide for Ubuntu 12.04/14.04 (LTS). I have to still configure the compute node separately. When I restart the services as directed on page 45
of the manual, nova-api is not starting. Further when I use the command "<b>nova image-list</b>". It returns "<b>ERROR (ConnectionError): ('Connection aborted.', error(111, 'Connection refused'))</b>. Here are some outputs, which
may help to diagnose the issue:<br><br><div>------------------------<br>root@controller:/home/arauf# <b>service nova-api restart</b><br><span style="color:rgb(255,0,0)"><b>stop: Unknown instance:</b></span><br>nova-api start/running, process 13206<br>------------------------------------------------------<br>root@controller:/home/arauf# <b>ps -eaf | grep "nova-api"</b><br>root 13521 1684 0 15:20 pts/1 00:00:00 grep --color=auto nova-api<br>------------------------------------------------------<br>root@controller:/home/arauf# <b>nova-manage service list</b><br>Binary Host Zone Status State Updated_At<br>nova-cert controller internal enabled :-) 2014-10-09 12:18:57<br>nova-consoleauth controller internal enabled :-) 2014-10-09 12:19:01<br>nova-scheduler controller internal enabled :-) 2014-10-09 12:19:00<br>nova-conductor controller internal enabled :-) 2014-10-09 12:18:58<br><br></div><span style="color:rgb(255,0,0)"><b>NOTE: NOVA-API is not enabled</b></span><br><div>--------------------------------------------------------<br><b>tail -30 /var/log/nova/nova-api.log</b><br>014-10-10 14:10:49.573 20500 TRACE nova File "/usr/lib/python2.7/dist-packages/nova/openstack/common/processutils.py", line 193, in execute<br>2014-10-10 14:10:49.573 20500 TRACE nova cmd=' '.join(cmd))<br><span style="color:rgb(255,0,0)">2014-10-10 14:10:49.573 20500 TRACE nova ProcessExecutionError: Unexpected error while running command</span>.<br>2014-10-10 14:10:49.573 20500 TRACE nova Command: sudo nova-rootwrap /etc/nova/rootwrap.conf iptables-save -c<br>2014-10-10 14:10:49.573 20500 TRACE nova Exit code: 1<br>2014-10-10 14:10:49.573 20500 TRACE nova Stdout: ''<br><span style="color:rgb(255,0,0)">2014-10-10 14:10:49.573 20500 TRACE nova Stderr: 'Traceback (most recent call last):\n File "/usr/bin/nova-rootwrap", line 6, in <module>\n from oslo.rootwrap.cmd import main\nImportError: No module named rootwrap.cmd\n'</span><br>2014-10-10 14:10:49.573 20500 TRACE nova<br>2014-10-10 14:10:49.692 20507 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting<br>2014-10-10 14:10:49.692 20509 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting<br>2014-10-10 14:10:49.692 20507 INFO nova.wsgi [-] Stopping WSGI server.<br>2014-10-10 14:10:49.693 20507 INFO nova.wsgi [-] WSGI server has stopped.<br>2014-10-10 14:10:49.693 20508 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting<br>2014-10-10 14:10:49.692 20506 INFO nova.openstack.common.service [-] Parent process has died unexpectedly, exiting<br>2014-10-10 14:10:49.693 20506 INFO nova.wsgi [-] Stopping WSGI server.<br>2014-10-10 14:10:49.694 20508 INFO nova.wsgi [-] Stopping WSGI server.<br>2014-10-10 14:10:49.694 20509 INFO nova.wsgi [-] Stopping WSGI server.<br>2014-10-10 14:10:49.695 20506 INFO nova.wsgi [-] WSGI server has stopped.<br>2014-10-10 14:10:49.696 20508 INFO nova.wsgi [-] WSGI server has stopped.<br>2014-10-10 14:10:49.696 20509 INFO nova.wsgi [-] WSGI server has stopped.<br>-------------------------------------<br><br></div><div>I am looking forward for a positive response. <br><br></div><div>Thanks and best regards,<br></div>Abdul Rauf</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>