Configuring the Database for Compute
Create the tables in your backend data store by running
the following command:
$ sudo nova-manage db sync
# nova-manage db sync
If you see any response, you can look in
/var/log/nova/nova-manage.log to see the problem. No
response means the command completed correctly and your
nova database is now populated.
Deprecation warnings
Note that if while running this command you see warnings
such as SADeprecationWarning: The 'listeners' argument to
Pool (and create_engine()) is deprecated. Use
event.listen()., these will be fixed in future version
of the libraries and can be safely ignored.
Restart all services in total, just to cover the entire spectrum. On the controller node
run:
sudo start nova-api
sudo start nova-conductor
sudo start nova-network
sudo start nova-scheduler
sudo start nova-novncproxy
sudo start libvirt-bin
sudo /etc/init.d/rabbitmq-server restart
# for svc in api objectstore conductor network volume scheduler cert; do sudo service openstack-nova-$svc start; done
On the compute node run:
sudo start nova-compute
sudo start nova-network
# for svc in compute network; do sudo service openstack-nova-$svc start; done
All nova services are now installed and started. If the
"start" command doesn't work, your services may not be
running correctly (or not at all). Review the logs in
/var/log/nova to look for clues.