← Back to team overview

openstack team mailing list archive

Re: Cannot start nova-api service

 

Looks like something is already binding on 8774 (probably nova-api :)  )
What does  lsof -i :8774 say?  Then see what process is running.

For example:

arosen@arosen-desktop:~$ lsof -i :8774
COMMAND   PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME
python  13936 arosen    6u  IPv4 32808940      0t0  TCP *:8774 (LISTEN)
python  13945 arosen    6u  IPv4 32808940      0t0  TCP *:8774 (LISTEN)
python  13946 arosen    6u  IPv4 32808940      0t0  TCP *:8774 (LISTEN)
arosen@arosen-desktop:~$ ps -eaf | grep 13936
arosen    4822 14986  0 10:27 pts/62   00:00:00 grep --color=auto 13936
arosen   13936 13797  0 May14 pts/68   00:00:00 python bin/nova-api
arosen   13944 13936  0 May14 pts/68   00:00:00 python bin/nova-api
arosen   13945 13936  0 May14 pts/68   00:00:00 python bin/nova-api
arosen   13946 13936  0 May14 pts/68   00:00:00 python bin/nova-api



On Wed, May 15, 2013 at 10:24 AM, Sam Su <susltd.su@xxxxxxxxx> wrote:

> Hi,
>
> I installed an Openstack Grizzly cluster based on Ubuntu 12.04, there are
> 1 control node, 1 database node, 1 quantum network node and 1 compute node,
> I list all installed services at the control node and the database node.
> Control node: nova-api, nova-scheduler, nova-consoleauth, nova-novncproxy,
> nova-conductor, rabbitmq, quantum-server, keystone, horizon, glance
> Database node: mysql
>
> All of the nova services are running, however, nova-api is not running.
> When I manually start nova-api service, I will get an error as below. Can
> someone give me some advises?
>
> Any help is appreciated.
>
>
> >>> From /etc/log/nova/nova-api.log
> *2013-05-15 09:53:53.920 7233 INFO nova.network.driver [-] Loading
> network driver 'nova.network.linux_net'*
> *2013-05-15 09:53:53.922 7239 INFO nova.osapi_compute.wsgi.server [-]
> (7239) wsgi starting up on http://0.0.0.0:8774/*
> *2013-05-15 09:53:53.928 7233 CRITICAL nova [-] [Errno 99] Cannot assign
> requested address*
> *2013-05-15 09:53:53.928 7233 TRACE nova Traceback (most recent call
> last):*
> *2013-05-15 09:53:53.928 7233 TRACE nova   File "/usr/bin/nova-api", line
> 61, in <module>*
> *2013-05-15 09:53:53.928 7233 TRACE nova     server =
> service.WSGIService(api, use_ssl=should_use_ssl)*
> *2013-05-15 09:53:53.928 7233 TRACE nova   File
> "/usr/lib/python2.7/dist-packages/nova/service.py", line 608, in __init__*
> *2013-05-15 09:53:53.928 7233 TRACE nova     max_url_len=max_url_len)*
> *2013-05-15 09:53:53.928 7233 TRACE nova   File
> "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 120, in __init__*
> *2013-05-15 09:53:53.928 7233 TRACE nova     self._socket =
> eventlet.listen(bind_addr, family, backlog=backlog)*
> *2013-05-15 09:53:53.928 7233 TRACE nova   File
> "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in
> listen*
> *2013-05-15 09:53:53.928 7233 TRACE nova     sock.bind(addr)*
> *2013-05-15 09:53:53.928 7233 TRACE nova   File
> "/usr/lib/python2.7/socket.py", line 224, in meth*
> *2013-05-15 09:53:53.928 7233 TRACE nova     return
> getattr(self._sock,name)(*args)*
> *2013-05-15 09:53:53.928 7233 TRACE nova error: [Errno 99] Cannot assign
> requested address*
> *2013-05-15 09:53:53.928 7233 TRACE nova *
> *2013-05-15 09:53:54.023 7239 INFO nova.service [-] Parent process has
> died unexpectedly, exiting*
> *2013-05-15 09:53:54.023 7238 INFO nova.service [-] Parent process has
> died unexpectedly, exiting*
> *2013-05-15 09:53:54.024 7238 INFO nova.wsgi [-] Stopping WSGI server.*
> *2013-05-15 09:53:54.024 7239 INFO nova.wsgi [-] Stopping WSGI server.*
>
> I also post my nova-api.log file and nova.conf file at pastebin.com, here
> are the links:
> nova-api.log    http://pastebin.com/24a7ucy1
> nova.conf       http://pastebin.com/wnZAr0Ga
>
> Thanks,
> Sam
>
>
> _______________________________________________
> 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