Services in compute node do not start automatically

asked 2014-09-15 06:38:10 -0600

chgri gravatar image

Hi all,

I have been trying to set up a two node openstack architecture with nova-network.

My problem is that the services in the compute node do not start automatically and that is the reason why several errors raise (e.g. http 500 when i try to make the initial network)

The fact is that when i manually run in the compute node the commands: "#nova-network&" and "nova-compute" everything works as expected. I even start instances and they can ping one another.

How to make services start automatically? May it be the database that causes these problems? (fyi i have dropped and recreated the tables and the problem remains)

Thank you in advance,

Chris

edit retag flag offensive close merge delete

Comments

Are you installing things manually, or using packages? If manually, have you created the necessary startup scripts? If using packages, have you enabled the services using the mechanism appropriate to your distribution?

larsks gravatar imagelarsks ( 2014-09-15 08:06:30 -0600 )edit

I follow the OpenStack Installation Guide for Ubuntu 14.04. I think nova-network and nova-compute should be starting by default without me triggering them (just like rest services) I can write a script that runs at boot time and starts the services. But is it really necessary?

chgri gravatar imagechgri ( 2014-09-15 08:46:31 -0600 )edit

nova-* processes are implemented as services. You have to explicitly run chkconfig to get them started at boot time. If you did that, check for error messages at system startup.

Bernd Bausch gravatar imageBernd Bausch ( 2014-09-19 21:51:12 -0600 )edit