doc/source/step_by_step.rst: add item to setup quantum db

The step to create quantum db was missing.

Signed-off-by: Isaku Yamahata <yamahata@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
This commit is contained in:
Isaku Yamahata 2012-05-01 13:57:40 +09:00 committed by FUJITA Tomonori
parent fc02e997a6
commit 3cf1b23b0e

View File

@ -61,6 +61,27 @@ The more openstack way is possible, though.
$ sudo nova-manage db sync
#. setup quantum data base
Use mysql command to connect mysql server::
$ mysql -u <admin user name> -p
Then create the quantum db and allow the agents to access it::
mysql> CREATE DATABASE ovs_quantum;
mysql> GRANT USAGE ON *.* to <user name>@'yourremotehost' IDENTIFIED BY 'newpassword';
mysql> FLUSH PRIVILEGES;
Where the database name, ovs_quantum, the user name, <user name>, and
its password, newpassword, are the one defined in the ryu plugin
configuration file, ryu.ini.
If you are using multiple compute nodes, the GRANT sentence needs to
be repeated. Or wildcard, %, can be used like::
mysql> GRANT USAGE ON *.* to <user name>@'%' IDENTIFIED BY 'newpassword';
#. Make sure all nova, quantum, ryu and other openstack components are
installed and running