Ask Your Question

Nova-compute does not show up in service list

asked 2016-09-20 22:08:59 -0600

steinm88299 gravatar image

Trying to install Mitaka. Controller node installation went fine. Trying to install compute node on a separate host. When I run 'openstack compute service list' the compute node does not show up. Only the consoleauth, scheduler, and conductor running on the controller are listed. Checked /var/log/nova/nova-compute.log. The RabbitMQ connectivity issues stopped being generated. Am able to ping the controller by name from the compute node and vice versa. Kind of stuck at this point. Host files are populated AND DNS is also configured so I don't think this is name resolution.

edit retag flag offensive close merge delete

4 answers

Sort by ยป oldest newest most voted

answered 2016-09-21 03:06:40 -0600

hkominos gravatar image

This is 99% because there is some connectivity issue between the Message queue and the compute node.

If you are using RabbitMQ there is a mananagement-plugin that you can install and I think it might help. You can view Which services are connected to a message queue . I suggest install and check if The message queue sees the compute node.

Then we can troubleshot in other places.

edit flag offensive delete link more


Thanks for the tip. So I did a 'rabbitmqctl list_connections' and do not see a connection from my nova host ( I am able to telnet from to the controller ( on 5672. I am also able to ping by name and IP. What can I do next as the Nova logs show nothing wrong.

steinm88299 gravatar imagesteinm88299 ( 2016-09-21 13:38:38 -0600 )edit

So I moved the RabbitMQ stuff to the [default] section from [oslo_messaging]. Now I see in a 'rabbitmqctl list_connections" but still no Nova in the 'openstack compute service list'. The RabbitmQ log file on the controller shows "connection_closed_abruptly" from Nova to controller

steinm88299 gravatar imagesteinm88299 ( 2016-09-21 13:57:22 -0600 )edit

I assume xx.0.30 is your compute node and xx.0.20 is your controller where your message queue is also hosted? Please confirm if your other components are installed . 1)OVS (or linux bridge agent) 2)paste your nova.conf somewhere 3)Tell us more about your environment. Is it FUEL?

hkominos gravatar imagehkominos ( 2016-09-23 02:51:36 -0600 )edit

answered 2016-09-21 07:33:36 -0600

Sudhin gravatar image


I also had this same issue and i fixed it.

Go to /etc/nova/nova.conf and change my_ip to your management ip. Then change the ownership of nova.conf file to nova nova

edit flag offensive delete link more


The my_ip was already hardcoded to the Management IP. Ownership was also correct. Thanks for trying to help though. :-)

steinm88299 gravatar imagesteinm88299 ( 2016-09-21 13:30:13 -0600 )edit

answered 2019-05-02 23:54:17 -0600

updated 2019-05-07 03:28:14 -0600

This is because you might have missed to create the databases for nova_cell0.

mysql -u root -p

MariaDB [(none)]> CREATE DATABASE nova_cell0;

MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova_cell0.* TO 'nova'@'localhost' \ IDENTIFIED BY 'NOVA_DBPASS';

MariaDB [(none)]> GRANT ALL PRIVILEGES ON nova_cell0.* TO 'nova'@'%' \ IDENTIFIED BY 'NOVA_DBPASS';

su -s /bin/sh -c "nova-manage cell_v2 map_cell0" nova

su -s /bin/sh -c "nova-manage cell_v2 create_cell --name=cell1 --verbose" nova

su -s /bin/sh -c "nova-manage db sync" nova

nova-manage cell_v2 list_cells

Then restart compute services. then try the command:

openstack compute service list

this solution also holds good when OpenStack compute service list is empty or nova hypervisor list is empty.

and also in compute node , in /etc/nova/nova.conf file make sure you have done following configuration.


transport_url = rabbit://openstack:RABBIT_PASS@controller

enabled_apis = osapi_compute,metadata

even on controller node's /etc/nova/nova.conf

[DEFAULT] transport_url = rabbit://openstack:RABBIT_PASS@controller

then restart services.

edit flag offensive delete link more

answered 2019-05-09 09:39:05 -0600

Patrick MAMIA gravatar image


I faced the same issue, if it can help, take a look here (Cannot see new compute node in nova service-list - Resolved)

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-09-20 22:08:59 -0600

Seen: 2,490 times

Last updated: May 07 '19