[Openstack] Command to find out list of compute nodes

Narayanan, Krishnaprasad narayana at uni-mainz.de
Fri Nov 16 10:21:36 UTC 2012


Hi Ahmed,

Could you check whether the log files are present in the folder /var/log/nova/nova-compute.log on the compute node? Can you also confirm regarding the status of all the necessary daemons related to nova and other components deployed on the cloud controller node?

Thanks
Krishnaprasad Narayanan

-----Original Message-----
From: Ahmed Al-Mehdi [mailto:ahmed at coraid.com] 
Sent: Freitag, 16. November 2012 05:29
To: Narayanan, Krishnaprasad
Cc: openstack at lists.launchpad.net
Subject: Re: Command to find out list of compute nodes

Hi Narayanan,

Awesome, thank you.  There reason I was not seeing the "nova-compute"
listed is because it did not launch on the compute node.  I did a manual start of "nova-compute" on the compute node, and I do see it listed on the control-node but with "XXX" State.

root at bodega:~/ahmed/new_guide# nova-manage  service list

Binary 		Host 	Zone             Status 	State	Updated_At
nova-network 	bodega 	nova             enabled 	:-) 	2012-11-15 23:49:28
nova-scheduler 	bodega 	nova             enabled 	:-) 	2012-11-15 23:49:28
nova-compute 	sonoma 	nova             enabled	XXX 	2012-11-15 23:46:46
<= compute-node

What I don't understand is even though nova-compute is listed on the control-node, the service is not running on the compute node.  That does not seem right.

root at sonoma:~# service nova-compute status nova-compute stop/waiting root at sonoma:~# date;  service nova-compute start Thu Nov 15 15:48:08 PST 2012 nova-compute start/running, process 2785 root at sonoma:~# service nova-compute status nova-compute stop/waiting root at sonoma:~# ps aux | grep nova
root      2810  0.0  0.0   9384   924 pts/0    S+   15:49   0:00 grep
--color=auto nova
root at sonoma:~# service  nova-compute status nova-compute stop/waiting root at sonoma:~# 

There are no log entries in the log files on compute-node or control-node.
 Any ideas please?


Thank you,
Ahmed.





On 11/15/12 3:29 PM, "Narayanan, Krishnaprasad" <narayana at uni-mainz.de>
wrote:

>Hi Ahmed,
>
>You can use the command "nova-manage service list" from the command 
>line of control node to get the list of compute nodes along with the 
>nova-compute service status.
>
>Thanks
>Krishnaprasad Narayanan
>________________________________
>From: openstack-bounces+narayana=uni-mainz.de at lists.launchpad.net
>[openstack-bounces+narayana=uni-mainz.de at lists.launchpad.net] on behalf 
>of Ahmed Al-Mehdi [ahmed at coraid.com]
>Sent: Friday, November 16, 2012 12:19 AM
>To: openstack at lists.launchpad.net
>Subject: [Openstack] Command to find out list of compute nodes
>
>Hello,
>
>Is there a command I can issue on the control node to find out the list 
>of compute node(s) (nodes running nova-compute), and potentially any 
>additional info about the compute node(s)?
>
>Thank you,
>Ahmed.
>





More information about the Openstack mailing list