Removed sqlite from docs
Change-Id: I002606a43eae507c9f0b44db83a7d8994cad2cb5 Closes-Bug: #1357062
This commit is contained in:
parent
822c2f053f
commit
00af8bfc1a
@ -12,22 +12,14 @@ based on the basic sample, as most probably changing parameters listed here
|
|||||||
will be enough.
|
will be enough.
|
||||||
|
|
||||||
First, edit ``connection`` parameter in the ``[database]`` section. The URL
|
First, edit ``connection`` parameter in the ``[database]`` section. The URL
|
||||||
provided here should point to an empty database. In case of SQLite, if the
|
provided here should point to an empty database. For instance, connection
|
||||||
database file does not exist, it will be automatically created
|
string for mysql database will be:
|
||||||
by ``sahara-db-manage``. For instance, the following URL should work in
|
|
||||||
most environments:
|
|
||||||
|
|
||||||
.. sourcecode:: cfg
|
.. sourcecode:: cfg
|
||||||
|
|
||||||
connection=sqlite:////tmp/sahara.db
|
connection=mysql://username:password@host:port/database
|
||||||
..
|
..
|
||||||
|
|
||||||
Note that we recommend using MySQL or PostgreSQL backends for setups
|
|
||||||
other than experimental. This is especially important if you plan to
|
|
||||||
migrate later to a newer version of Sahara. With SQLite you will
|
|
||||||
either have to start from scratch or migrate your DB to MySQL or
|
|
||||||
PostgreSQL, which might be non-trivial.
|
|
||||||
|
|
||||||
Switch to the ``[keystone_authtoken]`` section. The ``auth_uri`` parameter
|
Switch to the ``[keystone_authtoken]`` section. The ``auth_uri`` parameter
|
||||||
should point to the public Identity API endpoint. ``identity_uri`` should
|
should point to the public Identity API endpoint. ``identity_uri`` should
|
||||||
point to the admin Identity API endpoint. For example:
|
point to the admin Identity API endpoint. For example:
|
||||||
|
@ -28,9 +28,12 @@ old config opts with the new ones.
|
|||||||
* ``os_admin_tenant_name`` -> ``[keystone_authtoken]/admin_tenant_name``
|
* ``os_admin_tenant_name`` -> ``[keystone_authtoken]/admin_tenant_name``
|
||||||
|
|
||||||
We've replaced oslo code from sahara.openstack.common.db by usage of oslo.db
|
We've replaced oslo code from sahara.openstack.common.db by usage of oslo.db
|
||||||
library. Default sqlite db name was changed as follows.
|
library.
|
||||||
|
|
||||||
* ``sahara.sqlite`` -> ``oslo.sqlite``
|
Also sqlite database is not supported anymore. Please use MySQL or PostgreSQL
|
||||||
|
db backends for Sahara. Sqlite support was dropped because it doesn't support
|
||||||
|
(and not going to support, see http://www.sqlite.org/omitted.html) ALTER
|
||||||
|
COLUMN and DROP COLUMN commands required for DB migrations between versions.
|
||||||
|
|
||||||
You can find more info about config file options in sahara repository in file
|
You can find more info about config file options in Sahara repository in file
|
||||||
``etc/sahara/sahara.conf.sample``.
|
``etc/sahara/sahara.conf.sample``.
|
||||||
|
@ -27,7 +27,7 @@ interface.
|
|||||||
`sqlalchemy` is the only supported backend right now.
|
`sqlalchemy` is the only supported backend right now.
|
||||||
|
|
||||||
:sql_connection: string specifying the sqlalchemy connection to use, like:
|
:sql_connection: string specifying the sqlalchemy connection to use, like:
|
||||||
`sqlite:///var/lib/sahara/sahara.sqlite`.
|
`mysql://user:password@localhost/sahara`.
|
||||||
|
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user