Hi Trinath,

Thank you for your suggestion.  Even though I am leery of "reboot pc and try 
again" approach, I did give it a try.

After reboot (prior to starting any services, not even mysql), I am seeing more 
odd behavior.
 - 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?
        root@sonoma<mailto:root@sonoma:/etc>:/etc<mailto:root@sonoma:/etc># who 
-r
                run-level 2 2012-09-29 02:57
        root@sonoma<mailto:root@sonoma:/etc>:/etc<mailto:root@sonoma:/etc># ls 
-l /etc/rc2.d/*nova*
                 ls: cannot access /etc/rc2.d/*nova*: No such file or directory
 - After starting mysql,  nova-scheduler is still listed with a XXX, but now 
nova-consoleauth (which I did not start) is listed with a :), and no other 
nova-services are not listed.
 - After I start nova-scheduler, I see a :) for it.
 - I started nova-api, and nova-network, but I don't see them listed.


root@sonoma<mailto:root@sonoma>:~# nova-manage service list
2012-09-29 02:57:30 DEBUG nova.utils [req-7fafe814-a2ba-4862-84b5-e3eddaf838c8 
None None] backend <module 'nova.db.sqlalchemy.api' from 
'/usr/lib/python2.7/dist-packages/nova/db/sqlalc
rom (pid=1742) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
2012-09-29 02:57:30 WARNING nova.db.sqlalchemy.session 
[req-7fafe814-a2ba-4862-84b5-e3eddaf838c8 None None] SQL connection failed. 10 
attempts left.
Binary           Host                                 Zone             Status   
  State Updated_At
nova-scheduler   sonoma                               nova             enabled  
  XXX   2012-09-29 09:54:09
root@sonoma<mailto:root@sonoma>:~# service  mysql restart
mysql stop/waiting
mysql start/running, process 2372
root@sonoma<mailto:root@sonoma>:~
root@sonoma<mailto:root@sonoma>:~# nova-manage service list
2012-09-29 02:58:47 DEBUG nova.utils [req-ad295ee2-ac50-41a0-bb75-636dbc8882c3 
None None] backend <module 'nova.db.sqlalchemy.api' from 
'/usr/lib/python2.7/dist-packages/nova/db/sqlalc
rom (pid=2505) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
Binary           Host                                 Zone             Status   
  State Updated_At
nova-scheduler   sonoma                               nova             enabled  
  XXX   2012-09-29 09:54:09
nova-consoleauth sonoma                               nova             enabled  
  :-)   2012-09-29 09:58:44
root@sonoma<mailto:root@sonoma>:~# service nova-scheduler restart
stop: Unknown instance:
nova-scheduler start/running, process 2521
root@sonoma<mailto:root@sonoma>:~# nova-manage service list
2012-09-29 02:59:22 DEBUG nova.utils [req-e88c4d94-fc28-4bab-b49d-fc99601f75ce 
None None] backend <module 'nova.db.sqlalchemy.api' from 
'/usr/lib/python2.7/dist-packages/nova/db/sqlalc
rom (pid=2538) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
Binary           Host                                 Zone             Status   
  State Updated_At
nova-scheduler   sonoma                               nova             enabled  
  :-)   2012-09-29 09:59:18
nova-consoleauth sonoma                               nova             enabled  
  :-)   2012-09-29 09:59:14
root@sonoma<mailto:root@sonoma>:~# service nova-api start
start: Job is already running: nova-api
root@sonoma<mailto:root@sonoma>:~# nova-manage service list
2012-09-29 02:59:42 DEBUG nova.utils [req-fc7d7908-75bd-4b8e-ae5b-6edc72df1ec3 
None None] backend <module 'nova.db.sqlalchemy.api' from 
'/usr/lib/python2.7/dist-packages/nova/db/sqlalc
rom (pid=2547) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
Binary           Host                                 Zone             Status   
  State Updated_At
nova-scheduler   sonoma                               nova             enabled  
  :-)   2012-09-29 09:59:38
nova-consoleauth sonoma                               nova             enabled  
  :-)   2012-09-29 09:59:35
root@sonoma<mailto:root@sonoma:/etc>:/etc<mailto:root@sonoma:/etc># service  
nova-network start
nova-network start/running, process 3550
root@sonoma<mailto:root@sonoma:/etc>:/etc<mailto:root@sonoma:/etc>#
root@sonoma<mailto:root@sonoma:/etc>:/etc<mailto:root@sonoma:/etc># nova-manage 
service list
2012-09-29 03:45:03 DEBUG nova.utils [req-fa150ddb-1c24-4bca-8b4f-351130abf76b 
None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/pyt
rom (pid=3576) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
Binary           Host                                 Zone             Status   
  State Updated_At
nova-scheduler   sonoma                               nova             enabled  
  :-)   2012-09-29 10:44:57
nova-consoleauth sonoma                               nova             enabled  
  :-)   2012-09-29 10:45:02
root@sonoma<mailto:root@sonoma:/etc>:/etc<mailto:root@sonoma:/etc>#


Thank you,
Ahmed.

________________________________
From: Trinath Somanchi [[email protected]]
Sent: Friday, September 28, 2012 5:50 PM
To: Ahmed Al-Mehdi
Subject: Re: [Openstack] "nova-manage service list" does not list all nova 
services


Hi-

Can u reboot the pc and then restart the services. Try to list after this...

-
Trinath

On Sep 28, 2012 11:15 PM, "Ahmed Al-Mehdi" 
<[email protected]<mailto:[email protected]>> wrote:
Hello,

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.


root@sonoma:/etc/nova# nova-manage service list
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
Binary           Host                                 Zone             Status   
  State Updated_At
nova-scheduler   sonoma                               nova             enabled  
  :-)   2012-09-28 16:46:46
root@sonoma:/etc/nova#

I am assuming I can safely ignore the above DEBUG message.

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.

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
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
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
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
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
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

What bothers is the message "Resule was 1", does not indicate an an error?

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.

Thank you,
Ahmed.


_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : 
[email protected]<mailto:[email protected]>
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

_______________________________________________
Mailing list: https://launchpad.net/~openstack
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openstack
More help   : https://help.launchpad.net/ListHelp

Reply via email to