7d1a6bde03
Add further openSUSE instructions Change-Id: Id51704fd1e6099f273ca2b980ec8facd816c6785
47 lines
2.3 KiB
XML
47 lines
2.3 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<section xml:id="compute-db-sync"
|
|
xmlns="http://docbook.org/ns/docbook"
|
|
xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
xmlns:xlink="http://www.w3.org/1999/xlink" version="5.0">
|
|
<title>Configuring the Database for Compute</title>
|
|
<para>Create the tables in your backend data store by running
|
|
the following command:</para>
|
|
<screen os="ubuntu"><prompt>$</prompt> <userinput>sudo nova-manage db sync</userinput></screen>
|
|
<screen os="rhel;fedora;centos;opensuse"><prompt>#</prompt> <userinput>nova-manage db sync</userinput></screen>
|
|
<para>If you see any response, you can look in
|
|
<filename>/var/log/nova/nova-manage.log</filename> to see the problem. No
|
|
response means the command completed correctly and your
|
|
nova database is now populated.</para>
|
|
<note><title>Deprecation warnings</title>
|
|
<para>Note that if while running this command you see warnings
|
|
such as <literal>SADeprecationWarning: The 'listeners' argument to
|
|
Pool (and create_engine()) is deprecated. Use
|
|
event.listen().</literal>, these will be fixed in future version
|
|
of the libraries and can be safely ignored.</para>
|
|
</note>
|
|
|
|
<para>Restart all services in total, just to cover the entire spectrum. On the controller node
|
|
run:</para>
|
|
<para>
|
|
<screen os="ubuntu">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 </screen>
|
|
</para>
|
|
<screen os="rhel;fedora;centos;opensuse"><prompt>#</prompt> <userinput>for svc in api objectstore conductor network volume scheduler cert; do sudo service openstack-nova-$svc start; done</userinput></screen>
|
|
<para>On the compute node run:</para>
|
|
<para>
|
|
<screen os="ubuntu">sudo start nova-compute
|
|
sudo start nova-network</screen>
|
|
</para>
|
|
<screen os="rhel;fedora;centos;opensuse"><prompt>#</prompt> <userinput>for svc in compute network; do sudo service openstack-nova-$svc start; done</userinput></screen>
|
|
<para>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
|
|
<filename>/var/log/nova</filename> to look for clues.
|
|
</para>
|
|
</section>
|