[Openstack] Need your kind help in rectifying the issue related to nova-api

Anne Gentle anne at openstack.org
Fri Oct 10 14:27:11 UTC 2014


Check your filters_path in your nova.conf file. Refer to
http://docs.openstack.org/admin-guide-cloud/content/root-wrap-reference.html
for more information about rootwrap -- something in that configuration
seems to be preventing the nova-api service from being noticed by the
controller.

Anne

On Fri, Oct 10, 2014 at 6:38 AM, Abdul Rauf <rauf.malik at gmail.com> wrote:

> Hi All;
>
> 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 "*nova image-list*". It returns "*ERROR
> (ConnectionError): ('Connection aborted.', error(111, 'Connection
> refused'))*. Here are some outputs, which may help to diagnose the issue:
>
> ------------------------
> root at controller:/home/arauf# *service nova-api restart*
> *stop: Unknown instance:*
> nova-api start/running, process 13206
> ------------------------------------------------------
> root at controller:/home/arauf# *ps -eaf | grep "nova-api"*
> root     13521  1684  0 15:20 pts/1    00:00:00 grep --color=auto nova-api
> ------------------------------------------------------
> root at controller:/home/arauf# *nova-manage service list*
> Binary           Host                                 Zone
> Status     State Updated_At
> nova-cert        controller                           internal
> enabled    :-)   2014-10-09 12:18:57
> nova-consoleauth controller                           internal
> enabled    :-)   2014-10-09 12:19:01
> nova-scheduler   controller                           internal
> enabled    :-)   2014-10-09 12:19:00
> nova-conductor   controller                           internal
> enabled    :-)   2014-10-09 12:18:58
>
> *NOTE: NOVA-API is not enabled*
> --------------------------------------------------------
> *tail -30 /var/log/nova/nova-api.log*
> 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
> 2014-10-10 14:10:49.573 20500 TRACE nova     cmd=' '.join(cmd))
> 2014-10-10 14:10:49.573 20500 TRACE nova ProcessExecutionError: Unexpected
> error while running command.
> 2014-10-10 14:10:49.573 20500 TRACE nova Command: sudo nova-rootwrap
> /etc/nova/rootwrap.conf iptables-save -c
> 2014-10-10 14:10:49.573 20500 TRACE nova Exit code: 1
> 2014-10-10 14:10:49.573 20500 TRACE nova Stdout: ''
> 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'
> 2014-10-10 14:10:49.573 20500 TRACE nova
> 2014-10-10 14:10:49.692 20507 INFO nova.openstack.common.service [-]
> Parent process has died unexpectedly, exiting
> 2014-10-10 14:10:49.692 20509 INFO nova.openstack.common.service [-]
> Parent process has died unexpectedly, exiting
> 2014-10-10 14:10:49.692 20507 INFO nova.wsgi [-] Stopping WSGI server.
> 2014-10-10 14:10:49.693 20507 INFO nova.wsgi [-] WSGI server has stopped.
> 2014-10-10 14:10:49.693 20508 INFO nova.openstack.common.service [-]
> Parent process has died unexpectedly, exiting
> 2014-10-10 14:10:49.692 20506 INFO nova.openstack.common.service [-]
> Parent process has died unexpectedly, exiting
> 2014-10-10 14:10:49.693 20506 INFO nova.wsgi [-] Stopping WSGI server.
> 2014-10-10 14:10:49.694 20508 INFO nova.wsgi [-] Stopping WSGI server.
> 2014-10-10 14:10:49.694 20509 INFO nova.wsgi [-] Stopping WSGI server.
> 2014-10-10 14:10:49.695 20506 INFO nova.wsgi [-] WSGI server has stopped.
> 2014-10-10 14:10:49.696 20508 INFO nova.wsgi [-] WSGI server has stopped.
> 2014-10-10 14:10:49.696 20509 INFO nova.wsgi [-] WSGI server has stopped.
> -------------------------------------
>
> I am looking forward for a positive response.
>
> Thanks and best regards,
> Abdul Rauf
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141010/a695e4fb/attachment.html>


More information about the Openstack mailing list