← Back to team overview

openstack team mailing list archive

Re: 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@xxxxxxxxxx> 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@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References