[Openstack] Cannot start "nova-api" service

Ahmed Al-Mehdi ahmed at coraid.com
Fri Nov 9 03:01:08 UTC 2012


Vish,

I am running cinder-api.   The following two lines are present in nova.conf.

volume_api_class=nova.volume.cinder.API
enabled_apis=ec2,osapi_compute,metadata

Do I need to re-sync the db, or add any additional lines to nova.conf?

Thank you,
Ahmed.



From: Vishvananda Ishaya <vishvananda at gmail.com<mailto:vishvananda at gmail.com>>
Date: Thursday, November 8, 2012 6:34 PM
To: Ahmed Al-Mehdi <ahmed at coraid.com<mailto:ahmed at coraid.com>>
Cc: "openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>" <openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>>
Subject: Re: [Openstack] Cannot start "nova-api" service

Are you running cinder-api? If so you have to disable the nova-volume api:

http://wiki.openstack.org/MigrateToCinder

Vish

On Nov 8, 2012, at 4:12 PM, Ahmed Al-Mehdi <ahmed at coraid.com<mailto:ahmed at coraid.com>> wrote:

Hello,

I installed the nova-* services per the instruction at http://docs.openstack.org/trunk/openstack-compute/install/apt/content/installing-the-cloud-controller.html  All of the nova services are running, however, nova-api is not running.  When I manually start nova-api, I am getting an error.  Can some one please help me understand why.  I need nova-api to work before I move forward with my setup, as per my understanding.

>From /var/log/nova/nova-api.log:

……
(Lost of messages from nova.api.openstack.extenstions)
2012-11-08 16:05:08 DEBUG nova.api.openstack [-] Extended resource: extensions from (pid=2348) _setup_ext_routes /usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py:135
2012-11-08 16:05:08 DEBUG nova.api.openstack [-] Extended resource: extra_specs from (pid=2348) _setup_ext_routes /usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py:135
2012-11-08 16:05:08 DEBUG nova.api.openstack [-] Extension AdminActions extending resource: volumes from (pid=2348) _setup_extensions /usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py:171
2012-11-08 16:05:08 DEBUG nova.api.openstack [-] Extension AdminActions extending resource: snapshots from (pid=2348) _setup_extensions /usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py:171
2012-11-08 16:05:08 DEBUG nova.api.openstack [-] Extension TypesManage extending resource: types from (pid=2348) _setup_extensions /usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py:171
2012-11-08 16:05:08 DEBUG nova.api.openstack [-] Extension VolumeActions extending resource: volumes from (pid=2348) _setup_extensions /usr/lib/python2.7/dist-packages/nova/api/openstack/__init__.py:171
2012-11-08 16:05:08 INFO keystone.middleware.auth_token [-] Starting keystone auth_token middleware
2012-11-08 16:05:08 INFO keystone.middleware.auth_token [-] Using /var/lib/nova/keystone-signing as cache directory for signing certificate
2012-11-08 16:05:08 CRITICAL nova [-] [Errno 98] Address already in use
2012-11-08 16:05:08 TRACE nova Traceback (most recent call last):
2012-11-08 16:05:08 TRACE nova   File "/usr/bin/nova-api", line 50, in <module>
2012-11-08 16:05:08 TRACE nova     server = service.WSGIService(api)
2012-11-08 16:05:08 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 584, in __init__
2012-11-08 16:05:08 TRACE nova     port=self.port)
2012-11-08 16:05:08 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 72, in __init__
2012-11-08 16:05:08 TRACE nova     self._socket = eventlet.listen((host, port), backlog=backlog)
2012-11-08 16:05:08 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen
2012-11-08 16:05:08 TRACE nova     sock.bind(addr)
2012-11-08 16:05:08 TRACE nova   File "/usr/lib/python2.7/socket.py", line 224, in meth
2012-11-08 16:05:08 TRACE nova     return getattr(self._sock,name)(*args)
2012-11-08 16:05:08 TRACE nova error: [Errno 98] Address already in use
2012-11-08 16:05:08 TRACE nova
2012-11-08 16:05:08 INFO nova.service [-] Parent process has died unexpectedly, exiting
2012-11-08 16:05:08 INFO nova.service [-] Parent process has died unexpectedly, exiting
2012-11-08 16:05:08 INFO nova.wsgi [-] Stopping WSGI server.
2012-11-08 16:05:08 INFO nova.wsgi [-] Stopping WSGI server.

Thank you,
Ahmed.

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : openstack at lists.launchpad.net<mailto:openstack at lists.launchpad.net>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20121108/c9693ebb/attachment.html>


More information about the Openstack mailing list