<div dir="ltr"><div style>Thank you for your response.<br></div><div style><br></div><div style>I just checked the port 8774, it is available. </div><div><i><font size="1">root@cctrl-01:/var/log/nova# lsof -i :8774</font></i></div>
<div><i><font size="1">root@cctrl-01:/var/log/nova# netstat -anp | grep 8774</font></i></div><div><i><font size="1">root@cctrl-01:/var/log/nova# service nova-api status</font></i></div><div><i><font size="1">nova-api stop/waiting</font></i></div>
<div><i><font size="1">root@cctrl-01:/var/log/nova# </font></i></div><div><br></div><div style>If need check more things, please let me know.</div><div style><br></div><div style>Thanks,</div><div style>Sam</div></div><div class="gmail_extra">
<br><br><div class="gmail_quote">On Wed, May 15, 2013 at 10:32 AM, Aaron Rosen <span dir="ltr"><<a href="mailto:arosen@nicira.com" target="_blank">arosen@nicira.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">Looks like something is already binding on 8774 (probably nova-api :)  ) What does  lsof -i :8774 say?  Then see what process is running.<br><br>For example: <br><br>arosen@arosen-desktop:~$ lsof -i :8774<br>

COMMAND   PID   USER   FD   TYPE   DEVICE SIZE/OFF NODE NAME<br>python  13936 arosen    6u  IPv4 32808940      0t0  TCP *:8774 (LISTEN)<br>python  13945 arosen    6u  IPv4 32808940      0t0  TCP *:8774 (LISTEN)<br>python  13946 arosen    6u  IPv4 32808940      0t0  TCP *:8774 (LISTEN)<br>

arosen@arosen-desktop:~$ ps -eaf | grep 13936<br>arosen    4822 14986  0 10:27 pts/62   00:00:00 grep --color=auto 13936<br>arosen   13936 13797  0 May14 pts/68   00:00:00 python bin/nova-api<br>arosen   13944 13936  0 May14 pts/68   00:00:00 python bin/nova-api<br>

arosen   13945 13936  0 May14 pts/68   00:00:00 python bin/nova-api<br>arosen   13946 13936  0 May14 pts/68   00:00:00 python bin/nova-api<br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">
On Wed, May 15, 2013 at 10:24 AM, Sam Su <span dir="ltr"><<a href="mailto:susltd.su@gmail.com" target="_blank">susltd.su@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div>Hi,</div><div><br></div><div>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.</div>


<div>Control node: nova-api, nova-scheduler, nova-consoleauth, nova-novncproxy, nova-conductor, rabbitmq, quantum-server, keystone, horizon, glance</div><div>Database node: mysql<br></div><div><br></div>
<div>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?</div><div><br></div><div>
Any help is appreciated.<br></div><div><br></div><div><br></div><div>>>> From /etc/log/nova/nova-api.log</div><div><div><i><font size="1">2013-05-15 09:53:53.920 7233 INFO nova.network.driver [-] Loading network driver 'nova.network.linux_net'</font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.922 7239 INFO nova.osapi_compute.wsgi.server [-] (7239) wsgi starting up on <a href="http://0.0.0.0:8774/" target="_blank">http://0.0.0.0:8774/</a></font></i></div><div><i><font size="1">2013-05-15 09:53:53.928 7233 CRITICAL nova [-] [Errno 99] Cannot assign requested address</font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova Traceback (most recent call last):</font></i></div><div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova   File "/usr/bin/nova-api", line 61, in <module></font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova     server = service.WSGIService(api, use_ssl=should_use_ssl)</font></i></div><div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/service.py", line 608, in __init__</font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova     max_url_len=max_url_len)</font></i></div><div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova   File "/usr/lib/python2.7/dist-packages/nova/wsgi.py", line 120, in __init__</font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova     self._socket = eventlet.listen(bind_addr, family, backlog=backlog)</font></i></div><div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova   File "/usr/lib/python2.7/dist-packages/eventlet/convenience.py", line 38, in listen</font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova     sock.bind(addr)</font></i></div><div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova   File "/usr/lib/python2.7/socket.py", line 224, in meth</font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova     return getattr(self._sock,name)(*args)</font></i></div><div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova error: [Errno 99] Cannot assign requested address</font></i></div>


<div><i><font size="1">2013-05-15 09:53:53.928 7233 TRACE nova </font></i></div><div><i><font size="1">2013-05-15 09:53:54.023 7239 INFO nova.service [-] Parent process has died unexpectedly, exiting</font></i></div><div>


<i><font size="1">2013-05-15 09:53:54.023 7238 INFO nova.service [-] Parent process has died unexpectedly, exiting</font></i></div><div><i><font size="1">2013-05-15 09:53:54.024 7238 INFO nova.wsgi [-] Stopping WSGI server.</font></i></div>


<div><i><font size="1">2013-05-15 09:53:54.024 7239 INFO nova.wsgi [-] Stopping WSGI server.</font></i></div></div><div><br></div><div>I also post my nova-api.log file and nova.conf file at <a href="http://pastebin.com" target="_blank">pastebin.com</a>, here are the links:</div>


nova-api.log    <a href="http://pastebin.com/24a7ucy1" target="_blank">http://pastebin.com/24a7ucy1</a><br><div>nova.conf       <a href="http://pastebin.com/wnZAr0Ga" target="_blank">http://pastebin.com/wnZAr0Ga</a></div>

<div><br></div><div>
Thanks,</div><div>Sam</div><div><br></div></div>
<br></div></div>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>