You should give us /var/log/nova/{nova-api,nova-compute,nova-network}.log. But please, use <a href="http://paste.openstack.org/">http://paste.openstack.org/</a>, dont fill the email with logs entry. Also paste /etc/nova/nova.conf and /etc/nova/api-paste.ini<br>

<br>Check the user and permissions of /etc/nova<br><br>and my last shot in the dark: flush the nova db and restart all services<br><br>$ mysql -uroot -p'MYSQLPASSWD' -e 'drop database nova;'<br>$ mysql -uroot -p'MYSQLPASSWD' -e 'create database nova;'<br>

$ nova-manage db sync<br>$ for a in libvirt-bin nova-network nova-compute nova-api nova-objectstore nova-scheduler nova-volume nova-consoleauth nova-cert; do service $a restart; done<br><br><br><div class="gmail_quote">On Sat, Sep 29, 2012 at 7:56 AM, Ahmed Al-Mehdi <span dir="ltr"><<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">




<div>
<div style="direction:ltr;font-size:x-small;font-family:Tahoma">
<div>Hi Trinath<a></a>,</div>
<div>
<div style="direction:ltr;font-size:x-small;font-family:Tahoma">
<div> </div>
<div>Thank you for your suggestion.  Even though I am leery of "reboot pc and try again" approach, I did give it a try. 
</div>
<div> </div>
<div>After reboot (prior to starting any services, not even mysql<a></a>), I am seeing more odd behavior.</div>
<div> - Only nova-scheduler service is listed with an XXX status.  I understand why the XXX, but why is the other nova services not listed or for that matter why is nova-scheduler list even though I have not started it?</div>


<div>
<div>        <a href="mailto:root@sonoma:/etc" target="_blank">root@sonoma</a><a></a><a href="mailto:root@sonoma:/etc" target="_blank">:/etc</a># who -r<br>
                run-level 2 2012-09-29 02:57<br>
        <a href="mailto:root@sonoma:/etc" target="_blank">root@sonoma</a><a></a><a href="mailto:root@sonoma:/etc" target="_blank">:/etc</a># ls<a></a> -l /etc/rc2.d<a></a>/*nova*<br>
                 ls<a></a>: cannot access /etc/rc2.d<a></a>/*nova*: No such file or directory</div>
 - After starting mysql<a></a>,  nova-scheduler is still listed with a XXX, but now nova-consoleauth<a></a> (which I did not start) is listed with a :), and no other nova-services are not listed.</div>
<div> - After I start nova-scheduler, I see a :) for it.</div>
<div><font face="tahoma"> - I started nova-api<a></a>, and nova-network, but I don't<a></a> see them listed.</font></div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma"></font> </div>
<div><a></a><a href="mailto:root@sonoma" target="_blank">root@sonoma</a>:~# nova-manage service list<br>
2012-09-29 02:57:30 DEBUG nova.utils<a></a> [req<a></a>-7fafe814<a></a>-a2ba<a></a>-4862-84b5<a></a>-e3eddaf838c8<a></a> None None<a></a>] backend <module 'nova.db.sqlalchemy.api<a></a>' from '/usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/db/sqlalc<a></a><br>


rom<a></a> (pid<a></a>=1742) __get_backend<a></a> /usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/utils.py:658<a></a><br>
2012-09-29 02:57:30 WARNING nova.db.sqlalchemy.session<a></a> [req<a></a>-7fafe814<a></a>-a2ba<a></a>-4862-84b5<a></a>-e3eddaf838c8<a></a> None None<a></a>] SQL connection failed. 10 attempts left.<div class="im"><br>
Binary           Host                                 Zone             Status     State Updated_At<a></a><br></div>
nova-scheduler   sonoma<a></a>                               nova             enabled    XXX   2012-09-29 09:54:09  <br>
<a href="mailto:root@sonoma" target="_blank">root@sonoma</a><a></a>:~# service  mysql<a></a> restart<br>
mysql<a></a> stop/waiting<br>
mysql<a></a> start/running, process 2372<br>
<a href="mailto:root@sonoma" target="_blank">root@sonoma</a><a></a>:~<br>
<a href="mailto:root@sonoma" target="_blank">root@sonoma</a><a></a>:~# nova-manage service list<br>
2012-09-29 02:58:47 DEBUG nova.utils<a></a> [req-ad295ee2-ac50-41a0-bb75-636dbc8882c3<a></a> None None<a></a>] backend <module 'nova.db.sqlalchemy.api<a></a>' from '/usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/db/sqlalc<a></a><br>


rom<a></a> (pid<a></a>=2505) __get_backend<a></a> /usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/utils.py:658<div class="im"><a></a><br>
Binary           Host                                 Zone             Status     State Updated_At<a></a><br></div>
nova-scheduler   sonoma<a></a>                               nova             enabled    XXX   2012-09-29 09:54:09<br>
nova-consoleauth<a></a> sonoma<a></a>                               nova             enabled    :-)   2012-09-29 09:58:44<br>
<a href="mailto:root@sonoma" target="_blank">root@sonoma</a><a></a>:~# service nova-scheduler restart<br>
stop: Unknown instance:<br>
nova-scheduler start/running, process 2521<br>
<a href="mailto:root@sonoma" target="_blank">root@sonoma</a><a></a>:~# nova-manage service list<br>
2012-09-29 02:59:22 DEBUG nova.utils<a></a> [req-e88c4d94-fc28-4bab-b49d-fc99601f75ce<a></a> None None<a></a>] backend <module 'nova.db.sqlalchemy.api<a></a>' from '/usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/db/sqlalc<a></a><br>


rom<a></a> (pid<a></a>=2538) __get_backend<a></a> /usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/utils.py:658<div class="im"><a></a><br>
Binary           Host                                 Zone             Status     State Updated_At<a></a><br></div>
nova-scheduler   sonoma<a></a>                               nova             enabled    :-)   2012-09-29 09:59:18<br>
nova-consoleauth<a></a> sonoma<a></a>                               nova             enabled    :-)   2012-09-29 09:59:14<br>
<a href="mailto:root@sonoma" target="_blank">root@sonoma</a><a></a>:~# service nova-api<a></a> start<br>
start: Job is already running: nova-api<a></a><br>
<a href="mailto:root@sonoma" target="_blank">root@sonoma</a><a></a>:~# nova-manage service list<br>
2012-09-29 02:59:42 DEBUG nova.utils<a></a> [req-fc7d7908-75bd-4b8e-ae5b-6edc72df1ec3<a></a> None None<a></a>] backend <module 'nova.db.sqlalchemy.api<a></a>' from '/usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/db/sqlalc<a></a><br>


rom<a></a> (pid<a></a>=2547) __get_backend<a></a> /usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/utils.py:658<div class="im"><a></a><br>
Binary           Host                                 Zone             Status     State Updated_At<a></a><br></div>
nova-scheduler   sonoma<a></a>                               nova             enabled    :-)   2012-09-29 09:59:38<br>
nova-consoleauth<a></a> sonoma<a></a>                               nova             enabled    :-)   2012-09-29 09:59:35</div>
<div><a></a><a href="mailto:root@sonoma:/etc" target="_blank">root@sonoma</a><a href="mailto:root@sonoma:/etc" target="_blank">:/etc</a># service  nova-network start<br>
nova-network start/running, process 3550<br>
<a href="mailto:root@sonoma:/etc" target="_blank">root@sonoma</a><a></a><a href="mailto:root@sonoma:/etc" target="_blank">:/etc</a>#<br>
<a href="mailto:root@sonoma:/etc" target="_blank">root@sonoma</a><a></a><a href="mailto:root@sonoma:/etc" target="_blank">:/etc</a># nova-manage service list<br>
2012-09-29 03:45:03 DEBUG nova.utils<a></a> [req-fa150ddb-1c24-4bca-8b4f-351130abf76b<a></a> None None<a></a>] backend <module 'nova.db.sqlalchemy.api<a></a>' from '/usr<a></a>/lib/pyt<a></a><br>
rom<a></a> (pid<a></a>=3576) __get_backend<a></a> /usr<a></a>/lib/python2.7<a></a>/dist-packages/nova/utils.py:658<div class="im"><a></a><br>
Binary           Host                                 Zone             Status     State Updated_At<a></a><br></div>
nova-scheduler   sonoma<a></a>                               nova             enabled    :-)   2012-09-29 10:44:57<br>
nova-consoleauth<a></a> sonoma<a></a>                               nova             enabled    :-)   2012-09-29 10:45:02<br>
<a href="mailto:root@sonoma:/etc" target="_blank">root@sonoma</a><a></a><a href="mailto:root@sonoma:/etc" target="_blank">:/etc</a>#</div>
<div><font face="tahoma"></font> </div>
<div><font face="tahoma"></font> </div>
<div>Thank you,</div>
<div><font face="tahoma">Ahmed.</font></div>
<div><font face="tahoma"></font> </div>
<div style="DIRECTION:ltr">
<hr>
<font color="#000000" face="Tahoma"><b>From:</b> Trinath Somanchi [<a href="mailto:trinath.somanchi@gmail.com" target="_blank">trinath.somanchi@gmail.com</a>]<br>
<b>Sent:</b> Friday, September 28, 2012 5:50 PM<br>
<b>To:</b> Ahmed Al-Mehdi<br>
<b>Subject:</b> Re: [Openstack] "nova-manage service list" does not list all nova services<br>
</font><br>
</div>
<div></div>
<div>
<p>Hi-<br>
</p>
<p>Can u reboot the pc and then restart the services. Try to list after this...</p>
<p>-<br>
Trinath</p>
<div class="gmail_quote"><div><div class="h5">On Sep 28, 2012 11:15 PM, "Ahmed Al-Mehdi" <<a href="mailto:ahmed@coraid.com" target="_blank">ahmed@coraid.com</a>> wrote:<br type="attribution">
</div></div><blockquote style="BORDER-LEFT:#ccc 1px solid;MARGIN:0px 0px 0px 0.8ex;PADDING-LEFT:1ex" class="gmail_quote"><div><div class="h5">
<div style="FONT-FAMILY:Calibri,sans-serif;WORD-WRAP:break-word;FONT-SIZE:14px">
<div>
<div>Hello,</div>
<div><br>
</div>
<div>I am following the steps in the document - "OpenStack Install and Deploy Manual – Ubuntu" for Essex to setup an OpenStack environment.  When I get to the section, "Verifying the Compute Installation", I not getting a full listing of all the services.  
 Per the doc, I did stop and start all the nova services - nova–compute/cert/volume/scheduler/network/consoleauth.  </div>
<div><br>
</div>
<div><br>
</div>
<div>
<div><b>root@sonoma:/etc/nova# nova-manage service list</b></div>
<div><b>2012-09-28 09:46:54 DEBUG nova.utils [req-69779921-0c25-43ab-b506-78abafc7e83b None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=5833) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658</b></div>


<div><b>Binary           Host                                 Zone             Status     State Updated_At</b></div>
<div><b>nova-scheduler   sonoma                               nova             enabled    :-)   2012-09-28 16:46:46</b></div>
<div><b>root@sonoma:/etc/nova#</b></div>
</div>
<div><br>
</div>
<div>I am assuming I can safely ignore the above DEBUG message.</div>
<div><br>
</div>
<div>For one of the services, nova-api, after I issued "stop nova-api;  start nova-api;", I see a boatload of INFO/DEBUG messages in /var/log/nova/nova-api.log.  I am posting some of the last few messages.</div>


<div><br>
</div>
<div><b>2012-09-28 09:56:48 DEBUG nova.utils [-] ['sudo', 'iptables-save', '-t', 'filter'] failed. Retrying. from (pid=6236) execute /usr/lib/python2.7/dist-packages/nova/utils.py:248</b></div>


<div>
<div><b>2012-09-28 09:56:49 DEBUG nova.utils [-] Running cmd (subprocess): sudo iptables-save -t filter from (pid=6236) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219</b></div>
<div><b>2012-09-28 09:56:49 DEBUG nova.utils [-] Result was 1 from (pid=6236) execute /usr/lib/python2.7/dist-packages/nova/utils.py:235</b></div>
<div><b>2012-09-28 09:56:49 DEBUG nova.utils [-] ['sudo', 'iptables-save', '-t', 'filter'] failed. Retrying. from (pid=6236) execute /usr/lib/python2.7/dist-packages/nova/utils.py:248</b></div>


<div><b>2012-09-28 09:56:51 DEBUG nova.utils [-] Running cmd (subprocess): sudo iptables-save -t filter from (pid=6236) execute /usr/lib/python2.7/dist-packages/nova/utils.py:219</b></div>
<div><b>2012-09-28 09:56:51 DEBUG nova.utils [-] Result was 1 from (pid=6236) execute /usr/lib/python2.7/dist-packages/nova/utils.py:235</b></div>
</div>
<div><br>
</div>
<div>What bothers is the message "Resule was 1", does not indicate an an error?</div>
<div><br>
</div>
<div>Can someone please help me or give me some pointers as to what specific log message or other log files I should look at.  I am very sure I followed the steps unto that point.</div>
<div><br>
</div>
<div>Thank you,</div>
<div>Ahmed.</div>
</div>
<div><br>
</div>
</div>
<br></div></div>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" 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/%7Eopenstack" 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>
</div>
</div>
</div>
</div>
</div>

<br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/%7Eopenstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/%7Eopenstack" 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><br clear="all"><br>-- <br><font face="Arial, Helvetica, sans-serif"><b>guilherme</b> \n<br>\tab <b>maluf</b><br></font><br>